The HTTP Link entity-header field provides a means for serialising one or more links in HTTP headers. It is semantically equivalent to the HTML <link> element.


Link: < uri-reference >; param1=value1; param2="value2"
The URI reference, must be enclosed between < and >.


The link header contains parameters, which are separated with ; and are equivalent to attributes of the <link> element.


The URI (absolute or relative) must be enclosed between < and >:

Link: <>; rel="preconnect"
Link: https://bad.example; rel="preconnect"

You can specify multiple links separated by commas, for example:

Link: <>; rel="preconnect", <>; rel="preconnect", <>; rel="preconnect"


Specification Status Comments
RFC 8288, section 3: Link Serialisation in HTTP Headers IETF RFC
RFC 5988, section 5: The Link Header Field IETF RFC Initial definition

Browser compatibility

No compatibility data found for http.headers.Link.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.

See also