Why do user-agent strings look so messy?
History. Browsers added each other names to get past old server sniffing — which is why the Chrome string mentions Safari, the Safari string mentions Gecko, and everything claims to be “Mozilla/5.0”. The real signals are buried inside: “Edg/” means Edge, “OPR/” means Opera, and a “Mobile” token usually marks a phone. Modern browsers are freezing these strings and moving to Client Hints, but logs and analytics are still full of classic UA strings.
How to use the User-Agent Parser
- Your own user agent is already filled in.
- Or paste any UA string from a log or analytics tool.
- Read the parsed browser, OS and device.
- Copy the breakdown for your bug report or notes.
Why it matters
- Make sense of UA strings in server logs.
- Check what your own browser announces.
- Spot bots and crawlers hiding in traffic.
- Useful for support: one string describes the whole setup.
Key facts
- Parses browser, version, OS, device and engine.
- Flags known bot and crawler patterns.
- Runs locally — log lines never leave your device.
- You get 2 free uses a day; paid plans are unlimited.
User-Agent Parser FAQ
Can a user-agent string be faked?
Easily — it is just text the browser sends, and bots routinely copy real browser strings. Treat UA data as a hint, never as proof of who or what visited.
Why does my Chrome string mention Safari and Mozilla?
Compatibility archaeology. Sites once served different pages per browser, so every browser claimed to be Mozilla, then added the names of browsers whose pages it could render. The tokens stuck.
What is replacing user-agent strings?
User-Agent Client Hints: the browser sends low detail by default and reveals specifics (model, platform version) only when a site asks and the browser allows it. Parsing classic strings still matters for logs and older traffic.
Where do I find user-agent strings?
In web server access logs, analytics tools and error reports. Developers also see them in the browser console by typing navigator.userAgent.