Paste Base64 text or a data URI to see the image and save it.
A data URI suits small images such as icons and logos. A large image loads faster as its own file.
Runs in your browser. Nothing is uploaded.
Base64 to Image is a free online tool that turns Base64 text back into an image you can see and save. Paste a data URI, plain Base64, or a whole <img> tag or CSS line, and it finds the image, works out its type from its bytes and shows its size. Save it as it is, or as a PNG, JPEG or WebP. It runs in your browser, so nothing is uploaded.
Paste Base64 text or a data URI into the box, open a text file that holds it, or try the sample.
The image appears as soon as the text is read, with its type, its size in pixels and its file size.
Save the image as it is, or as a PNG, JPEG or WebP, or copy it and paste it somewhere else.
Text that starts with data:image/png;base64, or another image type, on its own or inside an <img> tag, a CSS url() or JSON.
With or without line breaks and the = at the end, in the usual alphabet or the URL-safe one with - and _.
An SVG data URI that is not Base64 at all, written as text or percent-encoded, as stylesheets often have it.
If the text is not Base64, the first wrong character is named. If it is not an image, you are told, and can still save it as a file.
| Takes | Base64, a data URI, or an <img> tag, CSS or JSON with one in it |
|---|---|
| Finds | PNG, JPEG, GIF, WebP, SVG, ICO, BMP, AVIF, HEIC, TIFF, JPEG XL |
| Shows | The image, its type, its size in pixels and its file size |
| Saves as | As it is, or PNG, JPEG or WebP |
| Price | Free, with no sign-up |
| Where it runs | In your browser; nothing is uploaded |
Updated December 2, 2026
Paste the Base64 text or the data URI into the box. The image appears beside it; press Save Image to download it.
The type its bytes show. Every image file starts with a few bytes that say what it is, so a PNG labeled image/jpeg in its data URI is still saved as a PNG. You can also save it as a PNG, JPEG or WebP.
Base64 uses only letters, digits, + and / (or - and _), with = at the end. The message names the first other character it found; often a part of the text is missing, or something else was copied with it. Copy it again, all of it.
Yes. The data URI is found inside an <img> tag, a CSS url(), JSON (even with its slashes written as \/) or any other text, so you can paste it as you copied it.
The text was read, but its bytes are not an image this tool knows: it may be cut off, or another kind of file, such as a PDF. You can still save it as a file.
Some browsers cannot show HEIC, TIFF or JPEG XL images. The image is still found, and you can save it as it is and open it in an app that shows that type.
Saved as it is, yes: it is the same file, byte for byte. Saved as a PNG, JPEG or WebP, the image is drawn again in that type, and a JPEG gets white where the image was see-through.
Yes. Press Image to Base64 at the top of the tool, or open the Image to Base64 page, and upload your image.
No. The conversion happens in your browser, both ways, and your images and text never leave your device.
Yes. It is free, with no sign-up and no limit on how many images you convert.