User-Agent Analyzer

Extract browser, OS, and device info from a User-Agent string.

Category: Dev Tools

When to use?

Use it to analyze a User-Agent string from server logs to learn the access environment, or to check a specific browser/OS combination.

How to use

  • Enter a User-Agent string (your current browser UA is filled automatically).
  • The browser name/version, OS, and device type are parsed and shown.

Input Explanation

Paste the full browser User-Agent string (e.g. Mozilla/5.0...) into the input.

Calculation Basis

It parses the User-Agent with a library like ua-parser-js to extract browser type/version, OS, device type (mobile, tablet, PC), and CPU architecture as an object.

Usage Examples

  • Check access environment - Paste a logged User-Agent to check the browser and OS.
  • Quick pre-deploy check - Check inputs and output to reduce errors before dev/ops work.
  • Aid docs/reviews - Copy the result into dev docs, issues, or review comments.

Examples

  • "Mozilla/5.0 (iPhone; CPU iPhone OS 16_0...)" → mobile device, iOS 16, Safari
  • An Android Chrome UA → shown as mobile, Android, Chrome

Cautions

  • User-Agent strings can be spoofed, so use the result for reference only.
  • Modern browsers tend to reduce UA info, so device detail may be limited.

Guides

What a User Agent is

The User Agent (UA) string is client info the browser sends to the server, including browser type, version, OS, and device type.

Use the parsed result

Analyzing the UA reveals the visitor's browser, OS, and mobile/desktop status — useful for log analysis, responsive handling, and compatibility debugging.

FAQ

Is the result always accurate?

User-Agent strings can be spoofed, so use the result for reference.

Is the analyzed UA sent out?

No. User-Agent analysis runs only in the browser.

Can I see my own browser UA?

It auto-loads your current browser's User-Agent so you can see the analysis.

Can UA tell the exact device?

It gives a rough browser/OS, but it can be spoofed and modern browsers reduce info, so use it for reference.

Related Tools

  • JSON Formatter - Beautify or minify JSON strings instantly and check for validity errors.
  • UUID Generator - Generate up to 20 cryptographically secure UUID v4 values at once.
  • Password Generator - Generate secure random passwords in the browser by choosing length, character set, and count.
  • JWT Decoder - Decode a JWT header and payload to view the JSON and key claims.
  • Regex Tester - Enter a regex pattern to see matches in text in real time.
  • QR Code Generator - Convert text or a URL into a QR code and download it as an image.