Image to Base64

Embed a small image straight into HTML, CSS or JSON. Get the data URI, plain Base64, an img tag or a CSS rule, ready to copy.

How to convert an image to Base64

  1. 01Add your image.
  2. 02Pick the output: Data URI, Base64 only, HTML img or CSS background.
  3. 03Click Copy to clipboard.

FAQ

No. Everything runs in your browser on your own device. Nothing is sent to a server, and closing the tab discards it.