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
How to use the SVG to Base64
- Click the drop area above or drag your file onto it – the file is opened on your device, not uploaded.
- Choose the output format and options you want.
- Press the main button to process the file and wait a moment while your browser does the work.
- Download the result. Your original file is never changed.
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.
Report an issue
Something wrong with the SVG to Base64? Tell us and we’ll fix it.