Sec-CH-UA low entropy hints and reduced User-Agent
Chromium sends brand, mobile flag and platform in every request by default, with a frozen User-Agent string.
In one line
Can see your browser brand, major version, phone or computer type, and system in Chromium browsers
Chromium sends brand, mobile flag and platform in every request by default, with a frozen User-Agent string.
Sec-CH-UA lists browser brands and major versions (with a GREASE brand), Sec-CH-UA-Mobile and Sec-CH-UA-Platform. The User-Agent string is frozen to a reduced form in Chrome 110 and later.
What it can and can't do
What the user does: Nothing. Chrome, Edge and Samsung Internet send it with every request
It can
- See your browser brand and its main version number
- Tell if you are on a phone or a computer
- See your operating system name
- Ask for more detail such as exact version or device model, which the browser may then share
It cannot
- See your exact device model or full version unless it asks and the browser agrees
- Get this from Firefox or Safari, which do not send it
- See your name or account
- Rely on the older browser name string, which is now kept short and generic
How it differs between platforms: Chrome, Edge and Samsung Internet send it by default. Firefox and Safari, including all iPhone browsers, do not.
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 90 | 2021-04-13 | None |
| Edge | Supported | 90 | 2021-04-15 | None |
| Firefox | Not supported | Not available | Not listed | None |
| Safari | Not supported | Not available | Not listed | None |
| Safari on iPhone | Not supported | Not available | Not listed | None |
| Chrome on Android | Supported | 90 | 2021-04-13 | None |
| Samsung Internet | Supported | 23.0 | 2023-10-18 | None |
How a site asks for it
| API | Sec-CH-UA, Sec-CH-UA-Mobile, Sec-CH-UA-Platform request headers; navigator.userAgentData |
| Browser compat keys | api.NavigatorUAData |
| How access is granted | none |
| What the user sees | Not listed |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | Not listed |
| How to take it back | Not listed |
| Inside an iframe | Not listed |
Typical flow
- Browser attaches headers by default
- Server reads
- Script can call getHighEntropyValues
Data you get
What comes back: 3 headers
Shape: list
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
Sec-CH-UA | string | None | brand list with versions | exact major version |
Technical limits
- Platform string quantized, GREASE brand randomizes order
- Firefox and Safari do not send it
The story
What it is
Chrome based browsers tell every site your browser brand, whether you are on mobile, and your system type.
For you
You never see it. Each page request includes a short note: your browser brand, if it is a phone, and your platform. A site asks for more detail, such as device model, only if it needs it.
For makers
Makers use the basic note to serve the right layout, the right app download link and the right video format. The old long browser string is frozen, so finer detail needs an extra request, which browsers can limit.
Where you see it
| Type | Example | Apps |
|---|---|---|
| media | A video site reads the platform and mobile flag and offers a phone friendly player without any page code running first. | YouTube |
| games | A browser game portal sees you are on a phone and loads touch controls and a lighter graphics build. | None named |
| ads | An ad network picks banner sizes that fit mobile or desktop, and filters traffic whose claimed browser does not match its hints. | None named |
| shopping | A store shows a link to its Android app on Android and its iPhone app on iOS using the platform hint. | None named |
| analytics | A dashboard counts visits by browser brand and system without relying on the old, hard to read string. | None named |
| security | A login system notes the brand and platform of a trusted device, and flags a sudden change as suspicious. | None named |
| developer | A developer decides which older browsers to still support by reading hint counts from live traffic. | None named |
Risks
- Narrows a fingerprint
- Chromium only
What the platform says
- Google Chrome: User-Agent Client Hints. Chrome freezes the old browser string and shares details only when a site asks, to cut passive tracking.
Good uses and abuse
Legitimate uses
- Compatibility detection
Known abuse
- Browser and OS identification
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 2 of 5 | How revealing the data is |
| Utility | 4 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 2 | Rough identifying entropy, when known |
History
- 2022-05, Chrome 101: Minor versions zeroed
- 2023-06, Chrome 110: User-Agent reduction on all platforms
Related capabilities
Related
- Client Hints (Accept-CH, Critical-CH). Can ask your browser for extra device details such as model, OS version and screen
Sources
How well checked: Based on official documentation.