Base64 to Image
Decode a Base64 string or data URI back into an image file. Free, no sign-up, your data stays on your device.
🔒 100% private — processing happens in your browser. Nothing is uploaded.
How to convert Base64 to an image
- Paste the Base64 string or the full data URI (data:image/png;base64,…).
- Press “Decode” to see the picture.
- Press “Download” to save it as a file.
Where Base64 images come from
Images are sometimes embedded as Base64 text in HTML, CSS, JSON from an API, emails or databases. Decoding turns the text back into a normal PNG, JPG, GIF, WebP or SVG file you can open and edit.
Decoding happens in your browser, so private data is not sent anywhere.
Questions and answers
Do I need the “data:image…” part?
No, a plain Base64 string works too; the type is detected from the data.
Why do I get an error?
The string may be cut off or contain spaces or line breaks from copying.
How do I do the opposite?
Use our File to Base64 tool.
Is it free?
Yes, no sign-up.