Base64 to Image

Paste a Base64 string or data URI and turn it back into a downloadable image file, decoded in your browser.

Loading this tool…

Your file is read and processed inside your own browser. It is never uploaded to our server, and it still works with the network unplugged.

How It Works

  1. Choose — Pick or drop your file into the area above. It stays on your machine unless this tool says otherwise.
  2. Configure — Set the options that appear once the file is read.
  3. Run — Press the action button and wait for the result.
  4. Take it — Download the output, or copy the result if the tool prints one.

Frequently Asked Questions

Does it matter if my text has a data: prefix or is broken over several lines?
No. The prefix is detected and removed, line breaks, spaces and surrounding quotes are ignored, percent-escapes copied out of a URL are turned back, and the URL-safe - and _ characters are read as + and /. The page then lists exactly what it took out of the paste, so nothing is changed silently.
What decides the name and extension of the downloaded file?
The decoded bytes, not the prefix. Their header is read to work out whether this really is a PNG, JPEG, GIF, WebP or SVG, and the file is named from that. If the prefix claims a type the bytes disagree with, the page says so and follows the bytes. Text that decodes but is not a recognisable picture is still handed back as those exact bytes.