Nothing you open here is ever uploaded

Turn an image into a Base64 data URL

Handy for small icons you would rather inline than serve as a separate request. Remember that Base64 makes a file about a third bigger, so it is a bad trade for anything large.

This page loads no libraries at all — the work is done by the browser itself. Your file is read on your own machine and never sent anywhere — open your browser's network tab and watch while you use it.

Questions

When should I inline an image?

For small icons and sprites where the extra request costs more than the extra bytes. Over about 10 KB it is usually not worth it.

Which formats work?

Any your browser can read — PNG, JPG, WEBP, GIF, SVG.

Other images tools

Everything here is free and works the same way — in your browser.