User Agent Parser
User Agent Parser Tool
Parse a user-agent string to identify the browser, operating system, rendering engine, and device type.
About User Agent Strings
A user-agent string is a line of text that a web browser sends to a server with every HTTP request. It identifies the browser, its version, the underlying operating system, and the rendering engine. Servers and scripts use this information for analytics, feature detection, and serving content tailored to a device.
Because of historical compatibility reasons, user-agent strings are notoriously messy. Almost every browser begins with "Mozilla/5.0" and includes tokens from other browsers. This parser uses pattern matching to extract the most likely browser, operating system, engine, and device type. For reliable feature detection in JavaScript, prefer capability checks over user-agent sniffing. Learn more in our Navigator userAgent Reference.