NewPlus, API and MCP are live — run 175 tools from your own stack.
100www

Tool 212 · C07 · Encoding / Dev · Updated Nov 2026

User Agent Parser

Parse any User-Agent into browser, engine, OS, device and CPU with copyable JSON.

Browser Free No sign-up
How it works
100www.dev/tools/user-agent-parser

Browser

—

Engine

—

OS

—

Device

desktop

CPU

—

Parsed result JSON

What it does

A user agent string is a compact, historically messy description of the client that made a request. Parsing it extracts browser, version, rendering engine, operating system and device class. It is useful for analytics and compatibility, and unsafe for access control.

How it works

The classic format is Mozilla/5.0 (platform; details) engine/version browser/version. Nearly every browser begins with Mozilla/5.0 for compatibility, so the leading token tells you nothing. The real client is usually near the end or inside the parentheses.

Order matters. Edge and Opera include Chrome tokens, Chrome includes Safari tokens, and Safari includes WebKit tokens. A parser must check the most specific product first, otherwise every Edge request looks like Chrome.

Bots, libraries and HTTP clients send custom strings. curl, Python requests and monitoring agents are often identifiable only by the absence of a browser token, and some deliberately mimic a browser.

User-Agent reduction and Client Hints are changing the picture. Chromium now sends a frozen, reduced UA and exposes detailed versions through Sec-CH-UA headers after an opt-in. Parsing the old string alone yields a coarse result.

The string is fully attacker-controlled. Never use it for authentication, authorization or security decisions. Use feature detection and server-side capability checks instead.

When to use it

  • Debug a compatibility report by identifying the exact client.
  • Classify traffic by browser and OS in analytics.
  • Detect a bot or library in a log entry.
  • Check how a UA changes after enabling Client Hints.

Glossary

User agent
A request header describing the client software.
Rendering engine
The component that parses HTML and CSS, such as Blink or Gecko.
Client Hints
Sec-CH-UA headers that expose structured client information.
UA reduction
Sending a frozen, less detailed user agent string.
Sniffing
Inferring capabilities or identity from the UA string.

Frequently asked questions

Why does every browser say Mozilla/5.0?+

Historical compatibility. Sites used to serve different content based on the token, so new browsers kept it to avoid being blocked. It is not a reliable identifier.

Can I trust the UA for security?+

No. It is trivially spoofed. Use authentication and server-side checks, not the header.

Why is the version wrong for Chrome?+

UA reduction freezes minor versions and may only report a major version. Use Client Hints for detail, and accept that some information is intentionally unavailable.

How do I detect a bot?+

The UA can help, but combine it with behaviour, IP reputation and robots.txt compliance. Many bots claim to be browsers.

Is parsing done locally?+

Yes. The string is processed in the browser and not uploaded.

API & MCP

No API endpoint

This tool runs entirely in your browser. It is not available over the REST API or MCP.

Shareable result

https://100www.dev/tools/user-agent-parser?v=Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_7)%20AppleWebKit%2F537.36%20Chrome%2F131.0%20Safari%2F537.36

100www

100www engineering

Editorial

Reviewed by Steve · · Report an error

Tested from the 100www probe network; results vary by location and network.