What is my user agent?
Which browser and operating system does your device report to websites? Here is your user agent in plain text and broken down – plus the more detailed Client Hints. You can also paste someone else’s user agent, for example from a server log. Everything is processed in your browser only.
How it is calculated
With every page request, your browser sends the HTTP header User-Agent. In it, the browser names itself, its version, its rendering engine and the operating system. Websites use it for statistics, download buttons (“for Windows”) and debugging. This tool shows your user agent, breaks it down and also reads the newer Client Hints.
How it works
- At the top you see your browser’s user agent, followed by Client Hints and further properties such as language, cookies and touch support.
- Under “Detected” you get the browser, version, engine, operating system and device type.
- Paste another user agent (e.g. from a server log or bug report) into the field and it is parsed instantly. Clear the field to go back to your own.
Why user agents look so odd
Almost every user agent starts with Mozilla/5.0, and Chrome also claims to be “Safari” and “like Gecko”. That is history: browsers pretended to be their predecessors so websites would serve them the full version. This is why a parser checks tokens in a fixed order – Edge (Edg/) and Opera (OPR/) first, then Chrome, and Safari last.
User-Agent Reduction and Client Hints
Since 2023, Chrome, Edge and other Chromium browsers deliberately shorten the user agent (User-Agent Reduction): the minor version is always .0.0.0, Windows always shows as Windows NT 10.0, macOS as 10_15_7, and on Android the phone model is replaced by Android 10; K. This makes it harder to recognise users (fingerprinting). Precise details are only available through User-Agent Client Hints (navigator.userAgentData): platform version, architecture, model and full browser version, which a page has to request explicitly. Firefox and Safari do not offer Client Hints.
Limitations
- Easy to fake: the user agent is self-reported. Extensions, developer tools (“device mode”) or bots can send any text they like.
- Windows 10 or 11? The user agent does not tell; only Client Hints do (platform version 13 or higher = Windows 11).
- iPad: in desktop mode, Safari on iPad pretends to be a Mac. A touch screen still gives it away.
- For website features, feature detection (checking whether an API exists) is more reliable than the user agent.
Frequently asked questions
What is my user agent?
A line of text your browser sends with every page request. It names the browser, version, engine and operating system, e.g. “Mozilla/5.0 (Windows NT 10.0; Win64; x64) … Chrome/140.0.0.0 Safari/537.36”. Yours is shown in plain text at the top of this page.
Why does Chrome show its version as 140.0.0.0?
That is Chromium’s User-Agent Reduction: only the major version is real, the rest is fixed at “0.0.0”. The exact version is available through Client Hints (“Full versions”) if your browser supports them.
Why does Windows 11 show “Windows NT 10.0”?
Microsoft never raised the version number in the user agent, so Windows 10 and 11 look the same there. Client Hints can detect Windows 11: platform version 13.0.0 or higher.
Can the user agent be changed or faked?
Yes. Developer tools (device mode / network conditions) or an extension can set any text. That is why the user agent is not suitable as a security feature.
Is my data stored?
No. The page reads the values directly in your browser and displays them; nothing is sent to a server and nothing is stored – including any user agent you paste.
Sources and legal basis
- MDN Web Docs – User-Agent
- MDN Web Docs – NavigatorUAData.getHighEntropyValues()
- § 10.1.5 User-Agent: RFC 9110 – HTTP Semantics
- WICG – User-Agent Client Hints
- Chromium – User-Agent Reduction
- Microsoft Learn – Detect Windows 11 using User-Agent Client Hints
As of:
Related tools
- What is my screen resolution?Instantly see your screen resolution, physical pixels, browser viewport, devicePixelRatio, aspect ratio and CSS breakpoint. Live, right in your browser.
- What is my IP address?Instantly shows your public IP address, detects IPv4 or IPv6 and explains the difference. Free, no sign-up – your IP address is never stored.
- DNS lookupLook up the DNS records of any domain: A, AAAA, MX, TXT, CNAME, NS, SOA, CAA, SRV and PTR – with TTL, DNSSEC status and explained error codes. Free.
- Regex TesterTest JavaScript regular expressions live: matches highlighted, capture groups in a table, every part of the pattern explained. Free, nothing uploaded.
- JSON formatter, validator and minifierValidate JSON against RFC 8259 with the exact line, column and a plain-English explanation. Beautify or minify, sort keys, copy. Runs locally in your browser.
- Aspect Ratio CalculatorCalculate the aspect ratio from width and height (1920 × 1080 = 16:9), find the missing side, decimal value, nearest standard ratio and CSS aspect-ratio.