Read a user agent string: browser, version, OS, device and bot
Paste a user agent, a list or an access log, and read its browser, operating system, device and bots, with counts for many.
How to use it
Paste a user agent, many one a line, or lines of an access log; or open a .log file. One user agent shows its fields; many show counts by browser, OS, device and bot. Copy all takes the fields or the counts as text.
Examples
An iPhone
Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1
Browser: Mobile Safari 17.5 Engine: WebKit 605.1.15 OS: iOS 17.5 Device: mobile Model: Apple iPhone
Googlebot
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Bot: Googlebot
A crawler names itself in the string; anyone can copy that string, so check the IP address before you trust it.
What it reads
Why Windows 11 shows as Windows 10, and Mac as 10.15.7
| Field | What reduced Chrome sends | Ask for instead |
|---|---|---|
Browser version | 130.0.0.0 | Sec-CH-UA-Full-Version-List |
Windows version | Windows NT 10.0 (also on Windows 11) | Sec-CH-UA-Platform-Version |
macOS version | Mac OS X 10_15_7 | Sec-CH-UA-Platform-Version |
Android model | K | Sec-CH-UA-Model |
Sources: Chromium: User-Agent Reduction, MDN: User-Agent Client Hints
Common user agents to test with
| Browser | User agent |
|---|---|
Chrome on Windows | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 |
Edge on Windows | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0 |
Firefox on Windows | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0 |
Safari on a Mac | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Safari/605.1.15 |
Chrome on Android | Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36 |
Safari on an iPhone | Mozilla/5.0 (iPhone; CPU iPhone OS 18_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Mobile/15E148 Safari/604.1 |
Bingbot | Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) |
curl | curl/8.7.1 |
Questions
- Can I trust a user agent?
No: any client can send any string, and bots often copy a browser’s. Use it for statistics and for working around a known browser bug, not for security. To confirm a Googlebot or Bingbot visit, check that the IP address resolves back to google.com or search.msn.com. - How many lines can it read?
Up to the 10 MB input limit, tens of thousands of log lines; the reading runs in the background of your browser, so the page keeps answering. Every line is counted; the first 500 are listed one by one. - Is my log uploaded?
No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first.