Skip to content
SmaftyTools

User-Agent Parser

Parse a User-Agent string into browser, engine, OS and device details instantly. Free online User-Agent parser and analyzer.

About User-Agent Parser

The User-Agent Parser reads a browser's User-Agent string and breaks it down into browser name and version, rendering engine, operating system, and device type — turning a dense, hard-to-read string like 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_4...)' into a clean, labeled summary.

It's used constantly for debugging a browser-specific bug report by confirming exactly which browser, version and OS combination the reporter was using, checking analytics or server logs to understand what device sent a particular request, verifying that a User-Agent your own application sends (for an API client or bot) parses the way you intend, and satisfying simple curiosity about what a given User-Agent string actually claims to be.

Parsing recognizes the major browser engines (Blink/Chromium, WebKit, Gecko) and their downstream browsers (Chrome, Edge, Safari, Firefox and many others), common operating systems (Windows, macOS, iOS, Android, Linux and their versions), and device type (desktop, mobile, tablet) along with vendor and model when the string includes that detail, which mobile Safari and Android WebView User-Agents typically do.

User-Agent strings are self-reported by the browser and not cryptographically verified in any way — a browser (or a script using `fetch` or `curl`) can claim to be anything, so this tool reports what the string says, not a guaranteed fact about the actual client. That said, for legitimate debugging and log analysis, it reflects exactly what a real visitor's browser sent, which is why server logs and analytics platforms still parse User-Agent strings as a practical (if imperfect) signal despite this limitation. Parsing happens entirely client-side; no User-Agent string you paste here is logged or transmitted, so it's safe to paste a string copied straight out of a private server log while debugging.

How to Use the User-Agent Parser

  1. Paste a User-Agent string (or check your own browser's via navigator.userAgent in the console).
  2. The parsed breakdown appears instantly: browser, engine, OS and device.
  3. Copy the breakdown or download it as a text file.

Features

  • Detects browser name/version, rendering engine, OS and device type
  • Recognizes mobile, tablet and desktop device categories
  • Identifies device vendor and model where the string includes it
  • Instant, client-side parsing — no logging

Examples

Parsing a mobile Safari User-Agent

Input

Mozilla/5.0 (iPhone; CPU iPhone OS 17_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Mobile/15E148 Safari/604.1

Output

Browser: Mobile Safari 17.4 · Engine: WebKit · OS: iOS 17.4 · Device: mobile (Apple iPhone)

Frequently Asked Questions

Can a User-Agent string be faked?

Yes — it's entirely self-reported by the client, so any browser, script or bot can claim to be anything. This tool reports what the string says, which is accurate for debugging real traffic but shouldn't be relied on as a security check.

How do I find my own browser's User-Agent?

Open your browser's developer console and type navigator.userAgent, then paste the result here — a handy way to see exactly how your own setup gets parsed and reported.

Why does the CPU architecture field often show '—'?

Most modern browsers no longer include detailed CPU architecture information in their User-Agent string for privacy reasons (part of a broader industry trend toward 'User-Agent reduction'), so this field is only populated when a string explicitly includes it.

Is the User-Agent parser free?

Yes, the User-Agent parser is completely free with no usage limits. No signup, no account and no installation required.

Is my data safe?

Yes. All processing happens locally in your browser using JavaScript — nothing you type is uploaded or stored on our servers.