What Your User Agent Reveals (And Why It Matters)
Every website you visit knows your browser, operating system, and device — before you click a single link. The user agent string is a quiet piece of metadata that powers analytics, compatibility, and sometimes fingerprinting. Here's what it actually contains.
Anatomy of a User Agent String in 2026
This is what Chrome 141 sends from a Windows 11 PC:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
- Mozilla/5.0 — a legacy prefix every browser sends (history below).
- (Windows NT 10.0; Win64; x64) — platform. Windows 11 still reports NT 10.0, so no UA string can tell Windows 10 from 11.
- AppleWebKit/537.36 (KHTML, like Gecko) — engine tokens frozen since Chrome forked WebKit into Blink in 2013; the number no longer changes.
- Chrome/141.0.0.0 — the browser and its major version. The three zeros are deliberate: since User-Agent reduction, Chrome no longer sends its minor, build or patch numbers.
- Safari/537.36 — another compatibility token.
User-Agent reduction is the reason most older guides (including an earlier version of this one) are now wrong. MDN sums it up as removing three things from the string: the exact OS version, the device model and the minor browser version. On Android, Chrome now always reports Android 10; K, whatever the phone; on Windows it is always Windows NT 10.0; Win64; x64, and on Linux X11; Linux x86_64. Chrome rolled the reduced Android string out from Chrome 110 (February 2023) and finished the rollout with Chrome 113.
Apple went further in September 2025: Safari 26 on iPhone and iPad stopped putting the real iOS version in its string and reports an iOS 18 value instead. WebKit's own bug tracker records the reason: many sites could not recognize that 26 was a higher version than 18, and Apple made the freeze permanent because it also removes fingerprinting entropy. The frozen value has itself moved between point releases (18_6, then 18_6_2, then 18_7), so do not hard-code it. Safari on macOS has reported Mac OS X 10_15_7 for years for the same reason.
Worked Example: What a Parser Can Still Learn
We ran seven current UA strings through the parser behind our User Agent Checker (the same function, run in Node; script and results in our test folder). The left column is what the device really is; the right is what the string lets any parser conclude.
| Real device and browser | OS token in the string | What a parser can say |
|---|---|---|
| Chrome 141, Windows 11 | Windows NT 10.0 | Windows 10 or 11; Chrome 141 |
| Chrome 141, macOS 15 | Mac OS X 10_15_7 | macOS (version frozen, real one hidden) |
| Chrome 141, Android 16, Pixel 9 | Android 10; K | Android phone (version and model hidden) |
| Safari 26, iOS 26 | iPhone OS 18_6 | iPhone; Version/26.0 shows Safari 26, so iOS 26 or later |
| Chrome on iOS 26 | iPhone OS 26_0_0 | iOS 26.0 (Chrome and Firefox on iOS still send the real value) |
| Googlebot Smartphone | Android 6.0.1; Nexus 5X | Crawler (the Googlebot token), not a real phone |
| Edge 141, Android | Android 10; K + EdgA/141 | Edge on Android |
Three of the seven OS versions in the strings are placeholders. Testing these strings also turned up two faults in our own tool, fixed in the same update: it read Edge on Android (EdgA/) as Chrome, and it printed frozen versions such as macOS 10.15.7 and iOS 18.6 as if they were real. It now labels them as frozen.
If you need the real values, Chromium browsers offer User-Agent Client Hints: the low-entropy Sec-CH-UA, Sec-CH-UA-Mobile and Sec-CH-UA-Platform headers arrive by default, and a server can ask for more (platform version, model) with Accept-CH; in JavaScript, navigator.userAgentData.getHighEntropyValues(). MDN's compatibility data lists navigator.userAgentData in Chrome and Edge 90+, Opera and Samsung Internet, but not in Firefox or Safari, and only on HTTPS pages. Client Hints are therefore a Chromium-only supplement, not a replacement you can rely on everywhere.
Why Does Every UA Start With "Mozilla"?
Netscape Navigator, code-named Mozilla, identified itself as Mozilla/ and supported frames when most browsers did not, so sites began sending their richer pages only to strings containing "Mozilla". Internet Explorer answered with strings such as Mozilla/2.0 (compatible; MSIE 3.0; Windows 95) to receive the same pages, and every browser since has kept the prefix. Each new engine added tokens for the same reason: Chrome kept "Safari" and "AppleWebKit" because sites tested for Safari; Edge, built on Chromium since 2020, carries Chrome's whole string plus Edg/. Tokens get added, almost never removed — which is why reduction freezes values rather than deleting fields.
What Websites Use It For
Analytics
Analytics tools derive browser, OS and device share from the string. Since the freezes, "Android 10" and "iOS 18.6" are inflated in any report that reads the OS token literally; after Safari 26 shipped, iOS 26 adoption looked historically low in StatCounter's figures partly because Safari users were being counted as iOS 18.
Bot identification
Google's crawlers do announce themselves, but the string most guides quote, Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html), is now the rarely used form. With mobile-first indexing, most crawling is done by Googlebot Smartphone, whose string looks like a Chrome phone (Nexus 5X, Android 6.0.1) with compatible; Googlebot/2.1 appended and a Chrome version that tracks the current release. Anyone can copy that string, so Google's documentation tells site owners to confirm a crawler with a reverse DNS lookup (googlebot.com or google.com) followed by a forward lookup, or against Google's published IP ranges.
Compatibility workarounds
Some sites still serve different code by browser. Feature detection is the better default — test for the API you need ('share' in navigator, CSS.supports('selector(:has(*))')) rather than for a browser name — because the string now hides versions on purpose and is trivially changed by extensions and dev tools.
Privacy and Fingerprinting
A UA string alone is shared by millions of people, but combined with screen size, fonts, time zone and other signals it feeds browser fingerprinting. The measured risk has fallen over time: the EFF's Panopticlick study (Eckersley, 2010) found at least 18.1 bits of entropy and 94.2% of browsers with Flash or Java unique, while a 2018 study of 2,067,942 fingerprints from a large French site found only 33.6% unique, crediting the removal of plugins. Reduction moved the detail rather than deleting it: a 2023 crawl of the top 100,000 sites (Senol et al.) found high-entropy Client Hints read by scripts on 59.2% of the sites visited, 93.8% of those calls coming from tracking and advertising scripts.
Changing Your User Agent
Chrome and Edge DevTools (Network conditions panel), Firefox's general.useragent.override preference and Safari's Develop menu can all send a different string, which is useful for reproducing UA-dependent bugs. On its own it leaves the Client Hints headers, viewport size, touch support and every other fingerprinting signal unchanged (DevTools lets you set the hints separately), so it is a testing aid rather than a privacy tool, and a string that contradicts those signals can make a visit look more unusual, not less.
Try the tool
Parse any UA string. See your browser, OS, device, and engine.
Frequently Asked Questions
Why does my user agent contain 'Mozilla' when I use Chrome?
Can I hide or change my user agent?
Is user agent detection reliable?
Can user agent identify me personally?
What's a 'bot' user agent?
Published Apr 15, 2026 · Updated Oct 13, 2026 by Derek Giordano
- [1]MDN Web Docs: User-Agent reduction (checked Oct 13, 2026) ↗
- [2]Chromium Projects: User-Agent Reduction rollout phases (Chrome 110–113) ↗
- [3]Chrome for Developers: Prepare for Chrome's user-agent reduction (Android model and version) ↗
- [4]WebKit Bugzilla 298260: Safari 26 reports iOS 26 version as 18.6 (intentional freeze) ↗
- [5]WebKit Bugzilla 298473: frozen Safari UA iOS version revised to 18_6_2 (Sep 2025) ↗
- [6]MDN Browser Compatibility Data: Navigator.userAgentData (checked Oct 13, 2026) ↗
- [7]Google Crawling Infrastructure: Google common crawlers (Googlebot user agents, checked Oct 13, 2026) ↗
- [8]Eckersley, P. (2010). How Unique Is Your Web Browser? PETS 2010 ↗
- [9]Gómez-Boix, Laperdrix & Baudry (2018). Hiding in the Crowd: browser fingerprinting at large scale. WWW 2018, doi:10.1145/3178876.3186097 ↗
- [10]Senol & Acar (2023). Unveiling the Impact of User-Agent Reduction and Client Hints: A Measurement Study. WPES 2023, doi:10.1145/3603216.3624965 ↗
- [11]Macworld (2026): Safari's frozen version string skews iOS 26 adoption figures ↗