ImageEdi

Convert an image to Base64

Small icons and images can be embedded right in HTML or CSS as a data URI – no extra request to the server.

More options in the editor →

How to

  1. Drop an image into the box above.
  2. The data URI is created instantly.
  3. Copy the string or the ready-made <img> code.

FAQ

When is Base64 worth it?

For small images (a few KB). Base64 is about a third larger than the original file.

Is the image resized?

No, it is converted as is. To make it smaller, use Resize image first.

More tools