Base64 to Image
Decode a Base64 string or data URI back into a viewable, downloadable image.
Processed entirely in your browser. Your image is never uploaded to a server.
- Accepts a bare Base64 string or a complete data URI.
- Detects the real image type and names the download correctly.
- Clear errors for truncated or non-image data.
- Runs in your browser — nothing is sent anywhere.
Why this is private
- Processed entirely in your browser. Your image is never uploaded to a server.
- Open your browser's DevTools → Network tab while using this tool — you won't see a request carrying your input, because it never leaves your device.
- Nothing you enter is uploaded to a server or shared with us — the processing happens entirely on your device.
Overview
Paste a Base64 string or a full data: URI and get the image back — previewed, with its real dimensions and size, and a download with the correct file extension. The decoding and validation happen in your browser; if the string is malformed or isn't actually an image, it tells you why.
How to use it
- 1Paste the Base64 or data URI.
- 2Click Decode to image.
- 3Check the preview, then download.
Frequently asked questions
What people use it for
See what a data URI actually containsPaste a long data: string from CSS or HTML and view the image it encodes.
Extract an inlined image from codePull a Base64 asset out of a stylesheet, email source or JSON response and save it as a file.
Debug a broken data URIFind out whether a string is truncated or simply isn't image data, with a clear error either way.
Related guides
- How to resize a photo and signature for online formsApplication portals want the photo and signature at exact pixel sizes and tiny file sizes. Here's how to hit both without an app.
- How to compress images for the web without them looking badWhy images make pages slow, how much quality you can drop before anyone notices, and a repeatable way to hit a size target.
- How to resize an image without losing qualityWhat 'without losing quality' really means when you resize, why enlarging is different from shrinking, and how to keep proportions intact.
- JPG, PNG or WebP: which image format should you use?A practical guide to picking an image format — what each one is good and bad at, and when to convert.
Related tools
All image toolsImage to Base64Encode an image as a Base64 data URI, with ready-to-paste CSS and HTML snippets.Image ConverterConvert images between JPG, PNG, WebP and AVIF — in batches, with quality control.Compress ImageReduce image file size while controlling quality — one image or a whole batch.Image Metadata ViewerSee an image's dimensions, format, EXIF, camera info and GPS location.
Ready to use Base64 to Image?
Base64 to Image