What does this tool do?
This tool takes svg input, and converts it to base64 for use in Data URLs.
It also adds the xmlns='http://www.w3.org/2000/svg' attribute if it is missing.
When to use this tool
Base64 is more appropriate for use with binary image data like jpeg or png. For text based format like svg it is better to use URL encoding.
Only use this tool if the output of SVG to CSS converter doesn't fit your requirements.