What this tool does
Upload an image and instantly get a data URI string you can embed in HTML, CSS, or JSON. Uses FileReader—nothing leaves your device.
Example input/output
Illustrative sample — your real inputs may look different.
Example input
icon.png (2 KB)
Example output
data:image/png;base64,iVBORw0KGgoAAAANSUhEU... (full data URI)
How to use
- Upload or drag an image into the drop zone.
- Copy the Base64 data URI from the output box.
- Paste into your HTML, CSS, or wherever you need an inline image.