Base64 to PNG
Paste a Base64 string and download it as a PNG — free, instant, nothing uploaded
Paste Base64 or Data URL
A PNG File, Not Just a Preview
You paste a string, see the image, and then discover the tool only shows it. No download, or a download that saves the wrong format. Getting from Base64 to PNG should be one click, and here it is.
If the string is already a PNG, we save the original bytes untouched. If it is a JPEG or WebP, we convert it. Either way the file lands in your downloads folder with the right extension.
How to Decode Base64 to PNG
- Paste the string. With or without the
data:header. - Click Decode to Image. The preview appears with its dimensions.
- Read the green bar. It names the source format it detected.
- Click Save PNG. Conversion only runs if the source was not already PNG.
That third step is worth a glance. Knowing whether a conversion is about to happen tells you whether your metadata and bit depth are about to change.
When a Base64 PNG Converter Changes Your File
Two different things can happen on Save, and the difference matters more than most tools admit.
Source is already PNG. We hand you the exact bytes that were encoded. Bit depth, colour profile, text chunks, and any 8-bit palette all survive.
Source is something else. The image is drawn onto a canvas and exported as PNG. That rebuild is where things get lost: EXIF metadata goes, the ICC colour profile goes, and the output is always 32-bit RGBA regardless of what went in.
Neither is wrong — they solve different problems. But if you were counting on the camera data surviving, the conversion path will disappoint you.
Converting a JPEG String to PNG Will Not Restore Quality
This is the myth we correct most often. PNG is lossless, so people assume converting to it repairs a compressed image. It does not.
JPEG threw detail away when the file was first saved. Those pixels are gone. PNG then stores the damaged result perfectly, artefacts and all — and charges you a much larger file for the privilege.
For a photograph, staying with JPEG is almost always the better call. Our Base64 to JPG decoder keeps the file small.
Choose PNG when you need transparency, a screenshot with crisp text, or a format that every tool on earth can open.
Limits Worth Knowing Before You Convert
- Canvas size caps. Browsers stop at roughly 16,384 pixels per side, and iOS Safari is stricter still.
- SVG needs dimensions. Without width and height, the canvas has no size to draw into.
- Animation is lost. A GIF or animated WebP converts to a single still frame.
- Bit depth is fixed. Output is always 32-bit, even from an 8-bit source.
Every one of these disappears if you skip the conversion. Use the general Base64 image decoder to download the file in its original format instead.
Encoding in the Other Direction
Need to produce a string rather than read one? The PNG to Base64 encoder reads your file byte for byte, so transparency and metadata come through intact.
For mixed formats, the image to Base64 converter takes anything your browser can open and shows the size penalty for each.
Frequently Asked Questions
Can I turn a Base64 JPEG into a PNG file here?
+
Will converting to PNG improve the image quality?
+
Does saving as PNG give me a transparent background?
+
Why is my converted PNG so much larger than the JPEG was?
+
Does the conversion strip EXIF metadata?
+
What happens to an embedded ICC colour profile?
+
Is the output PNG 8-bit or 32-bit?
+
My Base64 SVG will not convert to PNG. What is wrong?
+
Is there a maximum image size for conversion?
+
Can I decode without converting, to keep the file identical?
+
The Short Version
Paste, decode, save. Going from Base64 to PNG takes seconds, and the original bytes survive whenever the source was already a PNG.
Just do not expect the conversion to repair a compressed photo. It preserves what is there — it does not bring anything back.
Related Tools You Might Like
YAML Creator & Validator
Create, validate, and generate YAML files with predefined templates for deployment configurations
JWT Decoder
Decode and inspect JSON Web Tokens — view header, payload, and expiration
Markdown Editor
Write and preview Markdown with live rendering, toolbar, and export options
IP Lookup
Look up IP address geolocation, ISP, timezone, and network details
Caesar Cipher & ROT13 Decoder
Classical ciphers and encodings: Caesar, ROT13, XOR, Base64, hex, Morse
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes for text and files
