User-agent parser
Paste a user-agent string or check your own browser: browser, OS, device and bot details at a glance.
Paste several lines (from a server log, say) for a summary table; the first 500 lines are listed.
Parsing happens in your browser; the lines you paste are never sent to a server. A user-agent is a claim that can be changed — not a definitive identity.
How to use
- Paste the user-agent string into the box, or press “My browser”.
- Read the browser, engine, operating system and device rows.
- Check the notes below: frozen versions, hidden models, in-app browsers.
- For log analysis, paste many lines and get a summary by device type.
The parts of a user-agent string
Example: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
| Part | Meaning |
|---|---|
Mozilla/5.0 | A historical compatibility prefix every browser still writes |
(Windows NT 10.0; Win64; x64) | Operating system and CPU architecture |
AppleWebKit/537.36 | Engine lineage; Chrome carries it because it forked from WebKit |
(KHTML, like Gecko) | Old engine names kept for compatibility |
Chrome/129.0.0.0 | The real browser and major version; minor parts zeroed |
Safari/537.36 | A leftover added to receive Safari-specific pages |
That is why order matters when parsing: Edge and Opera strings also contain Chrome/, and Chrome strings contain Safari/. The tool looks for the most specific signature first.
The reduced (frozen) user-agent
To make fingerprinting harder, browsers replaced some user-agent details with fixed values. These no longer reflect the real device:
| Detail | Fixed value | Where to get the real one |
|---|---|---|
| Windows version | Windows NT 10.0 (10 and 11) | Client Hints: platform version 13+ means Windows 11 |
| macOS version | 10_15_7 | Client Hints (Chromium); not available in Safari |
| Android model | K | Client Hints: model |
| Android version | 10 | Client Hints: platform version |
| Chrome minor version | 129.0.0.0 | Client Hints: full version list |
Client Hints: what replaces the user-agent
Chromium-based browsers (Chrome, Edge, Opera, Samsung Internet) now send detailed information only on request, in separate headers such as Sec-CH-UA, Sec-CH-UA-Platform, Sec-CH-UA-Mobile and Sec-CH-UA-Model. In JavaScript the counterpart is navigator.userAgentData.
- Low-entropy hints (brand, platform, mobile or not) arrive with every request.
- High-entropy hints (full version, model, platform version) must be requested by the site with
Accept-CH. - Firefox and Safari do not support Client Hints; there the user-agent is still the main source.
- The “My browser” button shows these values in a separate card where they are supported.
Recognising and verifying bots
Search engines, AI crawlers, link previewers and command-line tools identify themselves in the user-agent. The tool recognises signatures such as Googlebot, Bingbot, YandexBot, GPTBot, ClaudeBot, Facebook and Twitter previewers, curl, Wget, python-requests and Headless Chrome.
Anyone can write any user-agent, and a malicious crawler can call itself “Googlebot”. To verify, look up the reverse DNS of the IP (for example *.googlebot.com), then check that the name resolves back to the same IP.
Where it helps in practice
- Log analysis: how many visitors are on phones, which browsers they use, how much traffic is bots.
- Support and debugging: the user-agent of someone saying “it does not work for me” tells you which browser is involved.
- In-app browser problems: links opened inside Instagram, TikTok or Facebook often break sign-in, downloads and payments. If you see
Instagram,FBAVormusical_ly, ask the user to open the link in a real browser. - Do not use it for feature detection: a site should answer “does this browser support X” by testing the feature itself, not by reading the user-agent.
Glossary
- User-agent
- The identification string a browser sends with every request.
- Engine
- The software that renders the page: Blink (Chrome), WebKit (Safari), Gecko (Firefox).
- Client Hints
Sec-CH-UA*headers that provide detailed browser data on request.- UA reduction
- Replacing version and model details in the user-agent with fixed values.
- In-app browser
- A web view an app opens inside itself (Instagram, TikTok).
- Crawler
- A program that visits pages automatically; a search-engine bot.
- Reverse DNS
- Finding the host name for an IP address; used to verify bots.
- Fingerprinting
- Identifying a user from the combination of browser characteristics.
Frequently asked questions
What is a user-agent?
The identification string a browser or program sends to the server with every request. It contains the browser name and version, the operating system and sometimes the device model.
Why does every user-agent start with “Mozilla/5.0”?
It is a historical compatibility leftover. In the 1990s sites sent advanced pages only to Mozilla, so other browsers started introducing themselves as Mozilla, and the habit stuck.
Windows 10 or 11 — why can't it tell?
Both write “Windows NT 10.0” in the user-agent. Only Client Hints can separate them; the “My browser” button shows this too in Chromium-based browsers.
Why does my Android phone show up as “K”?
Chrome reduced the user-agent for privacy: “K” replaces the model and a fixed “10” replaces the Android version. The real model is available through Client Hints, but sites have to request it explicitly.
How are bots recognised?
By known signatures such as Googlebot, Bingbot, GPTBot, curl or python-requests. User-agents are easy to fake, though; a genuine Googlebot has to be confirmed with a reverse DNS lookup of its IP address.
Can I paste my server log?
Yes. Put one user-agent per line; the tool counts them by device type and lists the first 500 in a table. The data never leaves your browser.
How reliable is this information?
A user-agent is a claim: extensions, privacy settings and bots can change it. It is good enough for analytics and debugging, but should not be the sole basis for a security decision.