Contact, if you are interested in this website / domain name / Sponsorship / Advertisement / Partnership

Image to Base64

Convert images to data URIs for CSS, HTML and email.

Runs in your browserNo sign-upFree forever

Loading tool…

Report an issue

How to use the Image to Base64

  1. Choose an image.
  2. Copy as a data URI, a CSS rule or an <img> tag.

About this tool

A data URI embeds an image directly inside HTML or CSS, saving an extra HTTP request. It's handy for tiny icons, email signatures and single-file prototypes. The trade-off: Base64 adds about 33% to file size and embedded images can't be cached separately, so keep it for assets under a few kilobytes.

Frequently asked questions

Is there a size limit?

No hard limit, but large data URIs bloat your HTML and slow rendering.

Do email clients support data URIs?

Many block them; hosted images are more reliable in email.

Get a free tech stack audit