User-Agent Parser

Break any User-Agent string down into browser, rendering engine, operating system, device and architecture. Your own User-Agent is loaded automatically.

User-Agent

Result

Browser
—
Engine
—
Operating system
—
Device type
—
Vendor / model
—
CPU architecture
—

Use via API

Identifies the browser, engine, OS, device and CPU of a User-Agent string.

GEThttps://enhanced.dev.br/api/v1/web/user-agent
Query string parameters
QueryTypeDescription
uastringUser-Agent to parse; when omitted, the request's own header is used.

Request example

curl "https://enhanced.dev.br/api/v1/web/user-agent?ua=Mozilla%2F5.0+%28Windows+NT+10.0%3B+Win64%3B+x64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F126.0.0.0+Safari%2F537.36"

Response

{
  "ok": true,
  "data": {
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
    "browser": {
      "name": "Chrome",
      "version": "126.0.0.0",
      "major": "126"
    },
    "engine": {
      "name": "Blink",
      "version": "126.0.0.0"
    },
    "os": {
      "name": "Windows",
      "version": "10"
    },
    "device": {
      "type": "desktop"
    },
    "cpu": {
      "architecture": "amd64"
    }
  },
  "meta": {
    "version": "v1"
  }
}
  • Errors return { ok: false, error: { code, message } } with an HTTP 4xx/5xx status.
  • Free, no API key required. Limited to 120 requests per minute per IP.
  • CORS enabled: call it straight from the browser on any domain.

How to use

  1. Review the analysis of your current browser, loaded automatically.
  2. Paste any other User-Agent string, such as one from server logs.
  3. Check the detected browser, engine, OS, device type and CPU.

Use cases

  • Investigating bugs reported on specific browsers or devices.
  • Analyzing access logs to understand your user base.
  • Checking the User-Agent sent by apps, bots and HTTP clients.

Technical concepts

Anatomy of a User-Agent

For historical reasons, almost every browser starts with Mozilla/5.0 and includes tokens from other engines (AppleWebKit, KHTML, like Gecko, Safari) for compatibility. The real browser is identified by the combination and order of these tokens.

Reduced User-Agent and Client Hints

Chrome and Edge froze parts of the User-Agent, such as the minor version and OS version, in favor of User-Agent Client Hints (Sec-CH-UA). That is why Windows 11 and Android versions may look generic.

Prefer feature detection

To decide front-end behavior, prefer feature detection (if ('share' in navigator)) over inferring capabilities from the User-Agent, which can be spoofed or change with any release.

Frequently asked questions

Why does my Windows 11 show up as Windows 10?

The Windows 11 User-Agent is identical to Windows 10 (Windows NT 10.0). Only Client Hints tell the versions apart.

Is the User-Agent reliable?

Not for security: any client can send whatever string it wants. Use it only for statistics and diagnostics.

Related tools