User Agent Parser
Parse and detect your browser name, version, operating system, device type, and rendering engine.
User Agent Parser tool
Example
Input: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1 Safari/605.1.15
Result: You are using Safari 17.1 on macOS 10.15.7 (Desktop). The browser uses the WebKit rendering engine (version 605.1.15).
Safari reports its own version in the Version/ token, the OS from the Mac OS X 10_15_7 part, and the engine from AppleWebKit/605.1.15.
How the Sample User Agents Parse
| Sample | Browser | OS | Device | Engine |
|---|---|---|---|---|
| Chrome on Windows | Chrome 120.0.0.0 | Windows 10/11 | Desktop | Blink |
| Safari on iPhone | Safari 17.0 | iOS 17.0 | Mobile | WebKit |
| Firefox on Linux | Firefox 120.0 | Linux | Desktop | Gecko |
| Edge on macOS | Microsoft Edge 120.0.0.0 | macOS 10.15.7 | Desktop | Blink |
| Googlebot | Unknown | Unknown | Bot/Crawler | Unknown |
Output of this parser for the five sample buttons in the tool.
- Your own user agent string loads and is parsed automatically.
- To check another one, paste it into the input field.
- Review the browser name and version, operating system and device type.
- Check the rendering engine and the one-sentence summary.
- Copy the string with the "Copy UA" button, or load a sample such as Googlebot or Safari on iPhone.
Reading a User Agent String
A user agent string is the line of text your browser sends with every request to say which browser, operating system and device it runs on. This parser reads that string and shows the browser, OS, device type and rendering engine, with versions. It also writes a one-line summary.
The strings look odd because of history. Almost every browser starts with Mozilla/5.0, and Chrome also calls itself Safari and says like Gecko. Browsers added those words so old sites that checked for one browser would still serve them. The parser works through the tokens in a set order. It checks Edge, Opera, Samsung Internet and other Chrome-based browsers before Chrome, and Chrome before Safari, because their strings also mention Chrome or Safari.
Some details are vague on purpose. Windows 10 and 11 both send Windows NT 10.0, so the tool reports 10/11. Chrome and Safari also freeze parts of the string to make tracking harder. A Mac is reported as macOS 10.15.7 no matter which version it runs. Device type is a best guess from words like Mobile, iPad or Tablet, so a phone set to request desktop sites looks like a desktop.
Your own string loads automatically. You can paste any other one, for example from a server log or a bug report. Or load a sample: Chrome on Windows, Safari on iPhone, Firefox on Linux, Edge on macOS or Googlebot. Parsing happens in your browser. For screen size and pixel ratio, which the user agent does not include, use the Screen Resolution Detector.
Sources
Frequently Asked Questions
Related Tools
IP Address Info
Detect your public IP address and view geolocation data, ISP details, and network information.
Security and EncryptionScreen Resolution Detector
Detect your screen resolution, viewport size, pixel ratio, color depth, and display information.
Security and EncryptionSSL Certificate Checker URL Parser
Check any website SSL/TLS certificate: validity, days until expiry, issuer, SANs, TLS version, and fingerprints.
Security and EncryptionURL Encode and Decode
Encode special characters for URLs or decode percent-encoded strings back to readable text.
Developer Tools