User Agent Parser
Paste a user agent string from a server log or an analytics report, or use this browser's own string, to see the browser, version, system and device.
Ta treść jest po angielsku.
Rozwiązane przykłady
Reading a desktop browser string
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Browser: Chrome 120. Operating system: Windows 10. Device: desktop. The result is the most likely reading of the text.
Older names are kept in user agent strings for compatibility, which is why a Chrome string also mentions Safari and Mozilla.
Spotting a search crawler
A string that names a known search engine crawler
Bot: yes, identified as a search engine crawler.
Crawlers identify themselves in their user agent, so the parser can report them as bots rather than people.
O narzędziu User Agent Parser
Every time a browser or a program requests a page, it sends a user agent string that describes itself. The text usually names the browser and its version, the operating system and, on phones and tablets, the device. Analytics tools, web servers and security systems read these strings to understand who is visiting, but the raw text is hard to interpret. Each string is a jumble of product names and version numbers, many of which exist only for historical reasons. This parser breaks the text into the browser, its version, the system, the device type and the device model.
You can paste any user agent string from a server log, an analytics report or a support ticket, or press the button to read this browser's own string. Results are worked out with a set of rules for the major browsers, phone and desktop systems and common crawlers. Because some browsers freeze or shorten their system version for privacy reasons, and because Windows 10 and 11 share a number, the result is the most likely answer rather than a guaranteed fact.
Jak korzystać z narzędzia User Agent Parser
- Paste a user agent string into the box, or press the button to use this browser's string.
- Read the browser name and version, which appear first in the table.
- Check the operating system, system version and device type.
- Read the device model if one was given, or the note about bots and crawlers if the string came from a search engine.
Typowe zastosowania
- Finding out which browsers and phones most visitors use in an analytics export
- Checking whether a bug only affects one version of one browser
- Recognising search engine crawlers that appear in a server log
- Testing how a page identifies a particular device during development
Najczęstsze pytania
What is a user agent string?
A user agent string is a line of text that a browser or program sends with each request to describe itself. It normally includes the product name and version, the operating system and sometimes the device. Websites use it to send the right version of a page to each visitor, and analytics tools use it to report which browsers people use.
Why does a Mac string say 10.15.7 when my Mac is newer?
Some browsers, including Chrome and Safari, report a frozen system version so that websites do not reject their users when a new macOS version appears. A Mac running a much newer system may therefore show 10.15.7 in its string. The string is not wrong, but it does not reveal the real version, so treat the macOS number as a minimum guide.
How does the parser tell Chrome, Edge and Opera apart?
Edge, Opera and several other browsers include the word Chrome in their strings, because they are built on the same engine. The parser therefore checks for their own names first, such as Edg, OPR or SamsungBrowser, and only identifies Chrome when none of those is present. Results follow the same order, so the most specific name wins.
Why is my Windows version shown as 10 or 11?
Windows 10 and Windows 11 both send the same system number in their user agent strings, so the parser cannot tell them apart from the string alone. The result shows 10 or 11 to be accurate. Other system versions, such as 8.1 and 7, are shown exactly.
Can the parser identify search engine bots?
Yes. Crawlers such as Googlebot and Bingbot introduce themselves in their strings, and the parser reports them as bots or crawlers with their version number. Some strings are disguised to look like ordinary browsers, so a regular-looking result is not proof that a visitor is a person.