toolfora
Home / Image / Image to Base64

Image to Base64

Turn any image into a Base64 data URI for embedding directly into HTML, CSS or JSON.

Choose an image to convert to Base64

Data URI

How to use the Image to Base64

Turn any image into a Base64 data URI for embedding directly into HTML, CSS or JSON.

Steps

  • Choose an image — click the drop zone to browse.
  • The data URI appears automatically in the output box.
  • Copy data URI to copy it, or Download .txt to save it as a text file.

A data URI can be used inline in src, url() or JSON, which is handy for small assets.