Image to Base64 Live

Convert images to Base64 and data URIs.

Developer Tools Free forever No sign up
Image to Base64
The image is read locally; nothing is uploaded.
About this tool

How the Image to Base64 works

Convert an image into a Base64 string or a complete data URI for embedding in HTML, CSS or JSON.

  1. 01

    Step 1

    Choose an image.

  2. 02

    Step 2

    Copy the data URI or the raw Base64 string.

Why use it

Both formats

Get a ready-to-use data URI or raw Base64.

Local processing

The image never leaves your browser.

Frequently asked questions

When should I use Base64?

For small icons or inline assets; large images are better served as files.

Does it change the image?

No — it encodes the original bytes.