User-agent strings are everywhere in web work: in server logs, analytics exports, bug reports and support tickets. They are also notoriously hard to read. Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 mentions four browsers, but it is just Chrome on Windows. This parser translates any string into plain answers.
Common uses
- Debugging bug reports. A user says the site “doesn’t work”. Their user agent tells you it is Safari 16 on an older iPad.
- Reading server logs. See whether a spike in traffic is from real browsers, a search engine or a scraper running curl or Python.
- Checking analytics. Understand odd entries in browser and device reports.
- Testing. Confirm your own browser identifies itself the way you expect.
What the user agent can no longer tell you
Browsers now deliberately say less, to make fingerprinting harder. Chrome sends .0.0.0 instead of its exact version and may hide the Android phone model, showing just “K”. Windows 11 looks like Windows 10, and new macOS versions look like 10.15. The parser points these out, so you don’t draw the wrong conclusion. When you need precise details on your own site, ask for client hints (Sec-CH-UA-Platform-Version and similar) instead.
A note on bots
Crawlers usually announce themselves, but the user agent is just text and anyone can fake it. Many scrapers pretend to be Googlebot. If it matters, such as before allowing extra crawl access, verify the IP address too.
How to use the User-Agent Parser
- Your own browser’s user agent is filled in automatically.
- Paste any other user-agent string, for example from a server log or a bug report.
- Or pick an example such as Safari on iPhone or Googlebot.
- Read the browser, engine, OS and device cards, plus any notes about what the string can’t tell you.
Features
- Detects Chrome, Edge, Firefox, Safari, Opera, Samsung Internet, Brave, Vivaldi and more.
- Identifies Blink, Gecko, WebKit and Trident engines and their versions.
- Windows, macOS, iOS, iPadOS, Android, ChromeOS and Linux, with device type and common phone brands.
- Recognises search engine, social media and AI crawlers, plus curl and other scripts.
- Shows your browser’s high-entropy client hints when available (Chromium browsers).
Frequently asked questions
What is a user agent?
A line of text your browser sends with every request, describing the browser, its version and the operating system. Websites and analytics tools use it for statistics, compatibility fixes and spotting bots.
Why do all browsers say “Mozilla/5.0”?
History. In the 1990s, sites served better pages to Netscape (code-named Mozilla), so other browsers started claiming to be Mozilla too. Each new browser copied the old strings to avoid being blocked, which is why Chrome’s user agent also mentions Safari and Gecko.
Why does my Windows 11 PC show Windows 10?
Browsers send “Windows NT 10.0” for both Windows 10 and 11, and froze macOS at 10.15, to reduce fingerprinting. Chromium browsers offer the real version through client hints, which this tool shows for your own browser.
Can I trust the user agent to identify bots?
Not on its own: any program can claim to be Googlebot. To confirm a real crawler, do a reverse DNS lookup on the visitor’s IP address and check it belongs to the search engine.
Written by Dewan Razib