How to decode Base64 back into an image
The tool takes a data URL or a raw Base64 payload, decodes it to bytes in the browser, wraps them in a Blob with the right MIME type, and gives you a preview plus a download. Nothing is uploaded.
If it will not decode, check the alphabet before anything else. A base64url string from a JWT or a URL parameter uses - and _ where standard Base64 uses + and /, and the decoder will reject it.
- Paste the data URL or the raw Base64 payload (line breaks and spaces are fine).
- If there is no data URL prefix, choose the fallback format: PNG, JPG, WebP, GIF, or BMP.
- Decode and look at the preview to confirm it is the image you expected.
- Download the rebuilt file.
- If it fails, check for base64url characters or a truncated tail.