How to use the Image to Base64
- 1Drop an image or paste one with Ctrl+V.
- 2Pick the snippet you need: data URI, HTML or CSS.
- 3Copy it into your code.
Advertisement
Frequently asked questions
Are my files uploaded anywhere?
No. Everything runs inside your browser on your own device. Nothing is sent to a server, so it works even offline once the page has loaded.
When should I inline images as Base64?
For small icons and images (under ~10 KB) it saves a network request. Larger images are better served as normal files because Base64 adds ~33% to their size.