Base64 to Image

Decode a Base64 image or data URI back into a file. Paste the string, preview, download. The inverse of our image-to-Base64 tool.

🔒 Everything happens in your browser — no upload, no server, no tracking.
No image yet.

What is this for?

This tool is the inverse of the image-to-Base64 encoder: it takes a data: URI (or a raw Base64 payload) and decodes it back into a viewable, downloadable image. It auto-detects the format from the MIME type in the URI, or — if you pass just the raw Base64 — sniffs the first few bytes (PNG signature, JPEG SOI marker, GIF8 header, RIFF…WEBP, SVG markup) to identify the image type. Everything runs in the browser via atob and an <img> data URI.

When to use it

Common gotchas