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.
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
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