iShowPDF

Base64 to PNG

Base64 to PNG turns encoded image data into a .png file.

What Base64 to PNG does

Base64 to PNG turns encoded image data into a .png file. It is useful when a logo, chart or screenshot reaches you as Base64 and the place you need to put it only accepts PNG.

If the data is already a PNG, it is saved as it is. If it is a JPG, GIF, WebP, BMP or another picture your browser can open, the tool redraws it and saves a new PNG at the same width and height, keeping any transparent areas. Data that is not a picture at all, such as a PDF, is refused with a message explaining why.

How to use Base64 to PNG

  1. Paste the data

    Add the Base64 string or a data:image link.

  2. Press Decode

    The picture is rebuilt, and converted to PNG if it was another format.

  3. Check the details

    The result shows image/png, the new file size and a preview.

  4. Download decoded.png

    Save the file, or open the preview first to look closely.

Questions about Base64 to PNG

Can I turn a Base64 JPG into a PNG?

Yes. Paste the JPG's Base64 and the tool saves it as a PNG with the same dimensions. The file is often larger, because PNG does not compress photos the way JPG does.

What about animated GIFs?

Only the first frame is kept, because the PNG made here is a still picture.

Why is my data rejected?

The decoded bytes did not look like a picture. Check that you copied the whole string, or try Base64 to file to learn what it really is.

Related tools