User Agent Parser - Identify Browser, OS & Device
Parse any user agent string to identify the browser, rendering engine, operating system, and device type. Your own user agent is loaded automatically. Free and fully in-browser.
User Agent Parser - Decode Browser Identification Strings
Every browser, app, and crawler announces itself with a user agent string, and this tool translates that cryptic line into plain facts: which browser and version, which rendering engine, which operating system, and whether the client is a desktop, phone, tablet, or bot. Your own user agent is filled in automatically when the page loads, and you can paste any other string to analyze it.
Web developers paste user agents from bug reports to reproduce browser-specific issues. Support teams use it to figure out what a customer is actually running when screenshots are not available. Analysts checking server logs identify which entries come from Googlebot, Bingbot, or SEO crawlers versus real visitors, and QA engineers verify that device-detection logic classifies clients correctly.
User agent strings are notoriously misleading by design: nearly every modern browser claims to be Mozilla/5.0, Chrome includes the word Safari, and Edge includes both Chrome and Safari. Reliable parsing therefore checks the most specific markers first: Edg/ for Edge, OPR/ for Opera, SamsungBrowser/ for Samsung Internet, then Chrome, Firefox, and finally Safari, which is identified by its Version/ token. This parser applies that ordered ruleset along with bot signatures for a dozen common crawlers.
Note that user agents are trivially spoofed and are being reduced: Chrome froze parts of its UA string and modern feature detection plus User-Agent Client Hints are preferred for adapting sites. Treat parsed results as a strong hint, not proof, especially for analytics or security decisions.
The copy-as-JSON button exports the parsed result for use in test fixtures or documentation. For related debugging, our JWT Decoder helps inspect auth tokens from the same request logs, and the .htaccess Redirect Generator helps when you need to route legacy mobile URLs.
How the User Agent Parser Works
- 01Your own browser's user agent loads into the input automatically when the page opens.
- 02Paste any other user agent string to analyze it instead - from logs, bug reports, or analytics.
- 03An ordered ruleset checks bot signatures first, then browser markers from most to least specific.
- 04Read the results as labeled cards and copy the parsed structure as JSON.
Reading User Agent Strings Correctly
Paste the string exactly as it appears in your server log or bug report; the parser is whitespace tolerant and case aware where it matters. The detection order is the key to accuracy. Bots are checked first, because crawlers like Googlebot embed Chrome-like tokens that would otherwise be misread as real browsers. Then come the browsers that wrap Chromium and must be identified before Chrome itself: Edge by its Edg token, Opera by OPR, and Samsung Internet by SamsungBrowser. Firefox and Chrome follow, and Safari is checked last because nearly every WebKit browser includes the word Safari - genuine Safari is recognized by its Version token. Operating system detection maps Windows NT numbers to marketing names (NT 10.0 covers both Windows 10 and 11, which share the token), converts iOS and macOS underscore versions to dotted form, and recognizes Android, ChromeOS, and Linux. Device classification distinguishes tablets (iPad, or Android without the Mobile token) from phones and desktops. The JSON export gives you the same structure programmatically, ready for test fixtures or documentation.
When to Use the User Agent Parser
Use it when a bug report includes a user agent and you need to know what the reporter was actually running, when triaging server logs to separate crawler traffic from human visitors, or when verifying that your device-detection or analytics code classifies clients correctly. It is also useful for checking what your own browser advertises about itself. For runtime feature decisions in production code, prefer feature detection over user agent sniffing.
Common Use Cases
- Decoding the user agent attached to a customer bug report
- Separating search engine and SEO crawler hits from human traffic in server logs
- Verifying device-detection logic against real-world user agent samples
- Exporting parsed results as JSON for test fixtures
- Inspecting auth tokens from the same request logs → JWT Decoder
Expert Tips
- For feature decisions in production code, use feature detection or User-Agent Client Hints; string parsing is for diagnostics, not branching logic.
- When log entries claim to be Googlebot, verify with a reverse DNS lookup - fake Googlebot user agents are a common scraper disguise.
- Keep a few real user agent samples from your analytics as regression fixtures whenever you change detection code.
Frequently Asked Questions
Why do all user agents start with Mozilla/5.0?→
Why does Chrome's user agent contain Safari?→
Can I trust a user agent to identify a visitor?→
Which bots does the parser recognize?→
Related tools
12 suggested- 01HTML to JSX Converter - Free & InstantConvert HTML to valid React JSX instantly: className, camelCase attributes, style objects, and self-closed tags. Free, browser-based, and private.
- 02.htaccess Redirect Generator - Apache & NginxGenerate 301 and 302 redirect rules for Apache .htaccess and Nginx, with HTTPS, www, and trailing-slash templates. Free and fully browser-based.
- 03Generate .env.example Files - Free & PrivatePaste a .env file and instantly get a .env.example with secret values stripped. Free, browser-based, and private - credentials never leave your device.
- 04JSON Formatter & Validator - Instant ResultsFormat, validate, and minify JSON with instant error highlighting. Pinpoints syntax errors. Free, private, browser-based.
- 05JSON to CSV Converter - Export InstantlyConvert JSON arrays to CSV format with automatic header detection. Download as CSV file. Free, browser-based - no upload needed.
- 06CSV to JSON Converter - Auto-Detect FormatConvert CSV data to JSON format instantly. Auto-detects delimiters and headers. Free, private, browser-based - no upload needed.
- 07Spreadsheet Merge and Split - Combine or Split CSV and Excel FilesMerge several CSV or Excel files into one, matching columns by name, or split one file into parts by row count or column value. Runs in your browser, nothing uploaded.
- 08JSON to XML Converter - Instant & FreeConvert JSON data to XML format with proper indentation and escaping. Free, browser-based converter - no upload needed.
- 09JSON Tree Viewer - Expandable VisualizerVisualize JSON data as an expandable, collapsible tree. Search keys and values, copy JSON paths. Free online JSON explorer.
- 10JSON Schema Validator - Free Online ToolValidate JSON data against a JSON Schema instantly. Perfect for AI function calling and API validation. Free, browser-based.
- 11Regex Tester - Live Matching & HighlightingTest regular expressions with live matching and highlighting. Supports all flags and capture groups. Free online regex debugger.
- 12Base64 Encoder & Decoder - Free OnlineEncode text to Base64 or decode Base64 back to text instantly. Full Unicode support. Free, private, browser-based.
From the blog
Further reading- 15 Free Developer Tools Every Programmer Should BookmarkFormat JSON, encode Base64, test regex, decode JWTs, and more. Fifteen browser-based developer tools that run locally with no installation required.11 min read
- Best Free Online Developer Tools in 2026The best free online developer tools for 2026: JSON formatters, regex testers, API builders, and code converters. All browser-based, no install.9 min read
- Developer Utilities: SQL, YAML, JSON, and Code MinificationFormat SQL queries, convert YAML to JSON, work with XML, and minify HTML, CSS, and JavaScript for production. Essential browser-based dev tools.10 min read