SiliconInter Tools small tools, instant answers

Converters · Encoding

SVG to Base64 converter

You need an SVG inline in a stylesheet or a URL field, but not as a separate file. Paste the SVG source and this tool returns both a plain Base64 string and a ready data URI. Conversion happens with the browser's built-in encoder — your markup never leaves the page.

  • Free · no account
  • Local · nothing uploaded
  • Instant · no server

What it gives you

A Base64 string or a data URI ready to paste.

Example

Input<svg ...>...</svg>
Outputdata:image/svg+xml;base64,PHN2Zy...