Base64 to Image

Convert a Base64 string or data URI back into a downloadable image — free and processed entirely in your browser.

About Base64 to Image

Base64-encoded image data shows up embedded in HTML, CSS, JSON, or API responses — readable by a browser or program, but not something you can just save as a normal image file. This tool decodes a Base64 string or data URI back into a real, downloadable image.

Paste either a raw Base64 string or a full data:image/...;base64,... URI — both are detected automatically. Everything runs locally in your browser.

How to Convert Base64 to an Image

  1. Step 1

    Paste your Base64 string

    Paste a raw Base64 string or a full data URI.

  2. Step 2

    Preview the image

    See a live preview before downloading, so you can confirm it decoded correctly.

  3. Step 3

    Download your image

    Save the result as a real image file.

Frequently Asked Questions

What formats can I decode Base64 into?

Whatever image format was originally encoded — PNG, JPG, GIF, and WEBP are all detected and decoded automatically.

Do I need the full data URI, or just the raw Base64 string?

Either works — paste a full data:image/png;base64,... URI, or just the raw Base64 characters on their own.

What if the Base64 string is invalid or corrupted?

You'll see a clear error rather than a broken file — a truncated or corrupted string can't be decoded into a valid image.

Is my data uploaded anywhere?

No. Decoding happens entirely in your browser.

Related Tools