Decoder

Base64 to PNG converter

Paste Base64 or a data URI and save it as a PNG file, whatever format it was encoded from. Free, in your browser.

Encoding and decoding happen on your device. Only the optional AI extras upload an image, and it is deleted after 24 hours.

0 characters

Runs in your browser. Nothing is uploaded.

PNG out, whatever went in

If the string holds a JPG, WebP, GIF or SVG, it is drawn in your browser and saved as a lossless PNG.

Keeps transparency

A PNG or WebP with an alpha channel stays transparent in the saved PNG.

Fixes common copy mistakes

Line breaks, missing padding, URL-safe characters and wrappers such as url() are handled before decoding.

Private by design

The string never leaves your device. Close the tab and it's gone.

FAQ

Base64 to PNG questions

How do I convert Base64 to PNG?

Paste the string above and press Save as PNG.

My Base64 is a JPEG. Can I still get a PNG?

Yes. The image is redrawn as PNG in your browser. The PNG may be larger than the JPEG, because PNG is lossless.

Does the PNG keep transparency?

Yes, when the source has it. A JPEG has no transparency, so its PNG won't either.

Why does the saved image look wrong or cut off?

The string was probably cut short when copied. The decoder warns when image data seems to end early.

Is anything uploaded?

No. Decoding and conversion run in your browser.

Last updated: