User-Agent Client Hints: what replaced the User-Agent string
Chromium browsers have cut down the User-Agent string and moved its details into User-Agent Client Hints: a set of HTTP headers and a JavaScript API that reveal less by default and more only on request. For years the User-Agent string told every site the exact browser version, the operating system and often the device model.
Check your browser right now
Checking your browser…
Why the User-Agent was reduced
The full User-Agent string was a ready-made fingerprint, sent with every request whether the site needed it or not. Chrome finished reducing it in 2023: the minor version numbers are now zeros, Windows always appears as Windows NT 10.0, and Android device models are hidden. Those details moved to Client Hints, where a site has to ask for them.
What is sent by default
Without being asked, Chromium browsers send three low-entropy hints with every request:
- Sec-CH-UA: the list of brands with their major versions, for example Google Chrome and Chromium.
- Sec-CH-UA-Mobile: ?1 on phones, ?0 everywhere else.
- Sec-CH-UA-Platform: the operating system name, such as "Windows" or "Android".
The brand list also contains a deliberately odd entry such as "Not(A:Brand". It changes between versions, so sites have to parse the list properly instead of matching fixed strings.
High-entropy hints
More detail is available on request: the exact platform version, CPU architecture and bitness, the device model and the full version of each brand. A server asks for them with the Accept-CH response header and receives them on later requests; a script reads them with navigator.userAgentData.getHighEntropyValues(). This is the reliable way to tell Windows 11 from Windows 10, for example: on Windows 11 the platform version starts at 13.
Which browsers support them
Chrome, Edge, Opera, Brave and other Chromium-based browsers support them. Firefox and Safari do not implement Client Hints, so sites still have to read the User-Agent string for those browsers. A missing hint in Firefox or Safari is normal and says nothing about spoofing.
Why Client Hints help detect spoofing
The same facts now live in several places: the User-Agent header, the Sec-CH-UA headers, navigator.userAgent and navigator.userAgentData in the page, and the same values inside a Web Worker. A real browser keeps them consistent. Spoofing tools often change the User-Agent string and forget the hints, or change the JavaScript values and leave the headers alone.
The SpoofLens check compares all of them: the browser version in the User-Agent and in Client Hints, the platform each source names, whether they agree on mobile or desktop, and whether the Sec-CH-UA-Platform header matches what JavaScript reports. Every mismatch is shown with an explanation.
For website owners
- Read Client Hints for Chromium browsers and fall back to the User-Agent string for the rest.
- Request only the high-entropy hints you actually use, because each one adds identifying detail.
- Do not treat missing hints in Firefox or Safari as suspicious.
- Treat a disagreement between the User-Agent and the hints as a risk signal. On its own it does not prove spoofing.
Frequently asked questions
- Can I see my own Client Hints?
- Yes. The full SpoofLens browser check shows the Client Hints your browser sent next to the values JavaScript reports.
- Do Client Hints make fingerprinting harder?
- Somewhat. Less is sent by default, and a request for more is visible. A site that asks for every high-entropy hint still gets detailed data, though.
- Is the User-Agent string going away?
- No. Browsers still send it, though Chromium browsers put less detail in it. Many sites and tools still rely on it.