Base64 to Image
Decode a base64 data URI or plain base64 string back into an image file.
How to use this tool
- Paste the data URI or base64 text.
- If it's raw base64, choose the output format.
- Download the reconstructed file.
How it works
The base64 is decoded to bytes, wrapped in a Blob with the correct MIME type, and downloaded as a file.
Tips
- Full data URIs carry the type inside — no format guessing needed.
- Watch for stray whitespace: extra line breaks can break decoding.
Limitations
Malformed or truncated base64 strings will fail to decode correctly.
Frequently asked questions
Does it accept plain base64?
Yes — paste either a full data URI or raw base64; if the MIME type is absent you pick the format to save.
Where does decoding run?
Locally — the string is decoded in your browser and the file is created for download.
What formats come out?
Whatever the data URI says (PNG/JPG/WebP/BMP/GIF), or the format you select for raw base64.