# What is a user agent string?

> A user agent string is the line a browser sends with every request to name itself, its engine and its system. Chrome now freezes most of it.

Source: https://mosaicbrowser.com/glossary/user-agent-string

## User agent string: what it says and why it is frozen

A user agent string is the text a browser sends in the User-Agent header of every request, and exposes as navigator.userAgent, to name the browser, its version, its rendering engine and the operating system. In Chrome most of it is now frozen, so the details live in client hints instead.

![User agent string, drawn as a mosaic of tiles](https://mosaicbrowser.com/covers/user-agent-string.webp)

A user agent string is the line of text your browser sends with every request to name itself: the browser, its version, its engine and its operating system. Chrome on a Mac sends this:

```
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36

```

(Copied from [MDN's User-Agent page](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent), 2 November 2026.) Read left to right it is mostly fossils. Netscape got the good pages in the nineties, hence `Mozilla/5.0`. Blink replaced WebKit inside Chrome in 2013 and the string kept `AppleWebKit` and `KHTML, like Gecko` anyway; `Safari/537.36` keeps old sniffers happy. Of the whole line, sites today care about `Macintosh` and `Chrome/143`.

## What a user agent string contains now

Between Chrome 101 and 113, Google's [User-Agent Reduction plan](https://www.chromium.org/updates/ua-reduction/) froze most of it. Desktop Chrome now writes `Chrome/<majorVersion>.0.0.0`, and an M4 MacBook on macOS 26 still says `Intel Mac OS X 10_15_7` like every other Mac. On Android the phone model became `K` and the version `10`.

A site that wants the rest asks for it through client hints: the `Sec-CH-UA-*` request headers, or `navigator.userAgentData.getHighEntropyValues()` in script. That is where the full build number, the real macOS version, the CPU architecture and the phone model went. Which hint gives away what is listed in [client hints fingerprinting](https://mosaicbrowser.com/glossary/client-hints-fingerprinting).

Mosaic is a desktop app

Email yourself the link and open it on your computer.

[How it works: Fingerprints set inside the browser](https://mosaicbrowser.com/features/engine)

## How sites use it to link accounts

On its own the string separates almost nobody. Millions of Macs on one Chrome major send it byte for byte. What a site reads is whether it agrees with everything else:

1. The client hints. A UA saying Chrome 143 beside `Sec-CH-UA` saying 142, or a desktop UA beside `Sec-CH-UA-Mobile: ?1`, is one browser describing itself twice, differently.
2. The JavaScript surface. A Windows UA on a browser whose fonts, GPU and `navigator.platform` describe a Mac.
3. Tokens that should never be there. Headless Chrome writes `HeadlessChrome/` into its own string, which is the first thing [headless browser detection](https://mosaicbrowser.com/glossary/headless-browser-detection) reads.
4. Change over time. A logged-in account whose browser reports a different string on Tuesday than on Monday, with nothing else changed.

The fourth one is the one that caught us. Mosaic passes the `--user-agent` flag only when a profile's string differs from the engine's own, and for an Edge profile the engine's own string came from an in-memory cache that was empty at every app start. So the first profile launched each session went out with one string and every later launch with another. Measured on one profile over three launches after a restart: `Edg/153.0.8010.37`, then `Edg/153.0.0.0`, then `Edg/153.0.0.0`. The first form is one no Edge has sent since User-Agent reduction. A profile that presents two identities is worse than either of them alone.

## How to check yours

Our [user agent parser](https://mosaicbrowser.com/tools/user-agent-parser) splits a pasted string into browser, engine, OS and device, and with an empty box it reads yours. For your own browser it prints the client hints next to the string, and it marks `10_15_7` as reduction rather than a lie. Safari implements no client hints at all, so on the same Mac it hands a site the string and nothing else.

## How Mosaic handles the user agent

Profiles claim Chrome, of the major version the engine actually is. We refused Edge after the measurement above, because the engine could give it a correct User-Agent or a correct `Sec-CH-UA-Bitness`, and never both at once. A Chrome profile needs no `--user-agent` flag at all: [Tesseract Chrome](https://mosaicbrowser.com/features/engine) builds the string inside the engine from the profile's platform, so the header, `navigator.userAgent` and the client hints come from one source. Measured over three launches from a cold start: the same string each time, and the bitness hint filled in each time. Background work such as warm-up runs a headed browser parked off-screen, never headless, so `HeadlessChrome` never reaches a site.

A profile can claim any desktop platform or Android, and the computer's own matches best. A Windows UA on a Mac is allowed with a caution, because the fonts and the way text is drawn come from the real machine: measured on a Mac, a Windows claim scored 80/100 Unreliable on IPHey where macOS scored 100/100, and a Linux claim showed 1 font against 159 on Pixelscan.

## Sources

1. [MDN: User-Agent header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent), read November 2, 2026
2. [Chromium: User-Agent Reduction](https://www.chromium.org/updates/ua-reduction/), read November 2, 2026

## Questions

### How do I find my user agent string?

Cmd+Option+J opens Chrome's console on a Mac; type navigator.userAgent there. Or leave the box on our user agent parser empty and it reads yours. The User-Agent header carries the same text.

### Why does every browser say Mozilla/5.0?

Netscape's code name was Mozilla, and 1990s servers gave frames and better HTML only to clients that said so. Internet Explorer started saying it too, then everyone did, and dropping the token now would break some forgotten site.

### Why does Chrome on a new Mac say Intel Mac OS X 10_15_7?

Since User-Agent reduction, Chrome freezes the platform part of the string. Every Mac reports the same macOS token and every desktop Chrome reports its version as major.0.0.0. The real details are in client hints.

### Is changing my user agent enough to hide my browser?

No. Sec-CH-UA, navigator.platform, the installed fonts and the TLS ClientHello each describe the browser again. Swap the string alone and a Windows UA arrives beside a Mac's fonts, which is easier to spot than the honest Mac.

## Related

[Client hints fingerprinting: what Sec-CH-UA headers give away](https://mosaicbrowser.com/glossary/client-hints-fingerprinting): Client hints fingerprinting reads the Sec-CH-UA headers and navigator.userAgentData, then checks them against the User-Agent and the rest of the browser.

[Headless browser detection: how sites spot a browser with no screen](https://mosaicbrowser.com/glossary/headless-browser-detection): Headless browser detection is how a site tells a browser with no window, usually under automation, from one a person uses. Here is what it reads.

[Browser fingerprinting: how sites recognise a browser without cookies](https://mosaicbrowser.com/glossary/browser-fingerprinting): Browser fingerprinting is recognising a browser by reading its hardware, settings and rendering quirks instead of storing a cookie. How sites do it.

[An anti-detect browser with its own Chromium engine](https://mosaicbrowser.com/features/engine): Mosaic is an anti-detect browser with its own Chromium engine, Tesseract Chrome: stock Chromium source, with fingerprint values changed inside the engine.









[Widevine fingerprinting: when DRM names your device](https://mosaicbrowser.com/glossary/widevine-fingerprinting): Widevine fingerprinting reads the DRM module through Encrypted Media Extensions: whether it exists, what it supports, and the device certificate it sends.

[Sec-CH-UA header: the brand list Chrome sends on every request](https://mosaicbrowser.com/glossary/sec-ch-ua-header): The Sec-CH-UA header is where Chromium browsers send their brands and major version, plus one deliberately fake brand, on every HTTPS request.

## See user agent string on a real profile

Mosaic shows the values a site reads, per profile, and runs a leak test from inside the profile’s own page. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

Mosaic is a desktop app

Email yourself the link and open it on your computer.
