Browse all 103 browser-based tools (103 currently marked free), or tell us what useful utility we should build next.
HTTP content negotiation
Parse Accept-Language priorities and compare them with available locales. Inspect q-values and the lookup result before debugging server negotiation.
Input is processed locally in this browser
Parse priorities, validate q-values, and run RFC 4647 language lookup.
Separate tags with commas or new lines. The first equally suitable tag wins.
Parsed ranges
5
Available tags
5
Best lookup match
fr
| Priority | Language range | Quality | Meaning |
|---|---|---|---|
| 1 | fr-CA | 1.000 | Acceptable |
| 2 | fr | 0.900 | Acceptable |
| 3 | en-US | 0.800 | Acceptable |
| 4 | en | 0.700 | Acceptable |
| 5 | * | 0.100 | Acceptable |
An HTTP Accept-Language field expresses client locale preferences rather than a binding server choice. Each comma-separated language range carries an optional quality weight (q-value from 0.000 to 1.000) that ranks preferences while q=0 explicitly marks a range as unacceptable. The lookup result depends on the available locale list you supply, and a production application may still override header negotiation with account settings, URL prefixes, or a cookie.
Accept-Language: name is optional.| Range or token | Parsed quality weight | RFC 4647 lookup behavior |
|---|---|---|
| fr-CH | q=1.000 (implicit default) | Tries fr-CH first, then truncates subtags to fr if no exact match exists. |
| fr;q=0.9, en;q=0.8 | q=0.900 then q=0.800 | Evaluates higher q-values first; header order breaks ties when weights are equal. |
| de;q=0 | q=0 (explicitly excluded) | Marks de as unacceptable even if a wildcard * appears elsewhere. |
| *;q=0.5 | q=0.500 wildcard | Matches the first non-excluded available server locale when specific ranges miss. |
en;q=0.8 does not mean the user understands 80% English. It only ranks English below ranges with a larger q-value. Three decimal places are allowed; q=1.0000 and q=1.1 are invalid.
When fr-CA is unavailable, lookup can fall back to fr. It does not automatically choose fr-FR as an exact regional substitute unless that tag matches a progressively truncated range in the offered list.
Syntax and quality semantics follow RFC 9110 §12.5.4. Matching follows the lookup scheme in RFC 4647 §3.4. The tool validates the field's practical grammar, but it does not download the current IANA Language Subtag Registry or prove that every well-formed subtag is registered.
If a response changes by language, evaluate whether the response needs Vary: Accept-Language; adding it blindly can fragment shared caches. Account settings, explicit URL locales, or a language selector are usually more stable than passive header detection.
A language range without q has the default quality value 1, the highest preference. The order still breaks ties between ranges with equal quality, so the parser preserves original position while sorting the report.
RFC 9110 defines quality value zero as not acceptable. The matcher therefore excludes an available tag covered by a q=0 range instead of treating it as a low-priority fallback.
No. The result applies RFC 4647 lookup to the preferences and available tags you enter. A real origin can ignore the header, use another matching scheme, apply account settings, or return a default representation.
No. Header parsing and locale lookup run in the active browser tab. Toolk page analytics do not receive the header or the available language list entered into this tool.
Last updated: September 15, 2026