Base64 to Image
Paste Base64 text or a full data URL. If it holds a PNG, JPG, WebP, GIF or BMP image, you see it and can download it as a file.
Free, no sign-up. Your image is processed in your browser and never uploaded.
Your image
Paste Base64 text to see the image.
How to
Decode Base64 in three steps
Paste the text
Paste a full data URL such as data:image/png;base64,… or just the Base64 part.
Check the preview
If the text is a valid image you see it straight away, with its size and detected type.
Download the file
Press the download button to save the image as a PNG, JPG, WebP, GIF or BMP file.
If decoding fails
- Make sure you copied the whole string. A missing end makes the data unreadable.
- Remove anything that is not part of the Base64, such as quotes or a trailing semicolon from CSS.
- The tool detects the real type from the data, so a wrong label in the text does not matter.
- Base64 of a PDF, text or SVG is refused, because only common picture formats are supported.
FAQ
Base64 to image questions
What formats can it decode?
PNG, JPG, WebP, GIF and BMP. The type is read from the decoded bytes, not from the label in the text.
Is my Base64 sent anywhere?
Nothing is uploaded: the page makes no network request with your image. Decoding happens in your browser.
Can I paste a data URL with line breaks?
Yes. Spaces and line breaks are ignored, and URL-safe Base64 and missing padding are accepted too.
Why does it say the data is not a valid image?
The text decodes, but the result is cut off or damaged, or it is not a picture. Check that you copied the whole string.
Why is SVG refused?
SVG files can contain scripts, so for safety only common raster picture formats are decoded.
How big can the text be?
About 6 million characters, which is roughly 4.5 MB of image data.