EncodingAdded
Base64 to Image Decoder
Paste a Base64 string or a data URI and get the picture back. Handy when an API returns an image inside JSON, or when a config file stores a logo as text.
Decode Base64 to an image
205 / 232Result
WaitingRun the tool and the result appears here. Copy it or download it — nothing leaves this tab.
Privacy
The Base64 string is processed by JavaScript in this tab. Nothing is uploaded, logged or stored on a server, so the file never leaves your device.
How to use it
Paste the string. A full data URI keeps its MIME type; a raw string is assumed to be a PNG.
Press “Decode image” and check the preview.
Download the rebuilt file, or copy the text if you only need the type.
When to use it
API responses
Some JSON APIs inline small images as Base64 instead of returning a URL.
Debugging mail templates
Check what a Base64 logo in an HTML email actually looks like.
Config files
Turn an inline favicon or icon string back into a file you can edit.
Questions
What is the difference between a data URI and raw Base64?
A data URI starts with data:image/png;base64, and carries the file type. Raw Base64 is only the payload, so the browser has to guess — the tool assumes PNG.
Why does it say the Base64 is invalid?
Usually a line was truncated, or spaces and line breaks from a copy-paste broke it. The decoder ignores whitespace but needs the padding characters at the end.
Can I decode a whole JSON file?
Not directly. Copy the value of the field that holds the string — quotes included are fine, the tool strips them.