Image to Base64
Encode an image as a data URI.
Runs entirely in your browser — nothing you enter is uploaded, logged, or tracked.
Turn an image into a Base64 data URI you can paste straight into an <img> tag, CSS background, or stylesheet — inlining it so it loads with the page and needs no extra request.
Frequently asked questions
When should I inline an image as Base64?
For small images (icons, tiny backgrounds) where avoiding an extra HTTP request matters. Large images are better left as files — Base64 is ~33% bigger than the original bytes.
Is my image uploaded?
No — the file is read and encoded in your browser with the FileReader API, so nothing leaves your device.