data-url *

URLs with the data scheme are special URLs that embed the resource in-place inside the URL, eliminating the need for additional network calls.

They take the form:
data:[<mediatype>][;<encoding>],<data>

The mediatype is optional and defaults to text/plain with charset US-ASCII.

The encoding can be omitted or specified as base64 (with padding but no newline). base64 introduces a 33% size overhead, but if the encoding is omitted, the data still needs to be percent-encoded, which can negate some of the overhead.

Limitations:

<img src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==">
transparent_pixel.gif:
43b
compressed:
48b
encoded:
60b
compressed:
50b
Paste, drag & drop,
or .