Developer ToolsDebugging ToolsFree Tool

User Agent Parser

Parse a User-Agent string into browser name/version, operating system, and device type using real pattern matching.

How to Use User Agent Parser
  1. 1Paste a User-Agent string, or leave blank to parse your own browser's
  2. 2Click Process
  3. 3Review the detected browser, OS, and device type
Frequently Asked Questions

Via a real set of pattern-matching rules checked in a specific order (e.g. Edge before Chrome, since Edge's UA string also contains 'Chrome') covering the major browsers (Chrome, Firefox, Safari, Edge, Opera, Samsung Internet), operating systems (Windows, macOS, Android, iOS, Linux), and a Desktop/Mobile/Tablet device heuristic.

It falls back to parsing your own browser's actual User-Agent, so you can see your current browser/OS/device detected.

It covers the most common real-world browsers and OSes correctly, but User-Agent strings have many unusual variants (bots, embedded webviews, older browsers) that a dedicated library with a larger rule set (like ua-parser-js) would handle more completely.

No — parsing happens entirely in your browser.

Related Tools

Related Articles

More from Developer Tools