Skip to main content

User Agent Parser

Parse User Agent strings to extract browser, OS, and device information.

Loading...

Key Features

  • Real-time Parsing: Instantly analyze User Agent strings
  • Load Current UA: Auto-load your browser's User Agent
  • Example UAs: Sample UAs from various browsers and devices
  • Detailed Information: Display browser, engine, OS, device, CPU info
  • Accurate Analysis: Uses ua-parser-js library

What is User Agent?

User Agent is a string that web browsers send to servers to identify themselves. It includes:

Browser Information

  • Browser name (Chrome, Firefox, Safari, etc.)
  • Version number
  • Rendering engine (Blink, Gecko, WebKit, etc.)

Operating System Information

  • OS name (Windows, macOS, Linux, iOS, Android, etc.)
  • Version information

Device Information

  • Device type (Desktop, Mobile, Tablet)
  • Manufacturer and model name
  • CPU architecture

Example User Agents

Desktop Browser

Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/120.0.0.0 Safari/537.36

Mobile Browser

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

Usage Scenarios

  1. Web Analytics: Understand visitor browsers and devices
  2. Compatibility Testing: Verify functionality across environments
  3. Debugging: Reproduce browser-specific issues
  4. Statistics: Analyze user environments
  5. Responsive Design: Optimize by device type

User Agent Components

Mozilla/5.0

Prefix used by most browsers for historical reasons

Platform Information

  • (Windows NT 10.0; Win64; x64): Windows 10, 64-bit
  • (Macintosh; Intel Mac OS X 14_1): macOS 14.1
  • (iPhone; CPU iPhone OS 17_1): iOS 17.1

Rendering Engine

  • AppleWebKit/537.36: WebKit engine
  • Gecko/20100101: Firefox's Gecko engine

Browser Identification

  • Chrome/120.0.0.0: Chrome version 120
  • Safari/605.1.15: Safari version
  • Firefox/121.0: Firefox version 121

Cautions

  • User Agent can be spoofed
  • Feature detection is more reliable than browser detection
  • User Agent strings constantly evolve
  • Trend toward simplification for privacy protection

🔗 Try These Next

💬 Was this tool helpful?

Feel free to send us your feedback or suggestions anytime!

Privacy

This tool operates entirely on the client side. Your User Agent strings are never sent to a server and are processed only in your browser.