imgto64

// convert any image into a self-contained base64 data url — no server, no upload

Drop image here
or click to browse
PNGJPEGGIFWEBPSVGBMP
1
Reading
2
Optimising
3
Encoding
4
Building URL
Done
Preview
DATA URL
// how it works
01
File picked
Browser receives a File object from your disk. Nothing is uploaded anywhere.
02
Optimised
Drawn onto a Canvas, resized if over 2048px, and re-encoded as WebP at 82% quality to shrink the output.
03
Base64 encoding
Binary is encoded to Base64 — ASCII-safe text, ~33% larger than the optimised file.
04
URL assembled
Prefixed with data:[mime];base64, — a complete, self-contained image URL.
100% client-side · no server · no storage · image never leaves your device · works offline
imgto64 Chrome Extension
Convert images without leaving any page · right-click any image
Get it free
11 tools Free
imgto64 Tools
Batch convert · resize · format convert · metadata strip · CSS/HTML snippets · favicons · QR codes
Explore tools