Base64 to Image

Paste a Base64 string or data URI and save it as a real image file.

Decode Base64 to an image

Click or drop a text file containing Base64

Type: —
Dimensions: —
Decoded size: —
Decoding happens in your browser with the File API and canvas. Nothing is uploaded.

How to use the Base64 to Image

  1. Paste a data URI or a plain Base64 string into the text box.
  2. The image is decoded automatically and shown in the preview.
  3. Pick an output format and click Download image to save the file.

Features

Advertisement

Frequently Asked Questions

Common questions about the free online base64 to image.

Paste the Base64 text or the full data URI into the box and click Convert. The decoded image appears in the preview and can be downloaded.
A data URI is a text string that starts with data: followed by the media type and the Base64 payload. Browsers treat it exactly like an image address.
No. A plain Base64 string works too, and the tool detects the image type from the first bytes of the file.
No. The text is decoded in your browser and is never uploaded anywhere.
PNG, JPEG, GIF, WebP, BMP and SVG are detected automatically, and the result can also be re-encoded as PNG, JPEG or WebP.
The usual causes are missing padding, line breaks inside the string, or characters that were copied incorrectly.
Strings of a few megabytes work, but very large ones can make the browser slow, so keep the image reasonably small.
Yes. Pick PNG, JPEG or WebP in the output selector and the image is redrawn on a canvas before the download starts.
JPEG has no transparency, so transparent parts become black. Choose PNG if you need to keep the alpha channel.
Yes, the converter is free with no sign-up and no limits.

Last updated: October 10, 2026