Encode an image to Base64
Drop an image and ConvertICO encodes it to Base64 on the spot, then hands you every shape you might paste it into: a data URI, a CSS background, an HTML img tag, Markdown, or the bare string. It never leaves your machine.
Drop an image, or
PNG, JPG, GIF, WebP, SVG, or ICO. Encoded on your device, never uploaded.
How it works
Base64 turns a binary image into plain text, so you can drop it straight into a stylesheet, an HTML file, or a Markdown note with no separate image request. Load an image, press Encode, then switch between the shapes you might paste it into: the full data URI, an HTML img tag, a CSS background rule, Markdown, or the bare Base64 string. Keep in mind the text version is roughly a third larger than the file, so it suits small icons and logos rather than big photos. Nothing is uploaded.
Runs entirely in your browser. Your file is never uploaded.