Image Base64 Decode
Decode Base64 strings into image files
The image format is detected from the data
Paste a Base64 string to see the image here
- Format
- —
- Size
- —
- Dimensions
- —
What is Image Base64 Decode?
Image Base64 Decode turns Base64-encoded image data back into a previewable image. Paste a Base64 string or data URL from HTML, CSS, JSON, or an API response, and the tool detects the image format and shows the result. Use it to check an embedded image or save it as a file.
How to Use
- Paste a Base64 string or data URL into the input field.
- Check the image in the preview.
- Download the image if needed.
Line breaks and spaces in the string are accepted.
Supported Formats
PNG, JPEG, GIF, WebP, BMP, ICO, AVIF, and SVG are supported. The format is detected from the image data, so a mismatch between the declared data URL type and the actual data does not stop the preview.
Bare Base64 strings without a data:image/...;base64, prefix work as well. URL-encoded data URLs such as data:image/svg+xml,%3Csvg... are not supported.
Use Cases
- Extracting an image embedded in an HTML email, JSON, or API response
- Checking a data URL used in a CSS
background-image - Seeing what image a Base64 string contains
- Saving an image embedded in code as a file
Things to Keep in Mind
SVG is a text format and can contain scripts. Opening a downloaded SVG directly may run those scripts.
Last updated:

