iShowPDF

Base64 to image

Base64 to image shows you the picture hidden inside a Base64 string or a data:image link.

What Base64 to image does

Base64 to image shows you the picture hidden inside a Base64 string or a data:image link. Web developers meet these strings in CSS, HTML, email templates and API replies, and it is hard to tell what they contain just by looking at the text.

The tool reads the first bytes to find the real format, so it recognises PNG, JPG, GIF, WebP, BMP and SVG even when the data: label says something else. The picture keeps its original format and nothing is re-compressed. You see the file type and size, a preview for most formats, and a download button.

How to use Base64 to image

  1. Paste the string

    Put the Base64, or the whole link starting with data:image, into the box.

  2. Decode it

    Press Decode to rebuild the picture.

  3. Check the preview

    Look at the picture, its format and its size below the box.

  4. Download

    Save it with the right file extension for its format.

Questions about Base64 to image

How do I see the picture behind a data:image link?

Paste the full link, including the data:image part, and press Decode. The picture appears straight away.

Which image formats can it detect?

PNG, JPG, GIF, WebP, BMP and SVG. If the data is not a picture at all, you get a clear message rather than a broken file.

Does it change the quality of my image?

No. The bytes are saved exactly as they were encoded. If you need one particular format, use Base64 to PNG or Base64 to JPG instead.

Related tools