User agent parser
Read a User-Agent string: browser, engine, operating system, device type and known bots or AI agents.
Input
Result
Fill in the input and press Run.
Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.
Use it from code or an agent
curl -s https://setget.net/v1/tools/user-agent-parse \
-H 'Content-Type: application/json' \
-d '{"input":{"user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"}}'
import json, urllib.request
body = {'input': {'user_agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36'}}
request = urllib.request.Request("https://setget.net/v1/tools/user-agent-parse", json.dumps(body).encode(),
{"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/user-agent-parse", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"input":{"user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
"slug": "user-agent-parse",
"input": {
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
}
}
{
"input": {
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
}
}
Endpoint: POST /v1/tools/user-agent-parse. Over MCP: run_tool with slug: "user-agent-parse".
Machine-readable: input schema, Markdown. Connect an agent.
Inputs
| Name | Type | Required | What it does |
|---|---|---|---|
user_agent |
string | yes | The User-Agent header value. |
Examples
Input
{
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
}Result
{
"browser": {
"name": "Chrome",
"version": "126.0.0.0"
},
"engine": {
"name": "Blink",
"version": "126.0.0.0"
},
"os": {
"name": "Windows",
"version": "10 or 11"
},
"device": "desktop",
"is_bot": false,
"bot": null
}An AI crawler
Input
{
"user_agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])"
}Result
{
"browser": {
"name": null,
"version": null
},
"engine": {
"name": "WebKit",
"version": "537.36"
},
"os": {
"name": null,
"version": null
},
"device": "bot",
"is_bot": true,
"bot": {
"name": "ClaudeBot",
"kind": "ai",
"version": "1.0"
}
}Safari on an iPhone
Input
{
"user_agent": "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"
}Result
{
"browser": {
"name": "Safari",
"version": "17.5"
},
"engine": {
"name": "WebKit",
"version": "605.1.15"
},
"os": {
"name": "iOS",
"version": "17.5"
},
"device": "mobile",
"is_bot": false,
"bot": null
}Questions
- Why does Windows say "10 or 11"?
- Windows 11 still reports itself as "Windows NT 10.0", so the two cannot be told apart from this text.
- Can a user agent be trusted?
- No. Any client can send any text. Treat the result as a hint, not as proof of who is calling.
- What are the bot kinds?
- search, ai, social (link previews), seo, feed, monitor, tool (libraries and command-line clients) and other.
Related tools
- HTTP headers parserTurn a raw block of HTTP headers into JSON, explain the well-known ones and audit security headers.
http-headers-parse - robots.txt testerCheck which URL paths a robots.txt file allows for a crawler, and which rule decided, following RFC 9309.
robots-test - HTTP status code lookupLook up an HTTP status code or search by words: meaning, typical cause and whether to retry.
http-status - .gitignore testerCheck which paths a .gitignore file ignores and which line decided each one, using real Git matching rules.
gitignore-test - Cache-Control explainerExplain a Cache-Control header directive by directive and how browsers and CDNs will treat the response.
cache-control-explain - Card number (Luhn) and IBAN validatorCheck a card number with the Luhn checksum and name its network, or check an IBAN by length and mod-97.
luhn-iban-validate