Base64 to Image
Decode a Base64 string back into an image file. Free, private, and it works right in your browser.
- No upload
- Instant
- Free, no sign-up
Helpful tips
- Copy the whole string; one missing character can break it.
- You can paste a CSS url() value and it gets cleaned up.
- The file type comes from the data, not the data URI label.
How to use Base64 to Image
- 1Set the detailsFill in the options in the settings panel. The preview updates as you type.
- 2Choose your settingsAdjust the paste base64 or a data uri.
- 3Click “Decode image”Your file is created on your device in seconds. Download it, or send the result to another tool.
About Base64 to Image
Paste a Base64 string and get the actual image file back. Developers use it to check what’s hiding in an API response, pull an embedded logo out of an old HTML email, recover a screenshot stored in a database field, or confirm that a data URI in a stylesheet is the icon they think it is. You can paste the full data URI or just the encoded part.
The tool cleans up line breaks and URL-safe characters, then checks the decoded bytes to work out the real format. It recognizes JPG, PNG, WebP, GIF, SVG, AVIF, BMP, ICO and TIFF, and names the download to match. If the string is cut off or isn’t an image, you’ll get a clear message rather than a broken file. Decoding happens locally, so private data stays private.
- Works with
- Nothing to upload
- Processing
- On your device
- Price
- Free
- Account
- Not needed
You might also need
Base64 to Image: common questions
How do I convert a Base64 string to an image?
Paste the string into the box and click decode. The image is shown and downloads in its real format.
Do I need the data:image prefix?
No. A full data URI and a plain Base64 string both work, since the format is detected from the decoded bytes.
Why does it say my Base64 isn’t a valid image?
The text is probably incomplete or contains something other than an image, like a PDF or JSON. Check that you copied the entire string.
Is Base64 to Image free to use?
Yes. Base64 to Image is free, with no account, no watermark and no daily limit.
Are my images uploaded to a server?
No. Everything happens inside your browser on your own device, so your images are never uploaded, stored or seen by anyone else.
Does it work on my phone?
Yes. It works in current versions of Safari, Chrome, Edge and Firefox on iPhone, Android, Windows, Mac and Linux. Very large batches are quicker on a computer.