Base64 to Image
Decode a Base64 string or data URI back to an image instantly in your browser. Paste encoded image data, preview the result, and download the file — no server required
CODE TEXT
Image→Base64 Base64→Image
Image Info
- Dimensions
- —
- Detected type
- —
- Base64 length
- —
- Est. file size
- —
Runs 100% Locally in Your Browser
This tool processes your data entirely on your device. Nothing is uploaded, stored, or sent to any server.
No Uploads
Privacy First
Secure by Default
Related Tools
List to Comma Separated Paste a list (one item per line) and convert it into a single string with your chosen separator
JSON Beautifier Paste your minified or messy JSON and get clean, properly indented output for easier reading, debugging, and development
JSON Minify Convert formatted or messy JSON into inline JSON instantly. Minify JSON by removing unnecessary whitespace and generate a compact single-line string
CSS Minifier Paste your CSS and get a compact, minified version instantly. Remove comments, whitespace, and redundant characters to reduce file size and improve page load performance
Frequently Asked Questions
What input formats does this tool accept?
It accepts a full data URI (e.g. data:image/png;base64,…) or a raw Base64 string without a prefix — both are detected automatically.
How do I get the MIME type if I only have raw Base64?
Without a data URI prefix the MIME type cannot be determined from the string alone. Use the format selector to specify the image type before downloading.
What image types can be decoded?
Any image type the browser can render — PNG, JPG, WebP, GIF, SVG, AVIF, and more.
Is the decoded image sent to a server?
No. Decoding happens entirely in your browser using the built-in atob API — your data never leaves your device.
Why does my Base64 string show an error?
Common causes are missing padding (= characters at the end), whitespace or line breaks inside the string, or non-Base64 characters. The tool strips whitespace automatically.
What file format will the downloaded image use?
If a data URI prefix is present, the MIME type is read from it. Otherwise, the format you select in the dropdown is used for the download.