Base64 to Image
Paste a Base64 string or a full data URL and get your image back: an instant preview, the detected real format (read from the bytes, not guessed from a name), and a download in that format.
Drop your image(s) here, or click to browse
You can also paste from the clipboard (Ctrl+V). Files never leave your device.
Tip: you can also drop a .txt file containing Base64 text into the box above and it will be pasted into the field for you.
How to use
- Paste your Base64 or data URL into the box.
- Press Decode and check the preview and detected format.
- Download the image.
Frequently asked questions
My Base64 has no data: prefix - will it work?
Yes. Raw Base64 works too; the tool reads the first bytes of the decoded data to detect whether it is PNG, JPG, GIF, WebP, SVG or another format.
Why did decoding fail?
Base64 text is often damaged by line wrapping, missing padding, or being copied through a chat app that ate characters. The tool reports invalid text plainly instead of producing a broken file.
Can it decode an SVG?
Yes - if the decoded text is SVG markup, it is detected and offered back as an .svg download with a live preview.