Skip to Content
Platform.Ontology

Client Hint: platform version

Exact operating system version, via a high-entropy Client Hint.

Gets silentlyDevice detailsClient HintsWeb browsersWhen the page loadsWhile you use it

In one line

Can tell your exact Windows or macOS version when it asks

Exact operating system version, via a high-entropy Client Hint.

Only way left on Chromium to tell Windows 10 from 11 (major 13 or higher means 11) or macOS 14 from 15. Lets sites ship OS-specific features or target upgrade prompts.

What it can and can't do

What the user does: Nothing. The site asks and Chromium answers without a prompt

It can

  • Tell Windows 10 from Windows 11 (major 13 or higher means 11)
  • See your macOS or Android version
  • Turn on OS specific features or upgrade prompts
  • Use the version as a tracking clue

It cannot

  • Work in Firefox, Safari, or on iPhone
  • See your patch level or install date
  • Get an answer until the site asks for it
  • See other apps on your system

How it differs between platforms: Only Chromium browsers share it. Firefox and Safari do not.

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported902021-04-13None
EdgeSupported902021-04-15None
FirefoxNot supportedNot availableNot listedNone
SafariNot supportedNot availableNot listedNone
Safari on iPhoneNot supportedNot availableNot listedNone
Chrome on AndroidSupported902021-04-13None
Samsung InternetSupported23.02023-10-18None

How a site asks for it

APIgetHighEntropyValues(['platformVersion']); Sec-CH-UA-Platform-Version
Browser compat keysapi.NavigatorUAData.getHighEntropyValues
How access is grantednone
What the user seesNone
Needs a secure context (HTTPS)Yes
Needs a user gestureNo
How long it lastsread fresh on every page load; nothing stored
How to take it backnone needed (no grant)
Inside an iframeReadable from cross-origin iframes too (same values)

Typical flow

  1. Page script reads the value
  2. No prompt is shown

Data you get

Shape: object
How often: static per session

FieldTypeUnitRangePrecision
platformVersionstringmajor.minor.patchWindows 0.x to 10.0.0 (Win10), 13.0.0 and up (Win11); macOS 10 to 26; Android 8 to 163 numbers

Technical limits

  • Chromium only
  • macOS UA still says 10_15_7 so hint is the only truth

The story

What it is

Tells a site your exact operating system version, such as Windows 11 or macOS 15.

For you

You never see it asked. It mainly helps a site avoid giving you features your system cannot run, or nudge you to update when you are far behind.

For makers

On Chrome it is the only way left to tell Windows 10 from Windows 11. Makers use it to ship OS-specific features and to target upgrade messages. Security teams use it to spot old, risky systems.

Where you see it

TypeExampleApps
developerA web app uses the exact OS version to turn on Windows 11 window effects only where they work.None named
gamesA browser game loads its WebGPU path only on OS versions that have a stable driver.None named
mediaA streaming site picks the right DRM protection level for the operating system.Netflix, Disney+
enterpriseAn IT dashboard in the browser highlights staff laptops still on an old OS version.None named
securityA bank shows a gentle update warning for visitors running an unsupported OS.None named
adsA software vendor targets users still on Windows 10 with a new PC promotion.None named

Risks

  • Reveals out-of-date systems
  • Narrows down who you are

What the platform says

Good uses and abuse

Legitimate uses

  • Windows 11 feature gates

Known abuse

  • Version targeting for known OS exploits

Scores

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits3Rough identifying entropy, when known

History

  • 2022-10, Chrome 107: UA string stopped carrying OS minor version; hint becomes sole source

Sources

How well checked: Based on official documentation.

On this page