User Agent Parser
Parse user agent strings into structured components. Identify browser, operating system, device type, rendering engine, and architecture.
How It Works
A user agent string is an identifier that HTTP clients send with every request to tell the server what software is making the request. This parser breaks it down into structured fields.
Token Structure
A typical UA string is a sequence of product tokens in the format Name/Version, sometimes followed by parenthesized comments:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
- Mozilla/5.0 — Compatibility token (nearly universal)
- (Windows NT 10.0; Win64; x64) — Platform comment with OS and architecture
- AppleWebKit/537.36 — Rendering engine token
- (KHTML, like Gecko) — Compatibility comment
- Chrome/131.0.0.0 — Browser product token
- Safari/537.36 — Legacy compatibility token
Detected Fields
| Field | Description |
|---|---|
| Browser | Name and version of the web browser (Chrome, Firefox, Safari, Edge, etc.) |
| Operating System | OS name and version (Windows, macOS, Linux, Android, iOS) |
| Device | Device type (Desktop, Mobile, Tablet, Console, Bot) |
| Engine | Rendering engine (Blink, WebKit, Gecko, Trident) |
| Architecture | CPU architecture (x86_64, ARM64, ARM, x86) |
Common Rendering Engines
- Blink — Chrome, Edge, Opera, Brave (based on WebKit)
- WebKit — Safari, older Chrome
- Gecko — Firefox
- Trident — Internet Explorer
- EdgeHTML — Legacy Microsoft Edge
Why User Agents Matter
- Content Negotiation: Servers can deliver different content based on browser capabilities
- Analytics: Track browser and device usage statistics
- Compatibility: Detect and work around browser-specific issues
- Security: Identify potentially malicious bots or scrapers
Limitations
- UA strings can be freely spoofed by the client
- Many browsers disguise themselves as others for compatibility
- Modern browsers are freezing UA strings in favor of User-Agent Client Hints (Sec-CH-UA headers)
- Feature detection is preferred over UA sniffing for web development
Related Utils
Feedback
Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.
Sending...
Feedback sent. Thank you!
Error occurred!
-
-
-
-
-
-
-
- ABI Encoder / Decoder
- Block Estimator
- Calldata Cost
- CREATE2 Address
- ENS Availability
- ENS Cost Estimator
- ENS Lookup
- ENS Namehash
- ENS Record Viewer
- ENS Subname Explorer
- ERC-20 Unit Converter
- Gas Estimator
- HD Wallet Derivation
- Merkle Tree Visualizer
- 4-Byte Selector Lookup
- Solidity Storage Layout
- Transaction Decoder
- Vanity Address Estimator
- Wallet Address Validator
- Wei/Gwei/Ether Converter
-
-
-
-
-
- API Response
- ASCII Table
- Code Bug Detector
- Code Explanation
- CSS Beautifier
- Env Parser
- GraphQL Query
- Syntax Highlight
- HTML Beautifier
- JS Beautifier
- JSON Formatter
- JSONPath
- JWT Decoder
- JS keyCodes
- API Lorem Ipsum
- RegExp
- Regex Library
- Semver Compare
- SQL Beautifier
- TOML Formatter
- Code Unminifier
- XML Beautifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Amortization
- Break-Even
- Compound Interest
- Crypto Profit/Loss
- Debt Payoff
- Discount
- Effective Interest
- Emergency Fund
- Inflation Calculator
- Simple Interest
- Invoice Calculator
- IRR Calculator
- Mortgage
- NPV Calculator
- Portfolio
- Profit Margin
- Rent vs Buy
- Retirement Calc
- ROI Calculator
- Salary vs Hourly
- Savings Goal
- Tax Calculator
- VAT
-
-
-
-
-
-
-
-
-
-
-
-
- Equation Solver
- Exponent Calculator
- Factorial Calculator
- Fibonacci Sequence
- Fraction Calculator
- Fraction Simplifier
- GCD Calculator
- GCD/LCM
- Least Common Multiple (LCM) Calculator
- Logarithm Calculator
- Magic Square
- Matrix Calculator
- Number Base Converter
- Pascal's Triangle
- PDE Solver
- Prime Checker
- Prime Factorization
- Roman Numbers
- Scientific Notation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Broken Link Checker
- Canonical URL Checker
- Core Web Vitals Checker
- Favicon
- Heading Structure
- Keyword Density
- Meta Tags
- Mobile-Friendly Test
- Open Graph Tags
- Page Load Time Analyzer
- Redirect Checker
- robots.txt
- Schema Markup
- SEO Optimized Checklist
- XML Sitemap
- Time on Page Tracker
- Page Title & Desc.
- Twitter Card Generator
-
-
-
-
-
-
- Acceleration
- Substance Amount
- Angle
- Area
- Astronomical
- Base Converter
- Capacitance
- Electric Charge
- Data Transfer
- Data Storage
- Density
- Energy Converter
- Force Converter
- Frequency Converter
- Fuel Economy
- Illuminance
- Inductance
- Length / Distance
- Power
- Pressure
- Electrical Resistance
- Time
- Speed
- Temperature
- Viscosity
- Volume
- Weight
-
-
-
-
-