🔧 TL3 Tools

🖥️ User Agent Parser

Written by Alex Chen · Reviewed by Sarah Mitchell · July 27, 2026

Identify browser name, version, operating system, and device type from any user agent string. Parse your current browser or paste a custom UA string.

Input

Parsed Details

Enter a user agent and click Parse to see details.

What This Parser Reads

The User Agent Parser extracts browser name, browser version, operating system, and device type from any user agent string. It automatically loads your current browser's user agent and parses it immediately. You can also paste any custom user agent string to analyze other browsers, bots, or devices. The parser uses a series of pattern-matching rules to identify the browser engine, version numbers, OS family, and device category (desktop, mobile, or tablet). All processing is client-side with no data sent to any server.

Pasting a User Agent

  1. Load your browser — your current user agent is automatically displayed in the read-only field.
  2. Click Parse — the tool shows your browser, version, OS, and device type immediately.
  3. Or paste a custom UA — enter any user agent string in the textarea and click Parse to analyze it.
  4. Read the results — parsed details are displayed in a clean card layout with labels for each field.

Who Works With User Agents

User Agent Questions

How accurate is the user agent parser?

The parser uses pattern matching against known browser, OS, and device signatures. It covers the major browsers (Chrome, Firefox, Safari, Edge, Opera), operating systems (Windows, macOS, Linux, iOS, Android), and device types. For less common browsers or obscure user agents, results may be less accurate. User agent strings can be spoofed, so treat the output as a best-effort identification.

Can I use this to detect bots and crawlers?

Many bots and crawlers include identifiable strings like Googlebot, Bingbot, or Slurp. The parser will attempt to identify common crawlers by name. For comprehensive bot detection, consider combining user agent analysis with IP reputation checks and behavioral signals.

Why am I seeing "Unknown" for some fields?

The parser may not recognize every possible browser, OS, or device combination. This is especially common for esoteric browsers, custom user agent strings, or future browser versions. You can still see the raw user agent string and manually interpret the remaining details.

Is user agent detection still relevant in modern web development?

While feature detection (checking for specific browser capabilities) is generally preferred over user agent sniffing, user agent analysis remains useful for analytics, logging, and certain edge cases where feature detection is impractical or impossible.

Reading a User Agent, Step by Step

A user agent string is a series of product tokens separated by spaces. The parser works through them left to right and pulls out four facts. Take a typical desktop Chrome string:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

Bots and Crawlers

Search engine crawlers announce themselves openly. When the string contains Googlebot, Bingbot, or Slurp, the parser names the crawler and flags the Device Type as Bot. This is handy when you are auditing server logs and want to separate genuine browser traffic from crawler hits.

What the Tokens Mean

Decode the example left to right. Mozilla/5.0 is a legacy compatibility marker dating back to the browser wars of the nineties — nearly every browser ships it so that ancient servers respond with standards mode rather than quirks mode. The parenthesized section names the platform: Macintosh, Intel Mac OS X 10_15_7, and the architecture when the client reports one. AppleWebKit/537.36 is the rendering engine, (KHTML, like Gecko) a second compatibility claim, then the real product — Chrome/126.0.0.0 — and finally Safari/537.36, which Chrome appends because WebKit-derived engines do.

Mobile browsers add extra markers such as Mobile Safari or Chrome Mobile, plus tokens naming the phone model on some Android builds. The order of tokens is not legally fixed, and vendors occasionally reorder fields between releases, which is why substring matching is fragile and the parser instead scans for known product names in any position.

Known Limitations

When to Trust the Result

The parser is most reliable for the mainstream combinations — Chrome, Firefox, Safari, Edge, and Opera on Windows, macOS, Linux, iOS, and Android — and for the well-known crawlers. For analytics, log triage, and support diagnostics, that coverage is plenty. If you are building a security gate or a paywall, never key off the user agent alone; pair it with feature detection or server-side signals.

Related Tools