User Agent Parser
See what your browser's User-Agent string says about your browser, operating system and device, and which parts of it can no longer be trusted. Paste any other string to decode that instead.
Results update as you type. A line copied from a log or request, starting with "User-Agent:", works too.
Your browser's User-Agent
What else your browser reports
These values come from your browser's own JavaScript interfaces, not from the string above. They are read on this page only and are not sent anywhere.
About the User Agent Parser
Every time a browser, app or script requests a web page it sends a User-Agent header: one line of text naming the software making the request. This tool reads that line and picks out the browser and its version, the rendering engine, the operating system, the kind of device and whether the sender looks like a crawler or an automation tool. When the page opens it decodes your own browser's string. To see your public IP address as well, go to the IP Pigeon home page.
How to use it
- Read the list under Your browser's User-Agent to see how your own browser describes itself.
- To decode a different string, for example one from a server log, paste it into the box or pick an example. Press Use my browser's to go back.
- Use Copy string to copy the raw text, or Copy link to share a pasted string with its results.
Where a row begins "Reported as", the string contains that value but it is known to be frozen or simplified, so it is what the browser claims and not necessarily the truth. The note under the row explains why.
Why every string starts with Mozilla/5.0
Mozilla was the code name of Netscape Navigator in the 1990s. Web servers of the time checked for that word before sending pages with newer features, so Internet Explorer announced itself as "Mozilla, compatible" to receive the same pages. Each later browser did the same with its rivals' names. That is why Chrome's string still mentions Mozilla, AppleWebKit, KHTML, Gecko and Safari, and why Edge's mentions Chrome as well. The order in which a parser tests for names therefore matters: Edge has to be checked before Chrome, and Chrome before Safari.
User-Agent reduction and Client Hints
Chrome and other Chromium browsers have deliberately removed detail from the string, a change called User-Agent reduction. Only the major version is real, so the rest reads 124.0.0.0. On desktop the platform part is a fixed value for each operating system, and on Android it is always Android 10; K whatever the real Android version and phone model are. Apple and Mozilla froze parts of theirs too: Safari and Firefox on a Mac report macOS 10.15 on every later release.
Chromium's replacement is User-Agent Client Hints. The browser sends three short headers by default (Sec-CH-UA for brand and major version, Sec-CH-UA-Mobile and Sec-CH-UA-Platform). A site that needs more, such as the full version, the platform version, the processor architecture or the device model, has to ask for it, either with an Accept-CH response header or from JavaScript with navigator.userAgentData.getHighEntropyValues(). This page makes that JavaScript call and shows you the answers. Firefox and Safari do not implement Client Hints, and the tool says so when the interface is missing.
What the string cannot tell you
- Windows 10 or Windows 11. Both send
Windows NT 10.0. Only the Client Hints platform version separates them: 13.0.0 or higher means Windows 11. - The macOS version. It is frozen at
10_15_7, and the string says "Intel" on Apple silicon Macs too. - An iPad from a Mac. Safari on iPadOS asks for desktop sites by default and sends the same string as Safari on a Mac.
- Brave from Chrome. Brave sends Chrome's string unchanged, so it cannot be detected from the text.
- The engine on iOS. Chrome, Firefox and Edge on iPhone and iPad are built on Apple's WebKit, and their strings follow Safari's pattern with an extra token such as
CriOS,FxiOSorEdgiOS.
Why developers should prefer feature detection
Deciding what a page should do from the User-Agent string is fragile. The string is designed to imitate other browsers, parts of it are frozen, new browsers appear that no list knows about, and users and extensions can change it. If your code needs to know whether something is supported, test for the feature itself, for example with 'serviceWorker' in navigator in JavaScript or @supports in CSS. Keep User-Agent parsing for statistics, log analysis and working around a specific bug in a specific version.
Anyone can send any string
The header is plain text chosen by the sender. A one-line script can claim to be Chrome on an iPhone, and scrapers often claim to be Googlebot because some sites treat it generously. A "Googlebot" User-Agent therefore proves nothing. Google's documented check is a reverse DNS lookup on the visiting IP address: the name should end in googlebot.com, google.com or googleusercontent.com, and a forward lookup of that name should return the same address. You can run both lookups with the DNS Lookup tool by choosing the PTR record type. The same reasoning applies to every other crawler name this tool recognises.
The User-Agent and fingerprinting
On its own a User-Agent string is shared by a great many people. Combined with the other values on this page, such as language, screen size, device pixel ratio, touch support, time zone and the detailed Client Hints, it becomes part of a browser fingerprint: a set of traits that together can be distinctive enough to recognise a browser again without cookies. Reducing the string was meant to shrink that set, which is why the more revealing details now have to be requested explicitly.
Limitations
- The parser recognises the common browsers, in-app browsers, crawlers and command-line tools named above. Less common software is reported as not recognised or matched only by a general "bot", "crawler" or "spider" rule.
- The general bot rule looks for those words inside the string, so an unusual product name containing "bot" can be flagged by mistake.
- Results describe what the string says. A browser set to request desktop sites, a privacy extension or a spoofed header will be decoded exactly as written.
- The device model is rarely present. Modern Android browsers send the placeholder "K", and iPhones never include their model.
Privacy
Your own details are read by JavaScript in your browser and shown only to you. The page makes no extra request to our server with them, and strings you paste are parsed locally. A pasted string is put into the page address only when you press Copy link; anyone who opens that link requests that address, so the string in it reaches the server as part of the page address, as with any link. Your own browser's string is never placed in a link.
Common questions
What is a user agent string?
A user agent string is a line of text that a browser, app or script sends with every web request, in the User-Agent header, to name the software making the request. It usually lists the browser and its version, the rendering engine and the operating system. Websites use it for statistics, log analysis and working around bugs in particular browser versions.
Can I change my browser's user agent?
A browser's user agent can be changed, because it is only text chosen by the sender. The developer tools in Chrome, Edge, Firefox and Safari can send a different string, and extensions and command-line tools can do the same. Changing it alters only what the browser claims to be, not how it actually behaves.
Why does my user agent say Windows 10 when I have Windows 11?
A user agent says Windows 10 on a Windows 11 computer because both systems send the same token, Windows NT 10.0. That part of the string is frozen, so it no longer changes between releases. Only User-Agent Client Hints can tell the two apart: a platform version of 13.0.0 or higher means Windows 11.
How do I check whether a visitor is really Googlebot?
A genuine Googlebot visit is confirmed by its IP address, not by its user agent, which anyone can copy. Run a reverse DNS lookup on the visiting address: the name should end in googlebot.com, google.com or googleusercontent.com. Then look that name up forwards and check that it returns the same IP address.