In-browser tool

Image to Base64

Turn any image into a data URI or raw Base64 string — nothing is uploaded.

Drop an image to encode
JPG · PNG · WEBP · GIF · SVG
Everything runs in your browser — your input is never uploaded.

How it works

01
Type or paste your input
02
Get the result instantly
03
Copy the result

Frequently asked questions

When should I use Base64 images?

For tiny icons embedded in CSS/HTML or emails. Base64 is ~33% larger than the file, so keep big images as normal files.

Is my file uploaded to a server?

No. This tool runs entirely in your browser. You can open your browser's network tab and verify no request carries your file.