Base64 to Image
Paste a Base64 string or data URI and save it as a real image file.
Decode Base64 to an image
Click or drop a text file containing Base64
Type: —
Dimensions: —
Decoded size: —
How to use the Base64 to Image
- Paste a data URI or a plain Base64 string into the text box.
- The image is decoded automatically and shown in the preview.
- Pick an output format and click Download image to save the file.
Features
- Accepts full data URIs and plain Base64 strings
- Automatic PNG, JPEG, GIF, WebP and BMP detection
- Live preview with dimensions and decoded size
- Optional re-encoding to PNG, JPEG or WebP
Advertisement
Frequently Asked Questions
Common questions about the free online base64 to image.
Paste the Base64 text or the full data URI into the box and click Convert. The decoded image
appears in the preview and can be downloaded.
A data URI is a text string that starts with data: followed by the media type and the Base64
payload. Browsers treat it exactly like an image address.
No. A plain Base64 string works too, and the tool detects the image type from the first bytes
of the file.
No. The text is decoded in your browser and is never uploaded anywhere.
PNG, JPEG, GIF, WebP, BMP and SVG are detected automatically, and the result can also be
re-encoded as PNG, JPEG or WebP.
The usual causes are missing padding, line breaks inside the string, or characters that were
copied incorrectly.
Strings of a few megabytes work, but very large ones can make the browser slow, so keep the
image reasonably small.
Yes. Pick PNG, JPEG or WebP in the output selector and the image is redrawn on a canvas
before the download starts.
JPEG has no transparency, so transparent parts become black. Choose PNG if you need to keep
the alpha channel.
Yes, the converter is free with no sign-up and no limits.
Last updated: October 10, 2026