User Agent Parser
Decipher any User Agent string to identify the browser, operating system, and hardware device.
Why Use UA Parsing?
Understanding the client environment is crucial for debugging cross-browser issues, analyzing traffic patterns, and implementing conditional feature sets for different platforms.
About the User Agent Parser
Paste a user agent string from your logs or analytics and see which browser, version, operating system, device type and engine it describes.
Everything you enter is processed in your browser; nothing is uploaded or stored.
How to use it
- Paste a user agent string (for example from a server log) into User Agent String.
- Read the Browser, Version, OS, Device and Engine fields.
- Try another string to compare devices in a bug report.
How user agent parsing works
A user agent is a text label each browser sends with every request, such as Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 … Chrome/130.0 Safari/537.36. Its format is historical, so most browsers include tokens from others (“Mozilla”, “Safari”).
The parser looks for distinctive tokens in a fixed order – for example Edg before Chrome, and Chrome before Safari – and for platform hints such as Windows NT, Android or iPhone to work out the device type.
Example
A string containing “Android 14; Pixel 8” and “Chrome/130” is reported as Chrome 130 on Android, mobile device, Blink engine.
Tips
- Browsers now freeze or reduce parts of the user agent (for example the Windows version), so treat versions as approximate.
- For feature decisions, prefer feature detection in JavaScript over user agent checks.
Frequently asked questions
What is my user agent?
Your browser sends it with every request; you can see it in your browser’s developer tools (Network tab) and paste it here.
Why does Chrome’s user agent say Safari and Mozilla?
For compatibility: early sites served content based on these tokens, so browsers kept them.
Is the parsing done on a server?
No, in your browser.