Skip to content
ImgKoi

Convert an Image to Base64

Encode an image as Base64 to embed it directly in HTML, CSS, JSON or email templates. Get a data URI, raw Base64, an <img> tag or a CSS background, ready to copy. Everything happens in your browser.

FreeNo sign-upPrivate by design

Image to Base64

How it works

  1. 01

    Choose an image

  2. 02

    We encode it in your browser

  3. 03

    Copy the Base64 or data URI

Image to Base64

Frequently asked questions

A data URI puts the file inside a URL, like data:image/png;base64,iVBOR…, so a browser can show the image without a separate request.