100% local, no upload

Base64 to Image Converter

Paste a base64 string or data URI to preview it instantly and download the decoded image.

Decoded image preview
Detected type- Dimensions- Decoded size- File extension-

How it works

1

Paste your base64

Paste a full data URI or a raw base64 string into the text box, then press Convert to image.

2

Preview and inspect

The tool decodes the string in your browser and shows a live preview along with the detected type and dimensions.

3

Download the file

Press Download image to save the decoded picture to your device with the correct file extension.

FAQ

Do I need to include the data:image prefix?

No. You can paste a full data URI like data:image/png;base64,... or just the raw base64 characters, and the tool will detect the image type automatically.

Is my base64 data sent to a server?

No. Decoding happens entirely in your browser using atob() and the Canvas API. Nothing you paste ever leaves your device.

How does the tool detect the image format?

It reads the first decoded bytes and matches them against known file signatures for PNG, JPEG, GIF, WebP, BMP and SVG to pick the correct MIME type and file extension.

Try other tools