Image to Data URI

Turn an image file into a data URI you can embed in CSS, HTML, or markdown. Upload or drop a PNG/JPEG/GIF/WebP/SVG (max ~5 MB), or paste an existing data URI to normalize it. Everything stays in your browser.

Ideal for tiny icons and offline demos. Large photos create huge strings - keep files small.

Input
Paste or type your content here…
Output
Your result will appear here

Frequently Asked Questions

Is my image uploaded?
No. FileReader runs locally; nothing is sent to a server.
Why a 5 MB limit?
Data URIs expand ~33% and can freeze the editor. Use CDN/static hosting for large assets.