navigator.platform
Legacy string naming the OS family such as Win32, MacIntel, Linux x86_64 or iPhone.
In one line
Can see a short label for your OS family, like Win32, MacIntel, or iPhone
Legacy string naming the OS family such as Win32, MacIntel, Linux x86_64 or iPhone.
Coarse OS signal that is deprecated but still returned. Often frozen to a fixed value (Win32 on 64-bit Windows, MacIntel on Apple Silicon), so it carries little entropy but reveals spoofed user agents when it disagrees.
What it can and can't do
What the user does: Nothing. It happens when the page loads
It can
- See a coarse OS name, such as Win32 or Linux x86_64
- Compare it with the user agent to spot a fake
- Pick OS specific help text or downloads
It cannot
- See your OS version or chip; it is often frozen
- Tell 32 bit from 64 bit Windows
- Learn much; it carries little detail
- See your name, location, or accounts
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 1 | 2008-12-11 | None |
| Edge | Supported | 12 | 2015-07-29 | None |
| Firefox | Supported | 1 | 2004-11-09 | None |
| Safari | Supported | 1 | 2003-06-23 | None |
| Safari on iPhone | Supported | 1 | 2007-06-29 | None |
| Chrome on Android | Supported | 18 | 2012-06-27 | None |
| Samsung Internet | Supported | 1.0 | 2013-04-27 | None |
How a site asks for it
| API | navigator.platform |
| Browser compat keys | api.Navigator.platform |
| How access is granted | none |
| What the user sees | None |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | read fresh on every page load; nothing stored |
| How to take it back | none needed (no grant) |
| Inside an iframe | Readable from cross-origin iframes too (same values) |
Typical flow
- Page script reads the value
- No prompt is shown
Data you get
Shape: object
How often: static per session
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
platform | enum | None | Win32, MacIntel, Linux x86_64, Linux armv81, iPhone, iPad, Android-like strings | frozen values since about 2020 |
Technical limits
- Deprecated by spec but not removed
- Cannot distinguish Apple Silicon from Intel
The story
What it is
An old text field naming your operating system family, like Win32 or MacIntel.
For you
You never see it. It still tells a site your system family, but modern browsers often freeze it to a fixed value, so it often says Win32 even on a 64 bit machine.
For makers
Sites use it to show the right download button and keyboard shortcut. It is low value now, so it is mostly used to cross check other signals.
Where you see it
| Type | Example | Apps |
|---|---|---|
| developer | A download page shows the Windows button for Win32 and the Mac button for MacIntel. | Slack, Zoom |
| productivity | A web app shows Cmd shortcuts on a Mac and Ctrl on Windows. | Google Docs, Notion |
| games | A browser game picks keyboard hints and fullscreen steps for each system. | None named |
| security | A fraud tool flags a visitor whose platform is Linux but whose user agent says iPhone. | None named |
| analytics | A traffic dashboard counts visits by operating system. | Google Analytics |
| ads | An advertiser targets Mac users with a premium offer when the platform says MacIntel. | None named |
Risks
- Low value alone
- Handy for cross checks
What the platform says
- MDN: Navigator.platform. Docs mark it as deprecated and say it should not be used for new features.
Good uses and abuse
Legitimate uses
- Legacy code paths
Known abuse
- UA-spoof consistency check
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 1 of 5 | How revealing the data is |
| Utility | 2 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 2.3 | Rough identifying entropy, when known |
A real example: LinkedIn
Collected as platform. Read by the LinkedIn APFC fingerprint script (48 features, alleged by BrowserGate, partly confirmed by BleepingComputer).
History
- 2020-01, Chrome: Win32 and MacIntel are effectively frozen on 64-bit and ARM systems
Related capabilities
Related
- User-Agent string. Can see your browser brand, version, OS family, and chip family on every request
Sources
- AmIUnique: Beauty and the Beast, Laperdrix et al. 2016 (attribute entropy)
- MDN Navigator.platform
- fingerprintjs source: platform
How well checked: Checked against real behavior.