User Agent Parser

Identify browser, OS and device from a user-agent string.

The User Agent Parser breaks a User-Agent string into browser, rendering engine, operating system, device and CPU architecture. It starts with your own browser's string and lets you paste any other. Developers, QA engineers and support staff use it to decode strings from logs, analytics exports and bug reports.

What is a user-agent string?

A user-agent string is a text header that a browser or HTTP client sends with every request to describe itself. Historically it began with Mozilla/5.0 and then accumulated tokens such as AppleWebKit, Chrome and Safari so that sites would not block less common browsers, which is why modern strings look cluttered and contain misleading names. The string can include the browser name and version, the engine, the operating system and sometimes the device model. Because strings are self-reported and easy to spoof, they are good for diagnostics and analytics but unsafe as a security control. Browsers are also reducing detail in them for privacy.

How to use User Agent Parser

  1. Provide a string The User-Agent string box starts with your own browser's string. Paste a different one over it, or press Use my browser to restore it.
  2. Read the table Browser, Engine, Operating system, Device and CPU architecture appear automatically as you type.
  3. Clear and repeat Use the clear button to empty the box and test another string.

Frequently asked questions

Why does Chrome's string mention Safari and Mozilla?

Those tokens are legacy compatibility markers. Early sites served better pages to Mozilla and WebKit browsers, so newer browsers copied the tokens. The parser knows this and reports the real browser, such as Chrome with the Blink engine.

Why is the CPU shown as Unknown?

CPU architecture is only reported when the string includes an indicator such as x64, WOW64 or arm. Many mobile and macOS strings omit it, so the field falls back to Unknown.

Can the result be wrong?

Yes. Strings are self-declared, so a client can claim to be anything. The tool decodes what the string says and cannot confirm the client is truthful.

Why does a phone show a vendor and model?

When the string contains a recognisable model such as iPhone or Pixel 7, the Device row combines vendor, model and device type, for example Apple iPhone mobile.

Does it read my browser's string automatically?

Yes. The box is pre-filled with your browser's own string on load, and the Use my browser button restores it at any time.