>
PERMARKET
Tools › Image › Base64 to Image
B64

Base64 to Image

Turn a base64 string into a preview and downloadable image.

Download
Ad · Large Rectangle (336×280)

How to use Base64 to Image

Free base64 to image tool: paste a base64 or data URI and see the picture with a download link.

  1. Open Base64 to Image on toolpermarket, then enter the values you want to work with.

  2. In the Base64 or data URI field, paste the encoded string or a full data: URI. A bare base64 string is treated as a PNG; a data: URI keeps its own type.

  3. Press Preview to compute the result. The output appears immediately below the form. Tweak any field and run it again to check a different scenario.

  4. Read the result and use it as needed. If the number looks off, re-check your inputs and run it again — the math is deterministic, so the same entries always return the same answer.

Worked example. Paste a data:image/png;base64,… string from a database, click Preview to see the picture, then Download it as a file.

Tips for accurate results.

  • Leave the data: prefix off and it is assumed to be a PNG.

  • The detected type sets the downloaded file extension automatically.

  • Handy for pulling an image out of a saved string.

When to use Base64 to Image. Recovering an image stored as base64 in code. Previewing an inline data URI from an API response. Saving a pasted string back into a usable file.

When you actually reach for this

  • You have a data URI or base64 string and need the actual image file back.
  • You received an image as text and want to view or save it.

Where this tool stops being accurate

  • The input must be valid base64 (often a data: URI); a corrupted string decodes to garbage.
  • Decoding recovers the original pixels exactly; it is the reverse of encoding, not an edit.

Frequently asked questions

Is the string uploaded?

No. The base64 is decoded on your device and shown as an image locally; the text is never sent to a server.

What if my string has no data: prefix?

It is read as a PNG by default. If your data is another format, include the full data:image/…;base64, prefix so the type is detected.

Why does my download have a weird name?

The file is named from the detected image type (png, jpg, and so on) since base64 strings carry no original filename.

Does decoding change the image?

No. It reverses the encoding, so you get back the exact pixels that were encoded, with no quality loss.