Base64 to Image

Last updated: June 17, 2026

Decode Base64 back to an image.

Loading tool…

Base64 to Image is a free online tool to decode Base64 back to an image. It runs entirely in your browser, so your files never leave your device — nothing is uploaded. There's no sign-up, no watermark, and it works on any modern browser on desktop or mobile.

How to use Base64 to Image

Base64 to Image decodes a Base64 string or data URI back into a viewable image you can preview and download as a file. It works with or without the data: prefix and runs entirely in your browser. Free, no sign-up.

Read the full guide: Base64 to Image: Decode and Download (Free Online)

  1. 1Paste the Base64 string or data URI.
  2. 2Preview the decoded image.
  3. 3Download it as a file.

Preview instantly

See the image as soon as you paste valid data.

Download

Save the decoded image as PNG/JPG etc.

Private

Decoding happens on your device — nothing is uploaded.

Turn a CSS data URI back into a file

Developers often find a background-image set as an inline data:image/png;base64 URI in their CSS or HTML and need the original file back. Paste the whole data URI here and the image renders instantly, then download it as a real PNG or JPG. The tool reads the MIME type from the prefix, so you get the correct extension automatically.

Inspect a Base64 string from an API response

When an API or JSON payload returns an image as a raw Base64 blob, you can't tell what it is by reading the characters. Paste the string in to decode and preview it immediately and confirm it's the right asset, avatar, or QR code before wiring it into your app. No prefix needed; the tool assumes PNG when no image type is given.

Recover an image emailed as Base64 text

Sometimes an image arrives pasted as a long Base64 block in an email, chat, ticket, or shared document instead of as an attachment. Drop that text here to rebuild the picture and save it as a usable file. Decoding runs entirely in your browser, so sensitive screenshots or scanned documents are never uploaded to any server.

Base64 to Image — frequently asked questions

Do I need the data: prefix?

No — paste a full data URI or just the raw Base64; the tool handles both and assumes PNG when no type is given.

Is my data uploaded?

No — decoding happens entirely in your browser.

Is it free?

Yes, completely free.

Share this tool

Send it to someone who needs it or save the link for later.