Eskillsfy

Home / Tools / Images

Image to Base64

Convert an image to a Base64 data URI, <img> tag or CSS.

Runs in your browserFree, no sign-upOpens JPG, PNG, WebP, GIF, SVG
Loading tool…

How to use it

  1. Choose or drop an image.
  2. Pick the output format.
  3. Copy the result.

About this tool

Embed small icons and images directly in HTML, CSS, JSON or emails. Get a raw Base64 string, a data URI, a ready <img> tag, a CSS background rule or Markdown.

Your input is processed on your device. Nothing is sent to a server or stored.

How it works, and how to build your own →

Questions

When should I inline an image?
For small icons under about 10 KB. Larger images are better as normal files so browsers can cache them.
Images

More tools like this

All images