What it is
The Base64 to Image Decoder does the opposite of encoding: you paste a base64 string and it gives you back the picture as a real file you can view and save.
It is the tool you reach for when you find an image buried inside code and need to see what it actually is: a data: URI in a stylesheet, a field in a JSON payload, an attachment inside a raw email, or a response from an API that returns pictures as text.
How to use it
- Paste the base64 string into the box. A full
data:image/png;base64,...URI works, and so does the bare string on its own. - See the preview appear immediately.
- Download the file, which is saved with the right extension for whatever the data turned out to be.
What can go wrong
Three problems account for almost every failed decode.
The string was cut short. Base64 copied out of a terminal or a log is often truncated. If the preview is blank or only the top of the image renders, the string is incomplete.
Line breaks got in the way. Some sources wrap base64 every 76 characters. The decoder here ignores whitespace, so this usually just works, but a string that was reformatted by hand can lose characters along the way.
It was never an image. Base64 can carry any file at all: a PDF, a font, a zip. If the decode succeeds but nothing renders, the data probably is not a picture.
Where the data goes
Nowhere. The decoding happens in your browser, so whatever you paste stays on your device. That matters here more than in most tools, because base64 blobs from logs and API responses often carry things you would rather not hand to a stranger.
To go the other way, use the image to base64 converter.