Using a data URI
Click Copy as data URI and paste it wherever a URL is expected:
<img src="data:image/png;base64,iVBORw0KGgo…" alt="">
Or click Copy as CSS background for a complete background-image rule.
When to inline images — and when not to
Inlining saves an HTTP request, which helps for tiny icons, email signatures and single-file HTML documents. But Base64 is a third larger than the original, can't be cached separately, and blocks rendering while the HTML or CSS downloads. As a rule of thumb, keep inlined images under about 10 KB and serve larger ones as normal files. For SVG icons, plain URL-encoded SVG is often smaller than Base64.


