User-Agent Client Hints (UA-CH) are a set of HTTP request headers, all starting with Sec-CH-UA, that describe the browser, platform and device in separate structured fields. They are meant to replace the detail removed from the User-Agent string: the browser sends a little by default and more only when the server asks.
The headers are specified in the WICG’s User-Agent Client Hints draft, which builds on the HTTP Client Hints framework in RFC 8942.
How it works
Chromium-based browsers send three low-entropy hints by default: Sec-CH-UA (brands and major versions), Sec-CH-UA-Mobile and Sec-CH-UA-Platform. A server that wants more replies with an Accept-CH header listing the hints it needs, such as Sec-CH-UA-Full-Version-List, Sec-CH-UA-Platform-Version, Sec-CH-UA-Arch, Sec-CH-UA-Bitness or Sec-CH-UA-Model, and the browser includes them on later requests. Scripts can read the same data through navigator.userAgentData and its getHighEntropyValues() method.
Firefox and Safari don’t implement UA-CH.
How bot detection uses it
Client Hints give detection more claims to cross-check:
- The hints must agree with the User-Agent string: same brand, version and platform.
- They must agree with JavaScript: the headers and
navigator.userAgentDatashould report the same values. - They must fit the browser. A request that claims to be Firefox or Safari and carries
Sec-CH-UAheaders is lying about something.
A script that copies a Chrome User-Agent string but sends no hints, or hints for a different version, gives itself away. Anti-detect browsers patch the hints too, so they are one check among many rather than proof.
See which hints your browser sends with the browser fingerprint test.
The user agent checker shows the Client Hints your browser sends, including the real OS version the user agent string no longer carries.