Request negotiation · Request header
Accept-Language
Preferred human languages for the response.
What is Accept-Language?
Sent by browsers to indicate the user's preferred languages, ordered by q-value. Servers use it to pick a localized version.
Typical usage
Read by servers that serve localized content.
Examples
Accept-Language: en-US, en;q=0.9, fr;q=0.8Specification
RFC 9110 §12.5.4
Frequently asked questions
What is the Accept-Language HTTP header?
Sent by browsers to indicate the user's preferred languages, ordered by q-value. Servers use it to pick a localized version.
Is Accept-Language a request or response header?
Accept-Language is a request header — the client sends it to the server. Read by servers that serve localized content.
What does a Accept-Language header look like?
A typical Accept-Language header looks like: Accept-Language: en-US, en;q=0.9, fr;q=0.8.
Related headers
Vary
Which request headers cause different cached variants of the response.
Accept
Which media types the client can process.
Accept-Encoding
Which content encodings (compressions) the client accepts.
User-Agent
The client software identifying itself.
Host
The requested host name and port.
Referer
The URL of the previous page that led to this request.