WebmasterID logoWebmasterID
User agents

Firefox user agent pattern

Firefox's user agent is built around the Gecko engine token and a trailing Firefox product token. Compared with other browsers it has been relatively stable and predictable, which makes it straightforward to recognise. This page covers the pattern and how to tell Firefox apart from WebKit and Chromium clients.

Verified against primary sources

The Firefox UA pattern

Firefox's user agent contains a Gecko token (often as a fixed Gecko/20100101-style compatibility marker) and a trailing Firefox product token with the release version. The platform descriptor in parentheses indicates the operating system.

Unlike Chrome and Safari, Firefox does not carry an AppleWebKit token, which is one of the clearest ways to separate Gecko-based Firefox from the WebKit/Blink families.

Relatively stable, still client-controlled

Firefox's user agent has historically been more stable and predictable than some peers, which makes pattern matching easier. Even so, it remains a client-controlled string: a scraper can copy it, and Mozilla can change it.

Match on the stable Gecko and Firefox tokens rather than a full version string, and never treat the string as proof of identity.

How it appears in analytics and logs

A user agent containing the Gecko and Firefox tokens is typically Firefox. The absence of an AppleWebKit token is a strong cue separating it from Chrome and Safari families.

Diagnostic use case

Recognise Firefox traffic in logs and analytics by its Gecko and Firefox tokens, and distinguish it from Chromium and WebKit clients that share the AppleWebKit lineage.

What WebmasterID can help detect

WebmasterID recognises Firefox and Gecko-based clients server-side from their pattern and records a coarse browser category, robust to version changes.

Common mistakes

Privacy and accuracy notes

Firefox's UA describes the browser, not a person. Mozilla has worked to limit UA entropy for privacy. WebmasterID stores a coarse browser category rather than the raw visitor string.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.