How to Parse a User Agent String
Step-by-step guide to extracting browser, OS, and device information from a User-Agent header using the DevHexLab User Agent Parser.
Tool Used
User Agent Parser
1
Open the User Agent Parser
Navigate to /tools/developer/user-agent-parser.
2
Paste the user agent string
Copy a User-Agent value from a server log, an HTTP request, or a browser's developer tools and paste it into the input field.
3
Read the breakdown
The tool extracts the browser name and version, the operating system and version, the device type (desktop, mobile, or tablet), and the rendering engine.
4
Test your own browser
Load the tool without pasting anything to see the parsed result for your current browser's user agent string.
All done!
You are ready to use User Agent Parser like a pro.