Image tools

Image to Base64

Encode an image file into a Base64 data string you can paste into code or a page.

How to use Image to Base64

  1. Choose an image file.
  2. Encode it in your browser.
  3. Copy the Base64 data string into your code or page.

A good use for this

Embedding a small image directly into HTML or CSS without a separate file.

Limits

Base64 makes the data about a third larger than the original file, so it is a poor choice for large images. It is encoding, not encryption — anyone can decode it.