Base64 to Image
Base64 to Image
Paste a base64 string, with or without a data-URL prefix, to preview the image and download it as a PNG.
About the Base64 To Image
Turns a Base64 string back into a viewable, downloadable image file — useful when an image only exists as encoded text inside an API response, a database field, a log file or a data URI.
How to use
- Paste your Base64 string or a full data URI (data:image/png;base64,…) into the input box.
- The tool decodes it in your browser and shows a live preview with the detected format and dimensions.
- Download the image as a real file (PNG, JPG, WebP and more) or copy it to your clipboard.
Key features
- Accepts raw Base64, full data URIs and the URL-safe variant.
- Detects the real format from the image bytes, so the download has the correct extension.
- Decodes entirely in your browser — nothing is uploaded.
Frequently asked questions
Which image formats does it support?
PNG, JPEG, GIF, WebP, BMP and SVG.
Is the decoded image identical to the original?
Yes — Base64 is lossless, so decoding restores the exact original bytes.
Why won't my string decode?
Common causes are a truncated string, missing padding, or characters outside the Base64 alphabet.
Free to use, no signup needed. This tool runs entirely in your browser — your data never leaves your device.
