/
100% free

Image to Base64

Convert images to Base64 data URIs for HTML and CSS, or decode Base64 back to an image.

Free foreverPrivate — runs in your browserNo sign-upNo limits

How to use the Image to Base64 tool

  1. Choose Image → Base64 and drop an image, or choose Base64 → Image and paste a string.
  2. Copy the data URI, the Base64 only, or a ready-made HTML <img> or CSS snippet.
  3. When decoding, preview the image and download it.

What is a Base64 image?

A Base64 data URI stores an image as plain text, so it can be embedded directly in HTML, CSS, JSON or email templates without a separate file. It is handy for small icons and logos, and avoids an extra network request.

Base64 text is about a third larger than the original file, so it is best for small images.

Frequently asked questions

Is there a size limit?

No hard limit, but very large images produce very long strings that can slow down editors.

Can I decode a string without the “data:” prefix?

Yes. Paste raw Base64 and the image type is detected automatically.

Is the Image to Base64 tool really free?

Yes — completely free, forever. There is no sign-up, no payment, no watermark and no daily limit.