Image tools
Image to Base64 Converter
Embed small images straight into HTML, CSS or JSON as Base64 data URIs, with ready-made snippets to copy.
- Files never leave your device
- Free, no sign-up
Base64 suits images under ~10 KB; larger ones load faster as normal files.
How to use the Image to Base64 Converter
-
1
Drop an image onto the box or choose one.
-
2
Copy the data URI, the <img> tag or the CSS background rule.
-
3
Paste it into your HTML, CSS or email template.
Frequently asked questions
When should I use Base64 images?
For tiny icons and placeholders (a few KB) where saving a request helps. Base64 makes files about 33% bigger and can't be cached separately, so keep large images as normal files.
Is my image uploaded?
No. It is read and encoded in your browser.