Quick answer: To turn Base64 into an image, paste the string (with or without the data:image prefix). The tool decodes it, detects the format from the file signature, shows a preview and lets you download the image.
What you can paste
- A full data URI such as
data:image/png;base64,iVBOR…. - Plain Base64 with no prefix. The format is detected automatically.
- Base64 with line breaks or URL-safe characters (- and _).
If it does not work
- Check that nothing was cut off at the start or end.
- Make sure it is image data. Base64 of text or a PDF is not an image.
Your files stay private. This tool runs entirely in your browser. Nothing you choose or type is uploaded to a server. See our privacy policy.
Frequently asked questions
Which image formats are detected?
PNG, JPG, GIF, WebP, BMP, ICO and SVG.
Do I need the data:image prefix?
No. Plain Base64 works because the format is read from the file header.
Is the data sent anywhere?
No. Decoding happens in your browser.
Why do I see an invalid Base64 message?
The text contains characters Base64 does not allow, or part of it is missing.