N
NJHTools

User Agent Parser

Your browser's user agent is shown below and broken down into browser, engine, operating system and device. Paste any other User-Agent string to identify it, check whether it is a search engine or AI crawler, and read the more accurate Client Hints your browser exposes.

Samples:

Your browser's Client Hints

Checking...

How to parse a user agent string

  1. Check your own user agent. When the page opens, your browser's user agent is filled in and parsed automatically.
  2. Or paste another one. Paste a User-Agent header from server logs, analytics or a bug report, or click a sample such as Safari on iPhone, Googlebot or curl.
  3. Read the result. See the browser and version, rendering engine, operating system, device type, vendor and model, CPU architecture, and whether it is a known bot or HTTP client.
  4. Get Client Hints. In Chrome, Edge and other Chromium browsers, click "Get high-entropy values" to read the exact browser version, OS version, architecture and device model.

Reading a user agent string

Take Mozilla/5.0 (iPhone; CPU iPhone OS 18_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Mobile/15E148 Safari/604.1. The part in the first parentheses is the platform: an iPhone on iOS 18.1. AppleWebKit/605.1.15 is the rendering engine, Version/18.1 is the Safari version, and Mobile marks a phone. Chrome adds Chrome/131.0.0.0, Edge adds Edg/, and Samsung Internet adds SamsungBrowser/, which is why a parser has to check the tokens in the right order.

Frozen user agents and Client Hints

Chromium browsers now send a reduced user agent to limit fingerprinting. The minor version is always 0.0.0, Windows is always Windows NT 10.0, macOS is frozen at 10_15_7, and on Android the string reads Android 10; K with no device model. Safari and Firefox freeze similar parts.

For accurate data, use User-Agent Client Hints. In JavaScript, navigator.userAgentData gives the brand list, platform and mobile flag, and getHighEntropyValues(["platformVersion", "model"]) returns the rest. On the server, send Accept-CH: Sec-CH-UA-Platform-Version, Sec-CH-UA-Model and read the matching request headers. Prefer feature detection over user agent checks whenever you can.

Related tools

Frequently Asked Questions

What is my user agent?↓

Your user agent is the text your browser sends in the User-Agent header with every request, and it is shown at the top of this page as soon as it loads. It names the browser, rendering engine and operating system, for example "Mozilla/5.0 (Windows NT 10.0; Win64; x64) ... Chrome/131.0.0.0 Safari/537.36".

Why does my Windows 11 PC show Windows 10?↓

Browsers send "Windows NT 10.0" on both Windows 10 and 11, and Chromium has frozen that part of the string. The only reliable way to tell them apart is the Sec-CH-UA-Platform-Version client hint: 13.0.0 or higher means Windows 11. Click "Get high-entropy values" to see it.

Why does every browser user agent start with Mozilla/5.0?↓

It is a compatibility leftover from the 1990s, when sites served advanced pages only to Netscape (Mozilla). Other browsers copied the token to get the same pages, and later added "AppleWebKit", "KHTML, like Gecko" and "Safari" for the same reason. Today it carries no information.

How do I detect Googlebot or AI crawlers?↓

Crawlers put their name in the user agent, such as Googlebot, bingbot, GPTBot, ClaudeBot or PerplexityBot, and this parser flags them. But any client can fake a user agent, so to verify a real Googlebot do a reverse DNS lookup on the IP (it should end in googlebot.com or google.com) and a forward lookup back to the same IP, or compare against the operator's published IP ranges.

What are User-Agent Client Hints?↓

Client Hints are the structured replacement for the user agent string in Chromium browsers. Low-entropy hints (brand, major version, platform, mobile) are sent by default as Sec-CH-UA headers and in navigator.userAgentData. High-entropy hints such as the full version, OS version, architecture and device model must be requested by the site with Accept-CH or getHighEntropyValues().

Is my user agent sent to your server?↓

No. Parsing happens entirely in your browser with the open-source ua-parser-js library, and nothing you paste is uploaded or stored.

All Text & Dev Tools →

Last updated: