Convert Base64 to PNG
For when the payload is a PNG and you want a .png you can open, without the tool second-guessing the extension.
Any format accepted: prefixed, raw, wrapped, URL-encoded, URL-safe, or broken.
Your image appears here
Paste on the left — no button to press. Everything stays in your browser.
When you need this
- You need to drop the decoded image back into a design tool that only accepts PNG.
- You are verifying that a screenshot pipeline still emits PNG after a refactor.
- You want a file on disk whose extension matches its actual contents.
Why other Base64 converters fail here
Some tools always save as .png regardless of the real format, so a JPEG payload ends up as a PNG-named file that half your applications refuse to open.
Others ignore the requested format entirely and hand you a .bin download, leaving you to work out the extension.
Almost none verify that the PNG is structurally intact — a truncated PNG still has a valid header and gets saved without complaint.
Frequently asked questions
The tool says PNG but the file will not open in my editor.
A valid PNG header does not guarantee a valid PNG. If the byte count is far below what the image dimensions imply, the payload was truncated somewhere upstream. The diagnostics panel reports the decoded size and shows the leading bytes so you can confirm the file starts with 89 50 4E 47.
Does forcing PNG convert a JPEG into a PNG?
No, and no browser-side tool can do that reliably. Forcing the format only controls how the bytes are interpreted and what extension the download gets. To actually change format you need to re-encode through a canvas, which loses quality and is a different operation entirely.
Why is the downloaded PNG sometimes larger than the Base64 I pasted?
It should not be — decoding shrinks the data by about 25%. If it grows, you are probably looking at the Data URI string length rather than the binary size. Base64 adds roughly 33% on top of the original bytes, and the result panel breaks both numbers out so the comparison is unambiguous.
Can I get a transparent-background PNG out of this?
Transparency is preserved exactly, because the decoder does not touch the pixel data at all. The checkerboard pattern behind the preview is there precisely so you can tell a transparent region from a white one.