Loading...
Loading...
Encode an image to a Base64 data URI, CSS background, or raw string — right in your browser. Copy with one click. Never uploaded.
Working with an old photo? Restore it with our AI photo restoration tool →
Base64 encoding turns an image into a text string you can embed directly in HTML, CSS, JSON, or a data URI — no separate file or network request. It shines for tiny assets: icons, small backgrounds, email-embedded images, and inline SVG fallbacks.
The trade-off: Base64 is about 33% larger than the original file and can't be cached on its own. So encode small images inline, and keep photographs and large graphics as regular files.
Repair scratches, fading, and blur — or colorize black-and-white — in about a minute.
Try AI Photo Restoration →