Networking & HTTP

User-Agent Parser

Parse a User-Agent string into browser, engine, OS, and device.

  • Draft kept in this tabYour draft is kept in this tab's session storage and cleared when the tab closes.
  • Runs in your browserProcessing happens in this page. No application server receives your input.
Load sample

User-Agent string

Parsed fields

Paste a User-Agent string or HTTP headers to see the parsed fields.

Raw comment and product tokens
#Token
Tokens appear here.

What it does

Breaks a User-Agent string into browser, engine, operating system, device, and CPU using ua-parser-js (loaded dynamically on demand), and parses RFC 8942 Sec-CH-UA Client Hints headers. Displays the raw product and comment token structure alongside the parsed fields.

User-Agent reduction and Client Hints

Modern browsers freeze legacy User-Agent tokens (such as macOS 10_15_7 and Windows NT 10.0) and expose high-entropy versions only through Sec-CH-UA-* Client Hints headers.

Limits

It parses a claim. A User-Agent string is self-reported, trivially forged, and (since browsers began freezing it) deliberately misleading: Chrome reports a Safari token, every browser reports Mozilla, and the OS version on recent Windows and macOS is capped at a value that stopped moving. This tool reports what the string says, not what the client is. Detection quality is ua-parser-js's, which is a maintained regex corpus and will be wrong about browsers released after the pinned version. Client Hints are read from a pasted header block, never requested: navigator.userAgentData is not consulted, because the tool's subject is the string in the box and not the browser looking at it. Bot detection is by the corpus's own patterns and identifies self-declared bots only.

Scope: this covers the page itself. Your browser, operating system, clipboard, downloads, extensions, and crash recovery may keep copies, and a compromised site origin would not be protected.