A user agent parser reads the User-Agent string a browser or bot sends with every request and extracts what it identifies: browser name and version, rendering engine, operating system and device type. This tool shows your own user agent by default and can parse any string you paste, including crawlers and command-line clients.
How to use the User Agent Parser
- See your own user agentThe box is filled with the user agent of the browser you are using right now, and the results show what it means.
- Or paste another oneReplace the text with a user agent from a server log, analytics report or bug ticket.
- Read the breakdownBrowser, operating system, device type and engine are listed, with notes where the string is known to be unreliable.
Why user agent strings look so strange
A typical user agent reads something like Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36. It mentions four browsers, and only one of them, Chrome, is real. The rest is historical baggage: for decades websites sent features only to browsers they recognised, so each new browser claimed to be the earlier ones in order not to be locked out.
That is why a user agent parser cannot just look for a name. It has to check tokens in order of specificity. Edge says Edg/ after its Chrome token; Opera says OPR/; Samsung Internet says SamsungBrowser/; Chrome on an iPhone says CriOS/ and, like every iOS browser, actually runs on Apple's WebKit engine. Safari is identified by Version/ together with Safari/ and the absence of the others.
The tool also recognises common crawlers (Googlebot, Bingbot, social media link previewers, AI crawlers and SEO bots) and scripted clients such as curl, wget and Python requests.
What a user agent can no longer tell you
Browsers now deliberately reduce the detail in the user agent to limit fingerprinting, so several fields are frozen or generic:
- Windows 11 reports as Windows 10. Both send
Windows NT 10.0. - macOS is frozen at 10.15.7 in Chrome, Firefox and Safari, whatever version is installed.
- Chrome on Android sends
Android 10; Kinstead of the real OS version and device model. - Chrome minor versions are zeroed, as in
131.0.0.0. - iPads in their default desktop mode identify as a Mac.
The replacement is User-Agent Client Hints, where a site asks for specific details. When you are viewing your own browser and it supports them, the tool shows the basic hints (brands, platform and mobile flag) next to the parsed string, along with your language setting and screen size.
Remember that a user agent is just a text header chosen by the sender. Anyone can set it to anything, and scrapers routinely pretend to be Chrome or Googlebot. Use it for analytics and debugging, not for security, and prefer feature detection over browser sniffing in your code. To control which crawlers may fetch your site, see the robots.txt generator.
Parsing happens in your browser; the string is not sent to a server.
Frequently asked questions
What is my user agent?
It is the text shown in the box when you open this page: the User-Agent header your browser sends to every website. The user agent parser explains which browser, operating system and device it describes.
What is a user agent string?
It is a line of text sent in the User-Agent HTTP header with each request. It names the browser or program making the request and usually its version, engine and operating system.
Why does my user agent say Mozilla and Safari when I use Chrome?
For compatibility. Browsers copied each other's tokens so that old websites would not block them. The token that actually identifies the browser is the most specific one, such as Chrome/ or Edg/.
Can it tell Windows 11 from Windows 10?
No. Both report Windows NT 10.0 in the user agent. Only User-Agent Client Hints, which a site must request, reveal the difference.
Can a user agent be faked?
Yes, easily. It is an ordinary request header that any client can set. Do not rely on it for access control or security checks.
Last updated 24 November 2026 by the TheTechFolk team.