What is a user agent?
The user agent is a line of text your browser sends with every request, identifying the browser, its version and the operating system. A typical one looks like Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36. Websites use it to send the right layout, to decide which features to enable and, often, to count visitors.
Why it looks so strange
Almost every user agent starts with "Mozilla/5.0" and mentions several other browsers. That is history: early sites served better pages to Netscape (code-named Mozilla), so every later browser pretended to be it, then pretended to be Safari and Gecko too, to avoid being served worse content. The result is a string where "Chrome" and "Safari" both appear in a Chrome user agent, so correct detection needs careful ordering. Our parser checks Edge, Opera and Samsung Internet before Chrome for exactly this reason.
User-agent reduction and Client Hints
The user agent carries enough detail to help identify you, so browser makers are shrinking it. Chrome and Edge now freeze most of the version and device details inside it and offer a replacement: User-Agent Client Hints. Basic hints (brand, mobile, platform) are sent by default. Detailed ones (exact version, CPU architecture, device model) are only sent when a site asks for them, which makes it easier to see which sites want them. Firefox and Safari do not support Client Hints and send a simple user agent only.
Is it a privacy risk?
On its own, a user agent is shared by millions of people, so it is a weak identifier. It matters in combination with other details: add your screen size, time zone, fonts and graphics card and you may be unique. See how unique your browser is.
The user agent can also be spoofed. Extensions and developer tools can change it, but remember that a spoofed value that disagrees with the rest of your browser (a Safari user agent from a Windows font set, for example) can make you stand out more, not less.
Common uses of this tool
- Reporting a bug and including your browser version.
- Checking whether a site gets the mobile or desktop version.
- Testing user agent switchers and privacy extensions.
- Developers verifying what a request really contains.
Last reviewed 2026-10-26. Found a mistake? Report a correction (how we handle them).