User-Agent Parser
Detect browser, engine, OS, device type, and CPU architecture from any User-Agent string.
Parse User-Agent
What is a User-Agent String?
A User-Agent (UA) string is an HTTP header sent by your browser to web servers with every request. It identifies your browser, its version, the operating system, and sometimes the device type and rendering engine. Web servers use this information to serve optimized content, apply compatibility fixes, and gather analytics.
Fields This Tool Detects
- Browser & Version — Chrome, Firefox, Safari, Edge, Opera, Samsung Internet, and more
- Rendering Engine — Blink (Chrome/Edge/Opera), Gecko (Firefox), WebKit (Safari)
- Operating System — Windows (with version), macOS, Linux, Android, iOS, ChromeOS
- Device Type — Desktop, Mobile, Tablet
- CPU Architecture — x86_64 (64-bit), x86 (32-bit), ARM, ARM64, and others
Why is UA Detection Tricky?
Modern browsers include compatibility tokens in their UA strings. For example, Microsoft Edge includes "Chrome" in its UA string to ensure compatibility with Chrome-specific sites. This means detection order matters — Edge must be checked before Chrome. Similarly, mobile browsers often include "Safari" in their strings. This tool implements correct precedence rules to accurately identify your browser.
Common Use Cases
UA parsing is useful for debugging web compatibility issues, testing how your site appears to different browsers, verifying bot user-agents for security rules, and understanding your website's audience analytics.