About Base64 to Image

Base64 to Image turns Base64 text back into a picture. Paste a data URI or raw Base64, see a preview, check its type, dimensions and size, and download the file.

When a pasted string has no data: prefix, the image type is recognised from its first bytes. Invalid Base64 and text that is not an image get a clear message instead of a broken preview. To go the other way, use Image to Base64.

Your data never leaves your device: the work happens in your browser, with no upload and no account. It is free and adds no watermark.

How to convert Base64 to an image

  1. Paste a data URI or raw Base64 into the box.
  2. Check the preview and the detected type and size.
  3. Download the image.

Frequently asked questions

How do I turn Base64 into an image?

Paste the Base64 text or the whole data URI into the box. The image appears as a preview straight away, and Download Image saves it as a file.

Do I need the data: prefix?

No. Raw Base64 works too, and the image type is detected from its first bytes.

Why does it say the Base64 is not valid?

Base64 only uses letters, digits, plus, slash and equals signs. Extra characters, a stray equals sign or a cut-off string will fail, and the message says which.

Which image types are detected?

PNG, JPG, WebP, GIF, BMP, ICO, AVIF and SVG.

Is my data uploaded?

No. Decoding runs in your browser and nothing leaves your device.