Skip to content
Zesona
User Agent ParserLocal

User Agent Parser

Parse a user agent string into browser, version, engine, operating system and device type, with its caveats.

  • Free
  • No sign-up
  • Runs in your browser

Input

Runs in your browser

0 characters

Processed entirely in your browser. Nothing is uploaded.

Fill in User agent string to continue.

Enter your input to see the result

Everything happens on this device. No upload, no account, no network request.

How to use this tool

  1. 1

    Paste the user agent string.

  2. 2

    The detected browser, engine, operating system and device type are shown, along with any contradiction the parser noticed.

Limits and caveats

Published up front rather than buried, because knowing where a tool stops is part of being able to trust it.

  • User agent strings are easily spoofed and increasingly frozen or reduced for privacy. Treat the result as approximate, and never use it for feature detection.

Questions about User Agent Parser

Why does Chrome claim to be Safari?

Historical compatibility. Chrome’s string contains `Chrome`, `Safari` and `Mozilla/5.0`; Edge’s contains all of those plus `Edg`. Each browser added the previous one’s token so that sites sniffing for it would not block them. That is why token order matters: test for the most specific first, or you will identify every Chromium browser as Safari.

Why does Safari report macOS 10.15.7 on a new Mac?

Apple froze that version in the user agent deliberately, to reduce fingerprinting. Chrome does something similar with its User-Agent Reduction. The string increasingly does not describe the real system, by design.

Should I use this for feature detection?

No. Strings are trivially spoofed, deliberately frozen, and new ones appear constantly - any parser is permanently out of date. Test for the capability you need (`if ("share" in navigator)`) rather than inferring it from a browser name. User agent parsing is for rough analytics, and even there treat it as approximate.

Is my data sent anywhere?

No. This tool runs as JavaScript inside your browser tab. There is no network request carrying your input, nothing is written to a server log, and it keeps working with your connection switched off. You can confirm it in the browser’s network panel. That matters more here than elsewhere on the site: developer tools handle tokens, keys and production data.

Does the User Agent Parser work offline?

Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the User Agent Parser keeps working with the network switched off and nothing is ever sent to a server.

Other tools you might reach for next.