Base64 to Image Converter

Free Base64 to image converter — paste a Base64 string or data URI to preview and download the original PNG, JPEG, GIF, WebP or SVG, entirely in your browser.

Learn more: Base64 & Data Encoding ExplainedHow Base64, Base32/58/62, Hex, Octal and Punycode differ, when to use each, and why encoding is not encryption.

Runs entirely in your browser — nothing you enter is uploaded or stored.

Ask about this tool on

Turn a Base64 string back into an image

Paste a Base64 data URI or a raw Base64 string and this tool rebuilds the picture so you can preview and download it. It is the reverse of the Image to Base64 tool — useful when you find an inlined image in CSS, JSON or an API response and need the actual file.

If your string has no data: prefix, choose the matching image type from the dropdown. Decoding and preview run entirely in your browser via a data URI — nothing is uploaded, and the Download button saves the file straight from memory.

Frequently asked questions

What input does this accept?

Paste either a full data URI (data:image/png;base64,iVBORw0…) or just the raw Base64 string. If you paste raw Base64 without a prefix, pick the correct image type from the dropdown so the browser can render and download it.

How do I save the decoded image?

Once the preview appears, click Download. The file is rebuilt from the Base64 in your browser and saved locally — nothing is sent anywhere.

Why does my image not preview?

The most common causes are a truncated Base64 string, extra whitespace or line breaks, or the wrong image type selected for a raw (prefix-less) string. Make sure you copied the entire string and choose the matching format.

Is my data uploaded?

No — decoding and preview happen entirely in your browser. Your Base64 never leaves your device, which you can confirm in the Network tab or our Content-Security-Policy.

Related tools