Inlining a tiny icon
A 500-byte icon costs more as a request than as characters. Inlining removes a round trip on the critical path.
Convert an image into a data URI you can paste into CSS or HTML.
Drop an image here, or choose a file
PNG, JPEG, WebP, GIF or SVG. The file stays on your device.
Images are decoded in memory and re-encoded with the browser's canvas. Nothing is uploaded.
Image to Base64 reads a local image file and returns a data URI — the file's bytes encoded as Base64 with a MIME prefix. Embedding an image this way removes an HTTP request, which is useful for tiny icons, email templates and single-file prototypes.
A 500-byte icon costs more as a request than as characters. Inlining removes a round trip on the critical path.
Many mail clients block remote images. Inlining small logos means they render without the recipient allowing downloads.
Shrink JPEG, PNG and WebP files in your browser with a quality slider.
Convert colours between HEX, RGB and HSL notation.
Live word, character, sentence and reading-time counts.
Switch text between sentence, title, upper, lower, camel and snake case.
Hand-picked hubs, guides and companion tools related to this page.
Last reviewed 2026-07-29. Browse the full directory.