User-Agent Parser
Break down a User-Agent string into browser, OS and device.
Analysis updates in real time as you type a User-Agent string.
What is this tool?
The User-Agent parser analyzes the UA string a browser sends to a server, using regular expressions to extract browser name and version, rendering engine, operating system and version, device type, and whether it looks like a bot (crawler). Your current browser's UA is filled in automatically when the page loads.
What each field means
- Browser: Chrome, Edge, Firefox, Safari, Samsung Internet, Opera, etc., with the version number.
- Engine: the rendering engine — Blink (Chrome/Edge/Opera family), Gecko (Firefox), WebKit (Safari), etc.
- OS: Windows, macOS, iOS, Android, Linux, etc., with version when detectable.
- Device type: desktop, mobile, or tablet, estimated from keywords in the UA string.
- Bot: determined by whether crawler-related keywords such as bot, crawl, or spider appear.
Privacy & processing
All parsing happens with regular expressions in your browser only. Your User-Agent string is never uploaded or stored.
The history behind "Mozilla/5.0" — why every UA starts that way
Nearly every browser's UA still starts with Mozilla/5.0 — a relic of the 1990s browser wars. Sites back then branched content by checking whether a browser identified as "Mozilla" (Netscape), so Microsoft's Internet Explorer inserted a compatibility token like Mozilla/4.0 (compatible; MSIE ...) into its own UA to receive the same content. Safari, Chrome, and others that followed kept mimicking each other's UA tokens too, tacking on unrelated engine labels like AppleWebKit, like Gecko, and Safari/537.36 — leaving today's UA strings full of legacy tokens that have nothing to do with the actual rendering engine.
Why UA parsing breaks easily, and the shift to Client Hints
That historical baggage is exactly why regex-based UA parsing is fragile. Chrome's UA, for instance, always includes a Safari/537.36 token alongside Chrome/, so checking for "contains Safari" alone would misidentify Chrome as Safari. This tool relies on checking more specific tokens first — Edge → Opera → Samsung Internet → Firefox → Chrome → Safari — because Edge's UA also contains a Chrome token and would be misclassified if not filtered out first. This fragility is why Google is nudging the ecosystem toward User-Agent Client Hints (navigator.userAgentData, the Sec-CH-UA headers) instead of UA strings. Client Hints expose brand and platform data as structured values rather than regex guesses, but as of 2026 Firefox and Safari still don't support it, so this tool shows both side by side.