Instant Preview
The image appears the moment you paste, so you can check it before saving.
Paste a Base64 string or data URI, see the image right away, and download it. The format is detected for you. Free, no signup, nothing uploaded.
Paste a data URI or a raw Base64 string into the box, or load it from a text file. You can even paste a CSS or HTML snippet that contains one.
The image is decoded right away and shown, along with its type, dimensions, and file size.
Click Download Image to save it with the correct file extension for its format.
Base64 is a way to store an image as plain text so it can sit inside HTML, CSS, JSON, or an API response. That is useful while coding, but at some point you need the real file back, to open it, edit it, or save it somewhere. This tool does that decode for you.
Paste a full data URI or just the raw Base64, and the image shows up right away. You do not have to know the format. The tool reads the data URI header, or checks the first bytes of the data, to figure out whether it is a PNG, JPG, GIF, WebP, BMP, or SVG. It even pulls the Base64 out of a CSS or HTML snippet if that is what you have.
Once it is decoded you see the type, dimensions, and size, then download the file with the right extension. It all runs in your browser, so the data never leaves your device.
The image appears the moment you paste, so you can check it before saving.
Works with a full data URI or a raw string, and figures out PNG, JPG, GIF, WebP, BMP, or SVG for you.
Paste a CSS background, an HTML img tag, or plain text and it finds the Base64 inside.
Downloads the image with the right extension based on the detected format.
See the image type, dimensions, and file size at a glance.
The string is decoded on your device. Nothing is uploaded, logged, or stored.
More Image tools you might find useful.
Common questions about decoding Base64 images.