Image

Base64 to Image

Decode Base64 or data URIs to images.

Base64 or data URI

This free Base64 to image converter decodes a Base64 string or data URI back into a viewable image you can download. Paste a fulldata:image/…;base64,… URI or just the raw Base64 — the image type is auto-detected from the decoded bytes (magic numbers), so PNG, JPEG, WebP, GIF, BMP, ICO and SVG all just work without picking a format. If detection ever fails, the fallback selector lets you force a type.

Beyond a live preview with a transparency checkerboard, it shows the decoded image's dimensions, MIME type and byte size, and generates ready to paste <img> HTML and CSS background-imagesnippets — both syntax-highlighted and one click to copy. You can also copy the normalized data URI, set a custom download filename, load Base64 from a text file, or drop a file onto the input. It's the counterpart to encoding an image as Base64 for CSS or HTML.

Related tools