Base64 to Image Converter
Decode Base64 strings back into viewable, downloadable images.
Loading tool…
About this tool
Base64 to Image Converter reverses the encoding process: paste a Base64 string (with or without the data:image/... prefix) and it decodes back into the original image, ready to preview and download as PNG.
It is handy for extracting images embedded in code, API responses, or JSON payloads. Decoding is done locally in your browser — the pasted data never leaves your device.
How to use
- Paste your Base64 string into the text area (data URI prefix optional).
- The decoded image appears in the preview automatically.
- Click download to save it as a PNG file.
Frequently asked questions
No. The tool accepts a bare Base64 string and also detects the prefix if present, using it to identify the image type.
PNG, which safely preserves the decoded pixels regardless of the original format.
The string is probably truncated, contains stray whitespace, or is not valid Base64. Check that you copied the entire string.
No. Decoding happens 100% in your browser.