About the User Agent Parser
Every browser sends a user agent string with each request, describing itself, its operating system, and its engine. The User Agent Parser breaks that long string into four readable fields, and it starts with your own browser's user agent already filled in.
How it works
The parser uses pattern matching. For the browser, it finds the first token in the string that matches Firefox, Chrome, Safari, Edge, Opera, OPR, MSIE, or Trident followed by a slash and version, such as Chrome/120.0.0.0. For the operating system, it looks for the first match of Windows NT, Mac OS X, Android, iPhone OS, Linux, or CrOS and converts underscores in version numbers to dots.
Device type is Tablet if the string contains iPad or Tablet, Mobile if it contains Mobile, Android, or iPhone, and Desktop otherwise. The engine is the first of Gecko, WebKit, Blink, Trident, or Presto found in the string. Because the first match wins, the order of tokens in the string matters, which is important to understand when reading results.
How to use
- 1
The User Agent string field shows your own browser's user agent when the page opens.
- 2
To check a different one, paste the user agent from your log or ticket; Use my browser switches back, and Copy link shares the result.
- 3
Read the Browser, Operating System, Device Type, and Engine rows below.
Worked examples
Chrome on Windows
A desktop entry from a web server log.
Chrome reports AppleWebKit for compatibility, so the engine shows WebKit even though Chrome actually uses Blink.
Firefox on Windows
Checking a bug report from a Firefox user.
Safari on iPhone
A mobile visitor from analytics.
Safari/604.1 is a WebKit build token; the marketing version, 17.1, appears in the Version/ token instead.
Frequently asked questions
Where do I find my own user agent string?+
This tool shows it automatically when the page loads. You can also find it in your browser's developer tools under the Network tab, in the User-Agent request header.
Can user agent strings be spoofed?+
Yes. A user agent is just text the browser sends, and users, extensions, and testing tools can change it, so never rely on it for security decisions.
Does Chrome use WebKit?+
It doesn't: Chrome, Edge and Opera are reported as Blink, even though their user agents include AppleWebKit for compatibility. Blink is a fork of WebKit.
Is Edge detected correctly?+
Yes. Edge's user agent also contains Chrome/, but the parser checks for Edge's own Edg/ token first, and does the same for Opera and Samsung Internet.
Does Windows NT 10.0 mean Windows 10?+
It can mean Windows 10 or Windows 11. Both report NT 10.0 in the user agent string, so you cannot tell them apart from this value alone.