How it works
Upload an image and the tool reads its exact bytes and encodes them as a Base64 data URI — ready to copy and paste directly into an <img src> attribute or a CSS background-image.
Convert an image into a Base64 data URI — no sign-up, no upload, no file size limit.
Drop an image here, or click to browse
Your files never leave your device. Everything runs locally in your browser — nothing is uploaded to a server, so there's no file size limit, no subscription, and no one but you ever sees what's in your file.
Upload an image and the tool reads its exact bytes and encodes them as a Base64 data URI — ready to copy and paste directly into an <img src> attribute or a CSS background-image.
It lets you embed an image's actual data directly inside HTML, CSS, or JSON instead of linking to a separate file — useful for small icons, inline email images, or avoiding an extra network request for a tiny graphic.
Yes — Base64 encoding is about 33% larger than the original binary file, since it represents binary data using only text characters. It's a trade-off for embedding convenience, not a way to save space.
No — this reads your file's exact original bytes and encodes them as-is, so there's no quality loss beyond what your original file already had.
No. This tool runs entirely in your browser using JavaScript — your image is read and encoded without ever being sent to a server.
Change an image's width and height, with an option to lock the aspect ratio.
Drag to select the area you want, then crop an image right in your browser.
Rotate an image 90°/180°/270° or flip it horizontally and vertically.
Convert between JPG, PNG, and WebP.
Keep a backup of your original file. This tool processes everything locally in your browser, and we've tested it carefully — but no conversion tool handles every PDF perfectly. Always keep your original file and double-check important results before relying on them.