Image ↔ Base64

Turn an image into a Base64 data URL, or paste Base64 to preview. Stays on your device.

Runs locally in your browser

Image → Base64

Base64 → Preview

How to use Image ↔ Base64

  1. Drop in an image to get its Base64 data URI instantly.
  2. Or paste a Base64 string in the other direction to preview it as an image.
  3. Copy the encoded string, or download the decoded file back to disk.

Common use cases

Good to know

What you can do next

FAQ

Is my image uploaded?

No. FileReader runs locally in your browser.

Which formats work?

Any image format your browser can decode — PNG, JPEG, WebP, GIF.

Why is the output so long?

Base64 encodes binary as text (~33% larger than raw bytes).

X