toolqik

66 · API & Webhooks

User-Agent Parser

Read browser, OS, device and bot from any User-Agent string.

Runs in your browser
Parsed
Your browser’s Client Hints

About this tool

Every HTTP request carries a User-Agent header describing the client: browser, version, operating system and device. It’s useful in analytics, debugging (“which browser sent this?”), bot detection and support tickets. But it’s a messy string full of historical compatibility tokens: nearly every browser claims to be “Mozilla”, and Chrome also claims to be Safari. This parser applies the rules that untangle it.

The User-Agent is unreliable by design

  • Frozen values: to reduce fingerprinting, Chrome and other browsers now report fixed values for some parts. Windows 11 still says “Windows NT 10.0”, macOS versions are capped at 10_15_7, and Android hides the device model in some browsers.
  • Easy to fake: any client can send any string, so never use it for security decisions.
  • Prefer feature detection ('share' in navigator) over browser detection when adapting a page.

User-Agent Client Hints

Chromium-based browsers offer more accurate data through Client Hints: Sec-CH-UA headers and navigator.userAgentData in JavaScript. Detailed values such as the exact platform version (telling Windows 11 from 10) must be requested. The right-hand panel shows what your own browser reports; Firefox and Safari don’t support Client Hints.

FAQ

What is my user agent?

It is shown in the box above when the page loads. Click “My browser” to restore it after trying other examples.

Why does my Windows 11 PC show Windows 10?

Browsers report Windows NT 10.0 for both. Only User-Agent Client Hints (platform version 13 or higher) identify Windows 11.

Can I detect bots from the user agent?

Well-behaved bots like Googlebot identify themselves, but anyone can fake a user agent. Verify important crawlers with reverse DNS lookups.

Is user-agent sniffing a good idea?

Use it for analytics and debugging. To adapt features, detect support for the feature itself instead.

esc
↑↓ navigate↵ open