{{ JSON.stringify(parsedData, null, 2) }}
ℹ️ About User-Agent Parser
User-Agent Parser analyzes the browser User-Agent HTTP request header and extracts likely browser,
engine, operating system, device, platform, and crawler details. The header is defined by
RFC 9110
and is commonly exposed in JavaScript as navigator.userAgent in the
HTML Standard.
Use this online user-agent string parser when you need to inspect a raw UA value from logs, analytics, support tickets,
API requests, reverse proxies, or bot traffic.
Common use cases:
- Parse User-Agent headers from web server logs, CDN logs, WAF events, and support reports.
- Identify likely Chrome, Firefox, Safari, Edge, Android WebView, iOS Safari, or crawler traffic.
- Compare mobile, tablet, desktop, smart TV, and automated client traffic for analytics or QA.
- Debug compatibility reports when a site behaves differently across browsers or rendering engines.
- Review bot and scanner strings during security triage without trusting them as proof of identity.
Example input:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
The parser turns strings like this into structured fields such as browser family, major version, rendering engine, operating system, CPU architecture, and device class. Modern browsers may also send or support User-Agent Client Hints; see the UA Client Hints specification and the MDN User-Agent header reference for current browser behavior.
Extracted information:
- Browser: family, full version, major version, and rendering engine when detectable.
- Operating system: Windows, macOS, Linux, iOS, Android, and version hints when present.
- Device type: desktop, mobile, tablet, smart TV, console, embedded browser, or unknown.
- Platform: architecture hints such as x86, x64, ARM, and device vendor/model clues.
- Bot detection: search crawlers, monitoring clients, social preview bots, and other automation signals.
Limitations and privacy: User-Agent values are self-reported, easy to spoof, often frozen or reduced by modern browsers, and should not be used as an authentication or fraud decision by themselves. Treat the result as a compatibility hint, not a stable user identity. User-Agent strings can still contribute to browser fingerprinting; the W3C fingerprinting guidance explains why combining UA data with screen, font, canvas, header, and network signals can create privacy risk.
API Usage Example:
POST /api/tools/webdev/user-agent
Content-Type: application/json
{
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
}