Drop images here or click to chooseJPG, PNG, WebP, GIF, SVG, up to 8 MB each
Processed on your device. Your files are never uploaded.

How to use it

  1. Add one or more images.
  2. Choose the output style.
  3. Click Copy and paste the text where you need it.

When to use Base64 images

Embedding a small image as Base64 saves one request, which is handy for tiny icons in CSS, HTML emails or JSON. Base64 text is about a third larger than the file, so do not use it for large photos.

Frequently asked questions

Is my image uploaded?

No. The file is read and encoded inside your browser.

Why is the text so long?

Base64 stores binary data as text and adds about 33% to the size.

What is the size limit?

Files over 8 MB are skipped, because the text would be too long to be useful.

Related tools