Image to Base64

Encode images as Base64 data URIs.

Drop an image here, or click to browse

Encoded locally — your image never leaves your device

About the Image to Base64

Convert an image into a Base64 data URI for inline embedding in HTML or CSS. Drop in a file and copy the encoded string — processed locally, so your image never leaves your device.

How to use it

  1. 1Drop in or select an image.
  2. 2Copy the generated Base64 data URI.
  3. 3Paste it into your HTML `img src` or CSS `background`.

Frequently asked questions

When should I inline an image as Base64?
For small icons or assets where avoiding an extra request helps; large images are usually better served as files.