64 Base64Toolkit
Language:

Base64 to Image

Paste a Base64 string — the image preview appears instantly, with format auto-detection and one-click download.

Turning Base64 back into an image

Base64-encoded images show up everywhere: inside data: URIs in HTML and CSS, in JSON API responses, in database columns, in email source, and in Kubernetes ConfigMaps. This tool decodes the string locally, sniffs the real file type from its magic bytes (so a mislabeled JPG saved as “png” is still detected correctly), renders a live preview, and lets you download the original binary file with the right extension.

Working in the other direction? Image to Base64 generates data URIs and HTML/CSS snippets from any image file.

Frequently Asked Questions

How do I convert Base64 to an image?

Paste the Base64 string (with or without the data:image/…;base64, prefix) into the box above. The image preview appears instantly and you can download it with one click. The format (PNG, JPG, GIF, WebP, SVG…) is detected automatically from the file signature.

Why does my Base64 not show an image?

Most often the string is incomplete (check it was copied fully), it is double-encoded, or it is not an image at all. This tool reports the detected file type — if it says ZIP or PDF, use Base64 to File instead.

Is the image uploaded anywhere?

No. Decoding, preview, and download all happen locally in your browser using JavaScript and Blob URLs. Nothing is sent to any server.

Related Tools