image

Image to Base64 Converter

Turn any image into a Base64 data URI you can paste directly into HTML, CSS, or JSON — handy for embedding small icons or images without a separate file request. Everything is encoded locally in your browser.

Drag & drop an image, or click to browse

Any image format · encoding happens entirely in your browser

How to use Image to Base64 Converter

  1. 1Upload the image you want to encode.
  2. 2The Base64 data URI is generated instantly below the preview.
  3. 3Copy the string, or download it as a .txt file.

Frequently asked questions

Related tools