Image to Base64

Encode an image as Base64 and copy it as a raw string, a data URI, an HTML <img> tag or a CSS background rule.

How to use Image to Base64

  1. Drop an image.
  2. Choose the snippet you need.
  3. Copy it to your clipboard.

Questions

Are my images uploaded to a server?

No. Every tool on this site runs inside your browser with JavaScript. Your files never leave your device, which also makes processing instant.

Is it really free?

Yes. There is no sign-up, no watermark and no limit on the number of files. The site is supported by ads.

Does it work on my phone?

Yes. All tools work in modern mobile browsers on iPhone and Android, although very large images may be slow on older phones.

Related tools