Accept-Language
A request header listing preferred languages.
Overview
Accept-Language is a request header that lists the languages a user prefers, with optional quality values. It is a hint, not a guarantee: servers may ignore it, and users can override it in browser settings or via a proxy.
Parse the q-values correctly, fall back to a default locale, and send a Content-Language response header plus a Vary: Accept-Language header when the response changes by language. Never use the header for access control or to infer nationality.
Examples
Example values show how this term appears in practice; run a live check for current values.
Row labels and notes are localized; values keep the source form used by the record or tool.
| Case | Values | Note |
|---|---|---|
| Browser | Accept-Language: en-US,en;q=0.9 | Value captured at review time. |
| Chinese | Accept-Language: zh-CN,zh;q=0.9 | Value captured at review time. |
| Quality values | fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5 | Value captured at review time. |
| Response | Content-Language: enVary: Accept-Language | Value captured at review time. |
| Default | no header or no matching language → en | Value captured at review time. |
| Wildcard | *;q=0.5 matches any language | Value captured at review time. |
| q=0 | language explicitly not acceptable | Value captured at review time. |
| Cookie | user-selected locale overrides the header | Value captured at review time. |
| Cache | Vary: Accept-Language splits caches by language | Value captured at review time. |
| Privacy | the header can hint at a user community | Illustrative example, not a live observation. |
How to use it
- Open Content Negotiation and run it against a real target such as https://example.com.
- Compare the raw answer with the definition and the example above; do not rely on the summary alone.
- If the answer differs, use the troubleshooting checks below and confirm with a second source before changing anything.
What to watch for
- Accept-Language can be cached for its TTL, so a change may look missing until caches expire; compare the record's TTL with the age of the answer.
- Cookie scope is set by Domain, Path, SameSite and Secure; a broad Domain makes Accept-Language first-party across every subdomain.
- A result applies only to the exact target, configuration and scope you tested; check sibling names, hosts or paths separately.
Why it matters
Compression, caching, CORS, cookies and security policy headers.
2 tools use this term
HTTP / WebWhere to check it
Use Content Negotiation, Exit IP Fingerprint to inspect it directly. Each tool shows the raw result and its limitations.
HTTP / WebCommon problems and fixes
Why do responses differ only in encoding?
Language may be chosen by path or cookie rather than the Accept-Language header.
From Content NegotiationBlocked or filtered: compare a public resolver and check firewall, proxy and content-filter rules.
An old value persists: wait for the TTL to expire, then query the authoritative server directly.
Used in these tools
2 toolsStandards and references
Frequently asked questions
What is Accept-Language?+
A request header listing preferred languages.
How do I check Accept-Language?+
Use Content Negotiation, Exit IP Fingerprint to inspect it directly. Each tool shows the raw result and its limitations.
Why does Accept-Language matter?+
It affects how HTTP / Web results are read. Compression, caching, CORS, cookies and security policy headers.
What is a common mistake?+
Caching without Vary. A shared cache can serve the wrong language or encoding for Accept-Language.
How this page is written
Definitions are compiled from the 244 tool pages, checked against the standards below, and reviewed by Steve. Each term links to the tools where it is used.


