Image to Base64 & Base64 to Image

Convert any image to base64, or decode base64 back into an image. Build data URIs and JSON payloads for free, privately in your browser with no upload.

  • No file limits
  • No registration
  • Free forever
  • Images never leave your browser

Your images never leave your browser

All processing happens locally on your device. Nothing is uploaded to a server, stored, or tracked.

Turn any image into a base64 string for JSON payloads, APIs and inline embeds, or paste a data URI back into a working image. Encoding and decoding run entirely on your device, so the data never leaves your browser.

How it works

What this tool does

This tool lets you turn any image into a base64 string for json payloads, apis and inline embeds, or paste a data uri back into a working image. encoding and decoding run entirely on your device, so the data never leaves your browser.

Is this tool private?

Encoding and decoding run entirely on your device. Pasting an image as base64 stays in your browser and is never uploaded.

Frequently asked questions

What is base64 for?

It turns binary image data into plain text, handy for JSON APIs, data URIs and inline embeds that cannot carry binary files.

Does base64 make a file bigger?

Yes, base64 adds roughly a third of the original size, so it is best for smaller images and favicons rather than large photos.

Can I decode a data URI back to an image?

Yes, paste the full base64 string and the tool restores the original image, ready to view and download.