Skip to main content
KalkuNet

Base64 to Image — Preview, Detect the Real Format and Download

Paste a Base64 Data URI string to preview and download as PNG/JPG/WebP.

Runs in your browserImage · Format Conversion & SVG

With or without the data: prefix, with line breaks, URL-safe (- _), without = padding, or wrapped in url(…) / src="…".

Result

The image will appear here

When to use the Base64 Data URI to Downloadable Image Converter

  • See what a data URI in code contains

    Images embedded in HTML, CSS, JSON APIs or logs often show up only as long text. Paste it to see the image, its pixel size and its real file size.

  • Paste it as it is

    The text may include the data: prefix, line breaks, URL-safe characters (- and _), no = padding, JSON escapes, or still be wrapped in url("…") or src="…". Percent-encoded SVG data URIs work too.

  • Format from the content, not the label

    The file type is recognised from its first bytes. If a data URI says image/png but the content is JPEG, you are told and the file is saved with the right extension.

  • Download the original or convert

    The original file is saved byte for byte. If you need another format, save it as PNG, JPG (transparent areas become white) or WebP.

Frequently asked questions

Why do I get “not an image”?

The text is valid Base64, but it contains another kind of file, such as a PDF, a ZIP or plain text. The error message names what was detected.

Can it open HEIC or TIFF?

The format is recognised and the original can be downloaded, but most browsers cannot display or convert it. Open the downloaded file with a photo app on your device.

Is my data sent to a server?

No. Decoding and the preview happen in your browser, so images from internal systems stay on your device.

What is the size limit?

Up to 25 MB once decoded. The Base64 text itself is about a third longer than that file size.

Learn more