Base64 to Image Decoder
Paste a Base64 string and see the decoded image instantly. Accepts raw Base64 or a full data URI — with or without the data:image/...;base64, prefix. Detects PNG, JPEG, GIF, WebP, BMP, SVG, ICO and AVIF from the data URI or the file's magic bytes. Download with the right extension.
How to use
Paste the Base64 string
Paste raw Base64 or a full data URI — with or without the data:image/...;base64, prefix.
Preview the image
The decoded image appears instantly along with the detected format.
Download the image
Click Download to save the image as a file — the extension is chosen automatically.
Features
Auto-format detection
Recognises PNG, JPEG, GIF, WebP, BMP, SVG, ICO and AVIF from the data URI or magic bytes.
Accepts raw Base64 or data URI
Both formats work — whitespace and line breaks are stripped automatically.
Instant preview
See the decoded image as soon as you paste the string.
One-click download
Save the image as a file with the correct extension.
Common use cases
- Inspect a Base64-encoded image from an API response
- Decode an image embedded in an email or JSON payload
- Convert a data URI to a regular image file
- Verify a Base64 image before embedding it in HTML