Summary
- RFC 2397, written by Larry Masinter of Xerox Corporation in August 1998, defined
data:for small “immediate” payloads: an optional media type, an optional;base64flag, and a comma before the data. - By folding the bytes into the address itself, the scheme moved the decisive control surface from a remote retrieval path to the local URL consumer, media handler and buffer boundary.
Most addresses are promises of a journey. You hand a client a locator, it goes somewhere else, and something comes back. In August 1998, Larry Masinter of Xerox Corporation filed a specification for a smaller and considerably stranger arrangement: the address would arrive with the luggage already inside it. RFC 2397 called it the data: URL, and its whole grammar fits on one line—data:[<mediatype>][;base64],<data>. The notation is modest. The architectural move is not.
Masinter’s phrase was “immediate addressing,” and the adjective earns its keep. A data: URL does not hide a small server behind the comma. For the embedded item there is no second location to consult, no round trip to lose, no host to go down at 3 a.m. The consumer splits the declaration from the payload and interprets the resulting octets according to the declared media type. Address and cargo have been welded into one serialized object: a locator that is also the thing located.
The grammar of a self-contained address
The object still obeys rules. Omit the media type and it defaults to text/plain;charset=US-ASCII. A charset may be supplied while the text/plain shorthand stays omitted. The bare token ;base64 selects base64 and is deliberately not an ordinary content-type parameter, because it has no equals sign. Without it, octets represented by safe URL characters appear directly, while everything else takes %xx escaping. Base64 is a representation choice—not encryption, not authentication, not permission—a distinction the industry has been rediscovering painfully ever since.
The scheme also refuses a familiar convenience: RFC 2397 defines no relative form. There is nothing for a base URL to complete, because the defining act is already present. The string says what kind of data follows and then supplies it. That boundary keeps data: distinct from the relative-reference machinery that made documents movable. One mechanism borrows an address from context; the other carries its own bytes and owes context nothing.
Small by decree: the 1,024-character ceiling
The specification keeps insisting on smallness, and the numbers it cites are a time capsule of HTML 2.0: 1,024 characters for a single attribute-value literal, 2,100 for all attribute values in a tag, and 2,100 for the tag itself. Its inline GIF is described as sitting near the edge of usefulness. Those ceilings were properties of a surrounding format, not laws of nature—but they illustrated a durable point: a syntax may cheerfully admit a sequence that the host grammar, the allocation strategy or the implementation cannot sensibly swallow.
The firewall that cannot see the cargo
The security section makes the distinction concrete. A proxy can refuse to retrieve a disallowed media type from somewhere else. Policing bytes that arrive already wrapped inside a locally handled locator is harder, because there is no retrieval to intercept. RFC 2397 therefore pushes responsibility onto the application: it should not interpret a data: value whose declared type its configuration forbids. The relevant gate is the component that turns bytes into behaviour.
The same section warned that the effects of very long values were unknown, and that software could behave unreasonably when data exceeded an allocated buffer. Policy and capacity in one breath. A consumer must decide both whether a media type may run and whether the input can be processed safely—and a network path that never fetches the embedded item cannot make either decision on the consumer’s behalf.
From a 1995 draft to a one-line standard
The document’s history shows this was no abstract exercise. The idea dates to August 1995 and had already surfaced in VRML, in embedded-data proposals for HTML, in commercial products, and in parameters for Java and ActiveX objects. The syntax was tightened along the way: media-type elision became possible, the base64 indicator became leaner, and quoted-printable was dropped entirely because URL escaping already supplied the necessary representation.
Errata: what the record actually settles
Later errata are part of the record, though not all of them carry equal weight. Two verified corrections replace an impossible %fg example and change the imported RFC 2396 production from the undefined urlchar to uric. A reported proposal and a held-for-update report expose genuine ambiguity around quoted media-type parameters and delimiters; they are warnings about the edge, not verified replacement text. And a proposal to rename every “URL” as “URI” was rejected, on the grounds that the original terminology was historically correct—the most ambitious errata turned out to be the one nobody needed.
Why a 1998 memo still reads like a warning label
RFC 2397’s lasting lesson is about control, not novelty. When an address contains the thing it names, control does not vanish. It relocates. The parser chooses where metadata ends. The decoder reconstructs the octets. The media handler decides what they mean. The application decides what it will permit. The buffer decides what it can survive. The shortest retrieval path turns out to be the path on which local discipline matters most—which is why a short specification about inline GIFs still reads like a warning label for every system that ever trusted a string simply because it looked small.
Sources
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






