Adawat

Image to Base64

Turn an image into a Data URI for CSS or HTML.

Converts small images into Base64 strings or Data URIs you can paste straight into CSS or HTML with no extra file.

Files are processed on your device — nothing is uploaded.

How to use it

  1. Load the image.
  2. Switch on Data URI if you need it for CSS.
  3. Copy the code.

Common questions

How long is the string?

Base64 adds about 33%, so it suits small images and icons.

Can I use it for big photos?

You can, but the page gets heavy. A normal image file is better.