Image to Data URI
Create a data URI — a complete image embedded in a single string — ready to paste into HTML or CSS.
Processed locally in your browser
How to use
- 1
Add an image.
- 2
Copy the data URI, or a ready-made CSS or HTML snippet.
- 3
Paste it into your code.
Frequently asked questions
Is the MIME type detected correctly?
Yes. The type is detected from the file contents, not the extension, so the data URI always declares the right format.
Are data URIs cached by browsers?
Not separately — they are cached as part of the file that contains them. Use them for small, frequently used images only.
Are my images uploaded?
No. This tool runs entirely in your browser, so your images never leave your device.