🏞️Image to Base64

Convert images to Base64 data URIs and back

About the Image to Base64

Image to Base64 converts an image into a Base64 data URI you can embed directly in HTML, CSS or JSON β€” and converts data URIs back into a downloadable image.

Everything happens in your browser, so your images are never uploaded.

Common use cases

  • Embedding small icons inline in CSS or HTML
  • Avoiding extra image requests for tiny assets
  • Storing images in JSON or a database
  • Previewing and extracting an image from a data URI

How to use the Image to Base64

  1. Choose Image β†’ Base64 or Base64 β†’ Image.
  2. Upload an image or paste a data URI.
  3. Copy the data URI, or download the decoded image.

Frequently asked questions

Should I inline large images?

No β€” data URIs add ~33% size and are best for small assets like icons; large images are better served as files.

Are my images uploaded?

No, conversion happens entirely in your browser.

Which formats are supported?

Any image your browser can read (PNG, JPEG, GIF, WebP, SVG, etc.).