User-Agent Parser

Paste a User-Agent string to identify the browser, operating system and device type using approximate parsing rules.

What this tool does

Inspect a User-Agent string using a small set of browser, operating system and device heuristics. The detected labels are an approximation and should not be used as identity or capability verification.

Practical use cases

  • Inspect a browser string in a bug report
  • Compare desktop and mobile examples
  • Understand a legacy compatibility log

Example

Input: A common desktop browser User-Agent string

Expected output: Heuristic browser, OS and device labels; exact recognition depends on the patterns supported

Limits to know

  • User-Agent strings can be spoofed or reduced
  • New or uncommon clients may not be recognized
  • A device label does not prove support for a web API

Common problems

The browser is identified incorrectly

Browsers share tokens and may mask their identity. Treat the result as a hint, not an authoritative diagnosis.

A feature fails despite a recognized browser

Test the feature itself, permissions and environment rather than relying on the User-Agent label.

Frequently asked questions

Why does it say Windows 10 on Windows 11?

Browsers send the same Windows NT 10.0 token on Windows 10 and 11, so the two cannot be told apart from the string. Many browsers similarly freeze the macOS version at 10.15.7.

How accurate is the detection?

It uses a few simple patterns: Edge, Opera, Chrome, Firefox and Safari are checked in that order. Other browsers that reuse these tokens are shown as the browser they imitate, and Chrome or Firefox on iPhone may appear as Safari or Unknown.

How are tablets detected?

A string containing iPad or Tablet, or Android without Mobile, is shown as Tablet; Android phones include Mobile and are shown as Mobile. iPads that request desktop sites send a Mac string and appear as Desktop, so use the result as a hint, not as reliable device detection.

Is my user agent sent anywhere?

No. The string is read from your browser and parsed on the page; nothing is uploaded or logged by the tool.

Tool-specific privacy note

The supplied string is parsed locally. The page can display the current browser's own User-Agent as the starting value.

How to use this tool

  1. Use the current browser's string or paste another User-Agent.
  2. Review the detected browser, operating system and device category.
  3. Use feature detection in actual application code when deciding whether a capability is available.

Related tools

HTTP Status Explorer

JSON ↔ CSV / YAML

SQL Formatter

HTML Entity Encoder