How do you convert Base64 back to a PNG?
Paste your encoded string into the box above and click Decode. The tool accepts both a full data URI (starting data:image/png;base64,) and a bare Base64 string — it strips any prefix automatically, rebuilds the image, and offers it for download.
When would you need to decode Base64 to PNG?
You often hit Base64 image data when copying it out of a CSS file, an HTML page, a JSON API response, or a database field. Decoding it back to a real PNG lets you view, edit, or save the image as a normal file instead of an unreadable block of text.
What if the Base64 doesn't decode?
The string has to be valid Base64 image data. If you only copied part of it, included stray characters, or the data wasn't an image to begin with, decoding will fail — copy the complete string and try again. Whitespace and line breaks are fine; the tool ignores them.
Is this tool free and private?
Yes. It's completely free with no signup, and decoding happens entirely on your device — nothing is uploaded.
Frequently asked questions
- Does it accept a full data URI?
- Yes. You can paste either the full data:image/png;base64,… URI or just the raw Base64 — the tool handles both.
- Can it decode Base64 that's actually a JPG or WebP?
- It outputs a PNG container. If the underlying bytes are a different format the image may still display, but for a faithful copy decode it to its original type.
- Is there a size limit?
- No. Decoding runs in your browser, so you can paste large strings without an upload or cap.
- Do you upload the data?
- No. Everything is decoded locally in your browser — nothing is uploaded, stored, or seen by us.