Tools

Image to Base64

Drag & drop your image here
JPG, JPEG, PNG, GIF, BMP, WEBP
— or —
Maximum upload size: 5 MB

How to Use

  1. Upload the image you want to convert.
  2. Click "Convert".
  3. Copy the Base64 string or data URI.

Frequently Asked Questions

Which image formats can I convert to Base64?

Common formats like PNG, JPG, GIF, and WebP are supported.

Can I use the output directly in an HTML or CSS data URI?

Yes, the resulting Base64 string can be used directly in a CSS or HTML data URI to embed the image inline.

Does encoding increase the file size?

Base64 encoding increases file size by roughly 33%, so it's best suited for small images rather than large files.