Image to Base64

Encode an image as a Base64 data URI for embedding in HTML or CSS.

How to use Image to Base64

  1. Drop your JPEG, PNG, WebP, GIF, BMP, AVIF, SVG file onto the page, or choose it from your device.
  2. Adjust the options if needed.
  3. Start “To Base64” — it runs inside your browser.
  4. Preview the result and download it.

Frequently asked questions

Is Image to Base64 free?
Yes. Image to Base64 is free to use and needs no account or sign-up.
Are my files uploaded to a server?
No. Dhurta Suite processes your files inside your own browser. They are not uploaded, stored or seen by anyone, and they are discarded when you close the page.
Which file formats are supported?
Image to Base64 accepts JPEG, PNG, WebP, GIF, BMP, AVIF, SVG.
Does it work offline?
Once the page has loaded, processing needs no internet connection.
Does it work on phones?
Yes. It works in current mobile browsers on Android and iPhone, as well as on desktop.
Are there any limitations?
Base64 output is about 33% larger than the original file.

Related tools