Skip to Content
Platform.Ontology

navigator.platform

Legacy string naming the OS family such as Win32, MacIntel, Linux x86_64 or iPhone.

Gets silentlyDevice detailsBrowser identityWeb browsersWhen the page loadsWhile you use it

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

BrowserStatusFirst versionReleasedNote
ChromeSupported12008-12-11None
EdgeSupported122015-07-29None
FirefoxSupported12004-11-09None
SafariSupported12003-06-23None
Safari on iPhoneSupported12007-06-29None
Chrome on AndroidSupported182012-06-27None
Samsung InternetSupported1.02013-04-27None

How a site asks for it

APInavigator.platform
Browser compat keysapi.Navigator.platform
How access is grantednone
What the user seesNone
Needs a secure context (HTTPS)No
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
platformenumNoneWin32, MacIntel, Linux x86_64, Linux armv81, iPhone, iPad, Android-like stringsfrozen 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

TypeExampleApps
developerA download page shows the Windows button for Win32 and the Mac button for MacIntel.Slack, Zoom
productivityA web app shows Cmd shortcuts on a Mac and Ctrl on Windows.Google Docs, Notion
gamesA browser game picks keyboard hints and fullscreen steps for each system.None named
securityA fraud tool flags a visitor whose platform is Linux but whose user agent says iPhone.None named
analyticsA traffic dashboard counts visits by operating system.Google Analytics
adsAn 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

Good uses and abuse

Legitimate uses

  • Legacy code paths

Known abuse

  • UA-spoof consistency check

Scores

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility2 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits2.3Rough 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
  • User-Agent string. Can see your browser brand, version, OS family, and chip family on every request

Sources

How well checked: Checked against real behavior.

On this page