Image to Base64

Convert an image to a Base64 data URI and copy it as an <img> tag or CSS background. Nothing is uploaded.

  • Free, no limits
  • Runs in your browser
  • No sign-up

Loading tool…

How to use the Image to Base64

  1. Choose an image.
  2. Copy the data URI, raw Base64, <img> tag or CSS.
  3. Paste it into your code or email template.

Frequently asked questions

Why is it bigger?

Base64 adds about 33% to the size; use it only for small icons.

Is my image uploaded?

No. Everything runs inside your browser. Your files and text never leave your device and nothing is stored on our servers.

Which formats?

Any image your browser can open: JPG, PNG, WebP, GIF, SVG.

Related tools

All 96 free tools More image tools