Base64 to Image Converter

Decode Base64 text back into an image file.

Loading tool...

How to use Base64 to Image Converter

  1. Paste the Base64 string or data URL.
  2. Check the preview.
  3. Download the image.

About this tool

The decoder accepts a full data URL (data:image/png;base64,...) or just the Base64 characters. The file type is detected from the decoded bytes, so it does not matter if the declared type is wrong. URL-safe Base64 using - and _ is also accepted.

If the text is not an image, an error explains what went wrong.

Frequently Asked Questions

Why does the preview fail?
The text may be truncated, contain extra characters, or not be an image at all.
Which formats are detected?
PNG, JPEG, GIF, WEBP, BMP and SVG.

Related tools