SVG to Base64
Get a data URI for any SVG.
What is the SVG to Base64 used for?
Use it to convert SVG into Base64 and data URIs.
When to use it
- Inline icons in CSS and HTML
- Email templates
- Web performance
About this tool
Convert SVG to Base64 and data URIs for CSS and HTML – optimised URL-encoded and Base64 versions with size comparison. Everything runs inside your browser, so it is fast, works on phones and computers, and nothing you do here is uploaded to a server.
Any permissions the tool needs – such as your microphone or camera – are only used while the page is open, and you can revoke them at any time from your browser’s address bar.
Frequently asked questions
Do I need to install anything?
No. It works in any modern browser on Windows, Mac, Linux, Android and iPhone – just open the page.
Is my data uploaded?
No. The tool runs locally in your browser. Recordings, files and settings stay on your device.
Is it free?
Yes – completely free, with no sign-up and no limits.