Image to Base64

Encode an image as a Base64 data URL.

Loading tool…

How it works

  1. Choose an image.
  2. Read it as a data URL.
  3. Copy the Base64 string.

Features

  • Data URL output
  • Copy to clipboard
  • Works with common formats
  • No server upload

FAQ

Is the image uploaded?

No. FileReader runs locally.

When should I use Base64?

For small assets embedded in HTML/CSS. Large images bloat HTML.

Does it include the data: prefix?

Yes. Output is a full data URL.