Skip to content
M2TOOLKIT

Developer · free tool

User Agent Parser

Find out what a user agent string says about a browser and device.

Use it as often as you like — it's free, with no sign-up and no limits.

  • Developer
  • Free
  • No sign-up
  • Nothing is sent or stored
  • Updated

Showing your own browser's user agent. Paste any other to parse it.

User agents can be faked and are being reduced by browsers. For feature detection, test for the feature itself rather than the browser name.

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved.

How to use the User Agent Parser

  1. Your own user agent is shown automatically.
  2. Paste any other user agent to parse it.
  3. Read the browser, engine, OS and device type.

What does this tool do?

Browsers identify themselves with a user agent string sent on every request. It names the browser, rendering engine and operating system — though for historical reasons nearly every browser claims to be “Mozilla”.

The parser recognises Chrome, Edge, Firefox, Safari, Opera, Samsung Internet and common bots, and detects mobile, tablet and desktop devices.

Why use it?

  • Your own UA instantly.
  • Bot detection.
  • Device type.

Use cases

  • Debug browser-specific bugs from logs and support tickets.
  • Recognise bots and crawlers in analytics.
  • Check which device a user was on.

Reading a Chrome user agent

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

It's Chrome 130 on 64-bit Windows. “Mozilla”, “AppleWebKit” and “Safari” are there for historical compatibility. Windows 11 also reports itself as NT 10.0.

Common mistakes

  • Relying on user agent sniffing instead of feature detection.
  • Trusting user agents for security — they're easy to fake.
  • Expecting exact OS versions; modern browsers reduce this detail.

Accuracy and limits

  • User agents can be spoofed and are increasingly frozen by browsers, so treat results as hints.

Privacy

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved. There's no account to create and nothing to install.

Frequently asked questions

Why does every browser say Mozilla?

In the 1990s, sites served better pages to “Mozilla”, so every browser copied it.

Can it detect bots?

Yes, common bots and crawlers are recognised.

What are client hints?

A newer way for browsers to share device details on request, replacing parts of the user agent.

Content last updated . See how M2Toolkit works.

Other tools people use alongside the user agent parser.