Base64 to SVG converter
Decode Base64 or a data URI back into readable SVG code.
Input
You can also drop a file onto the field.
Result
Preview
The preview appears here.
Everything happens in your browser. Your data never leaves your device.
What is it?
Embedded SVGs are hard to read as Base64. This converter decodes the string, checks that it really is an SVG and shows you the code and a preview.
How it works
Paste raw Base64, a data URI or a whole CSS line. Copy the SVG code or download it as a file.
FAQ
- Do I need the data:image/svg+xml prefix?
- No. Raw Base64 and complete data URIs both work, line breaks and spaces are ignored.
- Why do I get an error?
- Either the string is not valid Base64 or the decoded content is not an SVG. For PNG, JPG and other images, use the Base64 to image converter.
- Is my data sent anywhere?
- No. Decoding happens locally in your browser.