User agent parser
Parse the browser, engine, operating system and device from user agent strings.
About this tool
The user agent parser reads a user agent string, the line of text a browser sends with every request, and tells you what it describes: the browser and version, the rendering engine, the operating system, the device and the CPU. It starts with your own browser’s user agent filled in.
How to use the user agent parser
- Keep your own user agent, or paste one from a server log or analytics report.
- Read the browser, engine, operating system, device and CPU.
Reading user agents
User agents are messy for historical reasons. Almost every one starts with “Mozilla/5.0”, and Chrome’s also mentions Safari and KHTML, because browsers copied each other to avoid being blocked by old websites. The parser knows these patterns and picks out what’s real.
Desktop computers usually don’t name the device, so the result says “Desktop, or not stated”. Phones and tablets often give the make and model.
Good to know
User agents can be changed by the user or by privacy tools, and Chrome now reduces the detail it sends, such as the exact operating system version. Use them for statistics and debugging, but check for features in code instead of relying on the browser name. Parsing happens in your browser.