About the User-Agent Parser
A user-agent string identifies the browser and device that made a request. The parser extracts the browser and version, rendering engine, operating system, device type, vendor and model where available, and flags well-known bots. It starts with your own browser’s user agent.
How to use the User-Agent Parser
- Use your own user agent, or paste one from a server log.
- Read the parsed details.
Example
Log analysis
A string containing “Googlebot” is flagged as a bot, helping you separate crawler visits from real users in logs.
Frequently asked questions
Is user-agent detection reliable?
Only roughly. Strings can be changed or faked, and browsers are reducing the detail they include.
Why does Chrome say “Mozilla” and “Safari”?
For historical compatibility, most browsers include other browser names in their user agent.
Should websites rely on it?
Prefer feature detection in code. Use user agents for analytics and troubleshooting.