Free. Private. Runs on your device.

Image to Base64

Turn a picture into Base64 text for code.

Drop a picture here or tap to chooseWorks with PNG, JPG, GIF, WebP, SVG and more. Nothing is uploaded.

How to use it

  1. Drop a picture onto the box.
  2. Choose Data URL, plain Base64, an HTML tag or CSS.
  3. Press Copy, or download the text file.
  4. Paste it into your code.

Private by design

Everything happens in your browser. Nothing you type or choose here is uploaded or stored on a server.

See all