Input a User Agent
When you open the tool, the input field is automatically populated with your current browser's User Agent string. You can also manually paste a UA string from any other source for parsing.
To get the UA from browser DevTools:
- Press
F12 or Cmd+Option+I (macOS) to open Developer Tools
- Switch to the Console panel
- Type
navigator.userAgent and press Enter, then copy the output
You can also find the User-Agent field in the Network panel by clicking on any request and checking the Headers tab.
Understanding the Parsed Results
After pasting a UA string, the tool breaks it down into the following dimensions:
- Browser: Name and version, e.g., Chrome 120, Safari 17.2, Firefox 121
- Operating System: System name and version, e.g., Windows 11, macOS 14.2, Android 14, iOS 17
- Device Type: Desktop, mobile, or tablet. Some UA strings can also identify the specific device model (e.g., iPhone, Samsung Galaxy)
- Engine: Rendering engine information, e.g., Blink, WebKit, Gecko
Note that UA string formats are not standardized. For historical compatibility reasons, browsers often include identifiers of other browsers in their UA strings. For example, Chrome's UA contains Safari — this is normal behavior.
Common Use Cases
Frontend Debugging
When a user reports a display issue in a specific environment, ask them to provide their UA string. Paste it into the tool to quickly identify the browser and OS version and determine whether it's a compatibility problem.
Data Analysis
When analyzing website access logs, paste a UA from the logs to confirm the device type and browser version for a given record, helping you understand traffic distribution.
Bot Identification
Some crawlers and bots have distinctive UA formats (e.g., Googlebot, Bingbot). Paste a suspicious request's UA into the tool to quickly determine whether it's a real user or a bot.
Testing and Validation
When developing responsive pages, compare parsed results from different device UAs to verify that your UA detection logic is working correctly.