Base64 to Image
Paste a Base64 string or data URI to see the image and save it as a file. The true file type is worked out for you, and nothing leaves your browser.
Converted on your device. Nothing is uploaded.
Decoding Base64 back into an image
- 1
Paste the Base64 text or full data URI into the box above.
- 2
Check the preview, file type and dimensions.
- 3
Press Download to save the image with the correct extension.
What makes this Base64 to Image converter handy
True type detection
The type is read from the decoded bytes rather than the label, so mislabelled data URIs still save correctly.
Accepts messy input
Data URIs, raw Base64, URL-safe Base64, line breaks and missing padding are all fine.
Instant preview
See the picture and its dimensions before you download.
Private
Decoding happens entirely in your browser – safer for images and tokens copied from logs or APIs.
What people use the Base64 to Image converter for
See images from APIs
Find out what a Base64 string in a JSON response actually is.
Recover embedded pictures
Pull images out of HTML emails, CSS and data URIs.
Debug data URIs
Check the true file type and size of encoded images.
Save to a file
Download the decoded image in its original format.
Also searched for as: Base64 to image converter, Base64 image decoder, data URI to image, Base64 to PNG and Base64 to JPG.
Related searches
- convert base64 string to image
- decode base64 to png
- view base64 image online
- data uri to image file
- base64 to jpg download
- decode base64 to image online free
Quick data conversions in the browser
Switch between CSV, JSON and YAML, or turn images into Base64, without installing anything. Everything is processed in your browser, so exports, customer data and API keys stay on your machine rather than going to someone else's server.
Questions & answers
How do I turn a Base64 string into an image?
Paste it in above. If it's a valid image, the preview appears immediately and you can download it with the right extension.
Does it need the data:image/… prefix?
No – full data URIs and bare Base64 both work. Without a prefix, the type is detected from the content.
What if the Base64 isn't an image?
You can still download the decoded file. PDFs are recognised automatically; anything else downloads as a .bin file.
Do my files get uploaded anywhere?
Never. The work is done by JavaScript running in your own browser, on your own device. Nothing is sent to a server or kept anywhere, which makes it safe for personal photos and sensitive data – and it carries on working even on a patchy connection.