Web
User-Agent Parser
Extract likely browser, engine, OS, and device information from a User-Agent string for log inspection.
About this tool
When to use it
Extract likely browser, engine, OS, and device information from a User-Agent string for log inspection.
How to use it
Use the current browser string or paste a captured test string, then select Parse User-Agent. Treat Unknown values as missing evidence and combine the result with feature detection when debugging behavior.
Guide updated . Examples checked against this implementation.
Worked examples
A desktop Chrome fixture
Input
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36Expected output
browser: Chrome; os: Windows; cpu: amd64The string is a test fixture, not a statement about the current browser. These are inferred labels from the parser's rules.
Errors and unsupported input
Device type is Desktop or unknownThe string may omit a device category. Do not turn that fallback into a verified desktop classification.
Continue this workflow
- Device Information: Compare the parsed string with browser-exposed environment information.
Questions
Frequently asked questions
Can I trust the parsed version for access control?
No. The input is a client-supplied claim. Security and feature decisions need trusted checks appropriate to the application.