What This Tool Does

This tool decodes complex HTTP `User-Agent` strings into readable data. It extracts the Browser name, Browser version, Operating System, OS version, Device type (Mobile, Tablet, Desktop), Layout Engine, and detects known bots.

Inputs Explained

How It Works

The parser applies a sequence of heuristic regular expressions to match known browser signatures (like Edge, Chrome, Safari, Firefox), OS signatures (Windows NT, Mac OS X, Android, iPhone), and bot patterns (Googlebot, Bingbot).

Formula / Logic Used

Regex matching: e.g. /Edg\/([\d\.]+)/ → Edge; /Mac OS X ([\d_]+)/ → macOS; /Mobile|Tablet/ → Device Type.

User-Agent Parser

Decode browser, OS, device, and engine from any User-Agent string.

Step-by-Step Example

Input:

Mozilla/5.0 (iPhone; CPU iPhone OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Mobile/15E148 Safari/604.1

Output:

Use Cases

Assumptions and Limitations

âš  Browser-only, no upload, no storage. Your data never leaves your device.

Frequently Asked Questions

How do I detect Chrome version from a User-Agent?

Look for the Chrome/ token in the UA string. Example: Mozilla/5.0 ... Chrome/124.0.6367.78 Safari/537.36 — the version is 124.0.6367.78, and 124 is the major version. The catch: many other browsers also include Chrome/ in their UA (Edge, Brave, Opera, even Samsung Internet), so use Chrome's version only after confirming it's NOT one of those — check for Edg/, OPR/, Brave/ first. Our User-Agent Parser handles all this disambiguation automatically and shows you the detected browser, version, OS, and device. For programmatic parsing, the ua-parser-js library is the gold standard. Don't roll your own regex.

What's a typical User-Agent for an iPhone Safari browser in 2026?

Apple now reports a frozen OS version in the User-Agent string starting with iOS 26, so even on the latest iPhones in 2026 you'll see something like Mozilla/5.0 (iPhone; CPU iPhone OS 18_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0 Mobile/15E148 Safari/604.1. The Version/26.0 is the actual Safari major; the iPhone OS 18_6 is intentionally pinned for privacy and won't update going forward. If you need the real iOS major, use the Safari Version/ token as a coarse proxy. Don't hard-code old assumptions — feature detection is more reliable.

What does the "Mobi" or "Mobile" token mean in a User-Agent?

It's a hint to servers that the browser wants the mobile version of the site. The W3C convention is: include "Mobi" if the device should receive mobile-optimized content, omit it for desktop. So Chrome on a phone has "Mobi" in its UA; Chrome on a tablet (where the user expects desktop layout) often does not. Safari uses "Mobile/15E148" with a build number. Don't rely on it solely for layout decisions — CSS media queries and viewport size are more reliable. But for redirecting between m.example.com and www.example.com, the "Mobi" check is still common. Our parser shows it as a flag.

Sources and References

Related Calculators

URL Encoder JSON Formatter Regex Tester JWT Decoder Diff Checker Base64 Encoder

User-Agent Parser practical guide

A user-agent parser reads browser, operating system, device, rendering engine, and bot hints from the user-agent string. This section gives visitors enough context to understand the calculation, choose the right inputs, and decide whether the result is suitable for a rough estimate, a worksheet answer, or a planning discussion.

How to use this developer tool

  1. Start with the value you know best and confirm the unit shown beside the input field.
  2. Fill only the fields requested by the tool. If a field is optional, use it when it changes the real-world result, such as time, rate, power factor, credits, or serving count.
  3. Press calculate, then read the main result together with any secondary values, conversions, warnings, or examples on the page.
  4. Run one simple test case before using the result in a report. A quick mental check catches unit mistakes and misplaced decimals.

Formula or method used

Paste the string, review detected browser and OS, check whether the device class makes sense, then use the raw string for debugging when detection is ambiguous. The important habit is to keep every input on the same basis before comparing results. For example, do not mix hours with minutes, grams with kilograms, square feet with square meters, or apparent power with real power unless the calculator explicitly converts those units.

Worked example

A Chrome on Android string should usually show Chrome as the browser, Android as the OS, mobile as the device class, and Blink as the rendering engine. This kind of small example is useful because it makes the direction of the calculation clear. After the result looks sensible, replace the sample numbers with your real project, class, recipe, prompt, or equipment data.

When this page is useful

Use User-Agent Parser for analytics debugging, support tickets, browser compatibility checks, bot review, and device segmentation. It is also helpful when you need a fast second opinion before copying numbers into a spreadsheet, invoice, lab note, design brief, homework solution, or project estimate.

Accuracy tips

  • Prefer measured values over rounded or advertised values whenever accuracy matters.
  • Write down the unit beside each number so the same calculation can be checked later.
  • Round final answers to a sensible number of digits; too many decimals can look more accurate than the inputs really are.
  • Use professional guidance for legal, tax, medical, electrical installation, or safety-critical decisions.

Common mistakes to avoid

The most common errors are entering the right number in the wrong unit, forgetting a multiplier such as 1,000, using a default rate that does not match your location, or treating an estimate as a certified result. If the answer seems surprisingly high or low, halve or double one input and see whether the output changes in the expected direction. That simple sensitivity check helps visitors trust the tool and understand the relationship between inputs and results.

Mini FAQ

Can I use this result directly?

For learning, planning, and quick comparisons, yes. For compliance, contracts, tax filing, health decisions, or electrical work, treat the result as a starting point and verify it against official guidance or a qualified professional.

Why do two calculators sometimes give slightly different answers?

Differences usually come from rounding, default assumptions, unit conversions, or whether the tool includes optional factors. Check the formula, input units, and rounding method before deciding which result is more appropriate.