How do I convert Base64 to an image?
Paste a Base64 string — with or without the data:image/…;base64, prefix — and Toolavix decodes it into the original image file. The real format is detected from the decoded bytes (PNG, JPG, GIF, WebP, AVIF, SVG, ICO and more), so the download gets the correct extension even when the prefix is missing. Spaces, line breaks and the URL-safe Base64 alphabet are handled automatically. You see a preview with the dimensions and file size before downloading. Decoding happens entirely in your browser.
How to convert Base64 to an image
- 1
Paste the Base64 string or data URI into the box.
- 2
The image is decoded instantly and previewed.
- 3
Check the detected format, size and dimensions.
- 4
Click “Download” to save the image file.
Key features
Prefix optional
Works with full data URIs and with the bare Base64 string.
Format detection
The file type is read from the decoded bytes, so the extension is always right.
Tolerant parsing
Line breaks, spaces, missing padding and URL-safe characters are fixed automatically.
Private
Decoding runs in your browser and nothing is uploaded.
Frequently asked questions
Do I need the data:image prefix?
No. You can paste only the Base64 part; the format is detected from the decoded data.
Why does it say my Base64 is invalid?
The text may be truncated, contain other characters, or encode something that is not an image. Make sure you copied the complete string.
Which image formats can be decoded?
PNG, JPG, GIF, WebP, AVIF, BMP, SVG, ICO, HEIC and TIFF are recognised. The preview depends on your browser, but every recognised format can be downloaded.
Is my data sent anywhere?
No. Decoding uses your browser’s built-in functions, and nothing is uploaded.