Free · No upload · Runs in your browser

Base64 to Image Converter

Paste a Base64 string or full data URI to preview the image instantly and download it as a PNG, JPG or GIF file.

100% client-side. Nothing is uploaded — decoding happens in your browser.

Base64 to image, explained

A Base64 image string is just text that encodes an image's binary data. This decoder reverses the process: paste the string and the browser reconstructs the original picture, which you can preview and save back to a real file. It's the counterpart to the image to Base64 encoder.

What you can paste

  • A full data URIdata:image/png;base64,iVBOR.... This is the most reliable form because it names the exact format.
  • A bare Base64 body — just the long string with no data: header. The decoder assumes PNG, which works for the majority of strings.

Common uses

  • Inspect a data URI you found in CSS, HTML or an API response.
  • Recover an image that was stored as a Base64 string in a database or config file.
  • Sanity-check the output of an encoder before shipping it.

Private by design

Decoding uses the browser's native image handling — the string is turned into an image element locally and never sent anywhere. Safe for confidential assets.

Frequently asked questions

How do I convert a Base64 string back to an image?

Paste the Base64 string or full data URI into the box and click Decode to image. The image renders instantly and you can download it. A bare Base64 body with no data: prefix is assumed to be PNG.

Do I need the data:image prefix?

Not necessarily. A full data URI like data:image/png;base64,iVBOR... always works and carries the exact format. With only the raw body, the decoder tries it as a PNG, which works for most strings.

Is the decoder private?

Yes. Decoding happens entirely in your browser. Nothing is uploaded, so your data stays on your device.