Developer Tools toolsUpdated July 2026

Free Image to Base64 Converter (and Back)

Encode an image to Base64 or decode a Base64 string back to an image, directly in your browser.

Free online tool No signup Copy-ready result Browser-first privacy
AdvertisementTop tool sponsor space

Add an image to encode

Choose a JPG, PNG, WebP, GIF, or SVG image.

Maximum 15 MB

Processed in your browser. Your image never leaves your device.

AdvertisementBelow tool sponsor space

How to convert an image to Base64

  1. Choose the "Image to Base64" tab.
  2. Upload an image.
  3. Copy the generated Base64 / data URI string.

How to convert Base64 back to an image

  1. Choose the "Base64 to Image" tab.
  2. Paste a Base64 string or full data URI.
  3. Preview and download the decoded image.

How this works

Your browser reads the image file (or decodes the pasted Base64 string) entirely locally using its own built-in FileReader and Blob APIs — no image or string is uploaded, and no server-side processing is involved.

Common use cases

  • Embed a small image directly in CSS or HTML as a data URI
  • Decode a Base64 image string back into a downloadable file
  • Inspect or debug a Base64-encoded image from an API response

Frequently asked questions

Is this converter free?

Yes. It is completely free, with no signup and no limits.

Is my image uploaded anywhere?

No. The conversion happens entirely in your browser. Nothing is sent to Inqita or stored.

What's a data URI?

A data URI embeds the image's data directly in a string (starting with "data:image/...;base64,") so it can be used inline in HTML or CSS without a separate file.

Can I paste just the Base64 string without "data:image/..."?

Yes. If you paste a raw Base64 string without a data URI prefix, it's treated as a PNG by default.

Is there a file size limit?

Yes, images up to 15 MB are supported.