Skip to content
SimpleConvertSimpleConvert

Base64 to Image Converter

Paste a base64 string or a data URI and see the image it decodes to, then download it. Decoding happens entirely in your browser.

How to use it

  • Paste the full data URI, or just the base64 body — PNG is assumed if there is no prefix.
  • The decoded image appears immediately.
  • Download saves it as a normal image file.

Base64 encoding turns binary image data into plain text made up only of letters, digits and a few symbols, which is what makes it possible to embed an image directly inside HTML, CSS or JSON as a string instead of a separate file. This tool reverses that: paste the base64 text — either the bare characters or a full data URI like data:image/png;base64,... — and it decodes back into a viewable, downloadable image, entirely in your browser.

If you paste just the base64 body with no data: prefix, PNG is assumed, since that is the most common case for a bare string copied out of code without its header.

Why decoding fails

Base64 has no tolerance for a partial string — every character carries meaning, and a copy that is missing even a few characters, or missing its trailing = padding, produces invalid data rather than a slightly-wrong image. The most common cause of a failed decode is an incomplete copy, particularly from a source that wraps long lines or truncates displayed text.

Questions people ask

Why does my string not decode?

Base64 is unforgiving — a few missing characters break the whole thing. Check you copied it complete, including any trailing = padding.

How do I go the other way?

Use the image to Base64 tool, which encodes a file you choose into a data URI.

Is anything uploaded?

No. Everything runs in your browser — no file, image or snippet you use here ever leaves your device.

Runs entirely in your browser. Nothing you type is uploaded, logged or shared.

Last updated 22 August 2026