Svg To Data Uri Online. Choose the source of image from the Datatype field. Free online image to Data URI converter.
Likewise in CSSbg background. Data-URI embedded images should be stored in cacheable files such as flat not dynamic HTML and style sheets. Nonetheless think carefully before using a data URI font on the web.
SVG URIs also achieve better gzip compression than their data URI equivalents.
If encode SVG using encodeURIComponent it will work everywhere. There are no ads popups or nonsense just an awesome Data URL to image decoder. You drop the entire SVG syntax in there where you see the start there. This data can then be used in your CSS files which saves the browser from having to make additional HTTP requests for the external resources and can therefore increase page loading speed.