Base64 Image Data URI Encoder

Convert small icons or graphics into inline Base64 data URIs and ready-to-paste CSS background snippets locally.

Choose a local PNG, JPEG, or WebP image (processed 100% offline in your browser)

Common questions

When should I use a Base64 image instead of a normal file?

Use Base64 only for tiny icons or placeholders under 4 KB; larger Base64 strings bloat HTML and cannot be cached separately.

How much larger is Base64 than raw binary?

Base64 encoding adds roughly 33% size overhead compared to the original binary image file.