Quecko Logo

Free tool • Runs in your browser

Base64 to image

Paste a Base64 string or data URI to preview it and download the image.

Loading tool...

Quick answer

Paste a full data URI or raw Base64. The tool detects common image types from the data, shows a preview and lets you download the file. SVG previews are shown safely as images.

How to use it

  1. Paste the Base64 string.
  2. Check the preview.
  3. Download the image.

Example

Input
data:image/png;base64,iVBORw0KGgo...
Output
An image preview and a PNG download

Common errors and how to fix them

It says invalid Base64
The string may be incomplete. Check you copied all of it, with no extra characters.

Frequently asked questions

How do I convert Base64 to an image?

Paste the string here, check the preview, and download the image.

How do I decode a Base64 image online?

Paste a raw Base64 string or a full data URI, and the image appears if the data is valid.

How do I convert Base64 to an image in JavaScript?

Use the data URI as an image's src. To get a file, decode it with atob and create a Blob.

How do I convert Base64 to an image in Python?

Decode it with base64.b64decode and write the bytes to a file in binary mode.

How do I show a Base64 image in HTML?

Use an img tag with a data URI as its src, such as data:image/png;base64, followed by the data.

How do Base64 images work?

The image's binary data is represented as text. Browsers decode the text back into the original bytes.

Do I need the data:image prefix?

No. The tool accepts both raw Base64 and full data URIs, and detects the type from the data.

Which image types are supported?

PNG, JPG, GIF, WebP, BMP, ICO and SVG.

Why does it say invalid Base64?

The string may be incomplete or contain other characters. Check that you copied all of it.

Is what I paste uploaded?

No. Decoding happens in your browser and nothing is sent to Quecko.

More image tools

Need something built for your business?

Quecko designs and builds AI, Web3 and custom software products.

Start a Project