Base64 to Image

Decode Base64 encoded string and download as image file.



Base64 to Image Decoder

Paste a Base64 string or data URI to decode it back to an image file

Image decoded successfully
Decoded image
Supported input formats: Full data URI like data:image/png;base64,..., or raw Base64 string only. The decoder will auto-detect the image type from the data URI, or default to PNG for raw strings.

Base64 to Image decodes a Base64 text string back into a real image file you can view and download. If you have a long Base64 code from HTML, CSS, or an API, this tool turns it into a picture.

How to convert Base64 to an image

  1. Paste your Base64 string into the box.
  2. Start the decoding.
  3. Preview the image to confirm it is right.
  4. Download the image file.

When this helps

Developers often find images stored as Base64 inside code or data. Reading that string by eye is impossible. This tool rebuilds the picture so you can see it, save it, and use it like any normal file.

Quick check

Make sure you copy the full string, including the part after the comma if there is a data prefix. Once decoded, you can save the image as PNG or JPG and drop it into your project.