Base64 to Image
Decode a Base64 string or data URL back into an image you can preview and download.
Developer embed decoder
Inspect encoded image data before saving
Paste a full data URL or common raw Base64 payload, verify its format, dimensions and decoded size, then choose a filename.
Bare Base64 input is identified from common PNG, JPG, WebP, GIF and SVG signatures. Include the full data URL when the format is unusual or ambiguous. Animated images remain animated when their original encoded bytes are downloaded.
About the Base64 to Image
The reverse of encoding an image to Base64: paste a Base64 string or a full data URL and this tool turns it back into a viewable, downloadable image.
It recognizes common PNG, JPG, WebP, GIF and SVG signatures in bare Base64, while a complete data URL remains the most reliable way to declare unusual formats.
Preview the decoded image, verify MIME type, dimensions and byte size, choose a safe filename, then download the original decoded bytes.
Decoding happens in your browser, so nothing you paste is uploaded.
Key features
- Accepts a Base64 string or a full data URL
- Preview with MIME type, dimensions and decoded size
- Custom sanitized download filename
- Signature detection for common bare Base64 formats
- Rejects non-image data URLs
- Private, in-browser processing
How to use
- 1Paste your Base64 string or data URL.
- 2Check the preview, detected type, dimensions and decoded size.
- 3Choose a safe filename and confirm the detected format matches the image you expected.
- 4Enter a filename and download the original decoded image bytes.
Examples
data:image/png;base64,...PNG preview and downloadable imageThe MIME type in the data URL determines the decoded image format.
Frequently asked questions
- Do I need the data URL prefix?
- Not for common PNG, JPG, WebP, GIF or SVG payloads, which can be recognized by signature. Include the full data URL for unusual or ambiguous formats.
- Why does my string not decode?
- It may be truncated or not actually image data. Make sure you copied the whole Base64 value and that it represents an image.
- Does decoding change image quality?
- No. Download uses the decoded original bytes rather than re-encoding through Canvas. The preview does not alter the saved image.
- Is my data uploaded?
- No. Decoding happens entirely in your browser.
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
- Image ToolsImage to Base64 / Data URI
Convert an image into a Base64 data URL you can embed inline.
Open tool - Featured toolDeveloper ToolsBase64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text.
Open tool - Image ToolsImage Converter
Convert an image between PNG, JPG and WebP formats and download the result.
Open tool
