Skip to 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: Automatically load your browser's User Agent
  • Sample UAs Provided: UA samples 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 the following information:

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

Sample 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

Use Cases

  1. Web Analytics: Identify visitor browsers and devices
  2. Compatibility Testing: Check functionality in various environments
  3. Debugging: Reproduce specific browser 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

Precautions

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

💬 Was this tool helpful?

Feel free to send us your feedback or suggestions anytime!

Privacy

  • ✅ 100% client-side processing
  • ✅ No data sent to server
  • ✅ UA strings not logged
  • ✅ Your information stays private
  • ✅ Works offline