Base64 to image
Decode a Base64 data URL back into an image file.
BASE64 → IMAGE
Sent to server: 0 B
Requests made by this tool while processing · how to verify
- Requests that could carry data
- 0
- Engine downloads (code, models)
- 0
- Analytics pings (no file data)
- 0
Counted with the browser's Performance API during the last job. It sees every request the page makes, but not what is inside them, so anything that is not a static download is counted above.
To check yourself: open DevTools → Network, clear the list, run the tool, and inspect each request. None will contain your file. You can also switch to offline after the page loads; tools whose engine is already downloaded keep working.
Paste an image data URL to decode.
Turn a Base64 data URL back into an image file
When you find an image embedded in HTML, CSS, JSON or an API response, Base64 to Image decodes it into a normal file you can view and save.
- Saving an inline image from a web page's source.
- Checking what an image field in an API response contains.
- Recovering an embedded icon from a stylesheet.
- Turning a data URL copied from browser developer tools into a real file.
Paste the full data URL
Input must start with data:image/png;base64, (or jpeg, webp, gif, svg+xml and so on) followed by the data. The file type comes from that prefix.
- Raw Base64 without the prefix? Add data:image/png;base64, in front, using the right type.
Malformed data is rejected
Truncated or corrupted strings, often from copying only part of a long line, can't be decoded. Line breaks and spaces inside the data are ignored. The decoded file is exactly what the data contains; if it's a tiny placeholder, that's what you'll get.
Base64 to image: questions
Why do I get an error when decoding?
The input must be a complete data URL starting with data:image/…;base64,. Missing prefixes or truncated text are the usual causes.
I only have the raw Base64 string. What do I do?
Add the prefix in front, for example data:image/png;base64, using the correct image type.
What file type will I get?
The type named in the data URL, such as PNG, JPG, WebP, GIF or SVG.
Do spaces and line breaks matter?
No. Whitespace inside the Base64 data is ignored.