Svg Url Encode Online. The advantage of the format is that it defined in XML text files. Base64 image encoder decoder.
If encode SVG using encodeURIComponent it will work everywhere. That gives us the URL encoded value. Made by mathias fork this on GitHub.
This functionality also referred to as XML File validator.
It validates SOAP WSDL POM RSS SVG SGML RDF files. We can use SVG in CSS via data URI but without encoding it works only in Webkit based browsers. Create your own image var img documentcreateElementimg. If you get the text out of an SVG file into a string called svg say and run the string through the above function to get svg_enc say then the following data URL should work.