User Agent Parser

See your own user agent or paste any UA string. This user agent parser detects the browser and version, rendering engine, operating system, device type, vendor and model, flags bots and crawlers, and outputs JSON.

Sample user agents
Parsed result
Browser
Browser version
Engine
Operating system
Device type
Device vendor
Device model
CPU architecture
Bot
Client Hints from your browser
Brands
Platform
Mobile
Architecture
Model

Parsed JSON

                        

DesktopMobileTabletSmart TVGame consoleWearableEmbedded deviceXR headsetYesNoBotBrowserSearch engine crawlerAI crawlerLink preview botSEO or monitoring botHeadless browserHTTP client or libraryBot or crawlerKeyValue

What Is in a User Agent String?

Every browser, app and crawler sends a User-Agent header with each request. It is a single line of text such as Mozilla/5.0 (Windows NT 10.0; Win64; x64) … Chrome/131.0.0.0 Safari/537.36, full of historical tokens that make it hard to read. This user agent parser turns that line into clear fields: browser, engine, operating system, device and whether the client is a bot.

Open the page to see the user agent of your own browser, together with the more precise Client Hints that Chromium browsers provide. Paste any string from server logs, analytics or a bug report to inspect it, and copy the result as JSON. Parsing uses the open-source ua-parser-js library and runs in your browser.

User agent string parsed into browser and OSMozilla/5.0Chrome 131User AgentParsed

How to parse a user agent

  1. Check your own: the box is filled with your browser's user agent when the page opens. Click Use my user agent to restore it.
  2. Or paste a string from an access log, analytics export or support ticket. The result updates as you type.
  3. Read the fields: browser and version, engine, operating system, device type, vendor and model, and the bot check.
  4. Copy the JSON for a bug report or test fixture, or switch to the tree and table views to browse it.

Anatomy of a user agent string

Take Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36:

  • Mozilla/5.0 is sent by almost every browser for historical compatibility. It says nothing about the browser.
  • (Windows NT 10.0; Win64; x64) is the platform: operating system, version and CPU architecture.
  • AppleWebKit/537.36 (KHTML, like Gecko) names the engine family. Chrome's Blink engine still sends the WebKit token it was forked from.
  • Chrome/131.0.0.0 is the real browser and version. The trailing Safari/537.36 is another compatibility token.

Because browsers copy each other's tokens, the order of the checks matters: Edge contains Chrome, and Chrome contains Safari. A parser must look for the most specific token first.

Browser tokens reference

BrowserToken to look forEngine
Google ChromeChrome/ without the tokens below; CriOS/ on iOSBlink (WebKit on iOS)
Microsoft EdgeEdg/, EdgA/ on Android, EdgiOS/ on iOSBlink
FirefoxFirefox/; FxiOS/ on iOSGecko (WebKit on iOS)
SafariVersion/ and Safari/ without ChromeWebKit
OperaOPR/Blink
Samsung InternetSamsungBrowser/Blink
Bots and toolsGooglebot/, bingbot/, GPTBot/, curl/Usually none

Frozen user agents and Client Hints

To reduce fingerprinting, browsers now freeze parts of the string. Chrome sends the minor version as 0.0.0, reports Windows 11 as Windows NT 10.0, reports every Mac as Intel Mac OS X 10_15_7 and reduces Android to Android 10; K, so the device model is no longer visible. Safari and Firefox also cap the macOS version.

Chromium-based browsers offer User-Agent Client Hints instead: Sec-CH-UA, Sec-CH-UA-Mobile and Sec-CH-UA-Platform are sent by default, and a server can ask for more with the Accept-CH header. In JavaScript the same data comes from navigator.userAgentData, which this page uses to show your real platform version. Firefox and Safari do not support Client Hints.

On iPadOS 13 and later, Safari requests the desktop site by default and sends a Mac user agent, so many iPads look like Macs.

Tips for using user agent data

  • Prefer feature detection. To check whether a browser supports an API, test for the API, not the user agent.
  • Do not trust the bot check blindly. Any client can send any user agent. Verify Googlebot and Bingbot with a reverse DNS lookup followed by a forward lookup.
  • Use it for statistics and debugging, such as browser share in logs or reproducing a bug on the reported browser and OS.
  • Inspecting a whole request? The HAR viewer lists the headers of every request, the cookie parser decodes Cookie headers and the URL parser splits the request URL.

Frequently Asked Questions

Common questions about user agent strings and parsing them.

It is the User-Agent header your browser sends with every request. This page shows it at the top as soon as it opens, together with the parsed browser, OS and device.

In the 1990s servers sent advanced pages only to Netscape (Mozilla), so other browsers copied the token. It has stayed for compatibility and carries no meaning today.

Browsers froze the platform token at Windows NT 10.0. Chromium browsers report the real version through Client Hints, which this page reads when you check your own user agent.

Yes. It is plain text that any client or browser extension can change, so never use it for security decisions.

The parser looks for known crawler, AI bot, link preview, monitoring and HTTP library names, plus generic words such as bot, crawler and spider.

Chrome on Android sends the reduced value K instead of the model. Other browsers, such as Samsung Internet, may still include it.

It uses ua-parser-js version 1.0.41 (MIT licence), loaded from the jsDelivr CDN, plus its own bot detection.

No. Parsing runs entirely in your browser with JavaScript; only the library file is downloaded.