User Agent Parser
Paste any User-Agent string and get a structured breakdown: browser name and version, operating system and version, device type (desktop / mobile / tablet / bot), and the rendering engine. Handles modern Chrome / Safari / Firefox / Edge UAs plus mobile Chrome / Safari, and detects bots (Googlebot, Bingbot, GPTBot, etc.).
How to use the User Agent Parser
Paste a UA string (from your server logs, an analytics event, or any header capture). The parser breaks it down. Use my browser’s UA auto-fills with the UA your current session is sending — useful for sanity-checking what the world sees from you.
About User Agent Parser
The User-Agent header is browsers’ (very) approximate self-identification. It started as a one-line free-form string in early Mozilla and has grown into a baroque pseudo-syntax that includes the names of every browser the current browser ever wanted to be compatible with (“Mozilla/5.0 (...) AppleWebKit/... (KHTML, like Gecko) Chrome/... Safari/...”). Modern browsers are slowly transitioning to the User-Agent Client Hints API (sec-ch-ua-* headers) for structured data, but UA parsing remains essential for log analysis, server-side rendering decisions, and analytics tools that need to work with older clients.
This parser identifies the dominant signals in a UA: which browser is actually rendering the page (the last token in the long compatibility chain), which OS the user is on, and whether the request is from a bot (search engines, AI scrapers, monitoring services). It’s purposefully simpler than libraries like ua-parser-js: covers the common cases without dragging in a huge regex table.
Common use cases
- Log analysis — break down traffic by browser / OS for capacity planning.
- Bot detection — confirm whether a suspicious UA is a known bot.
- Server-side rendering decisions — different defaults for mobile vs desktop.
- Debugging cross-browser issues — confirm what browser version reported a bug.