Free Online User Agent Parser & Bot Detector

Instantly analyze and decode any user agent string to detect browser, operating system, device type, and bots. Free, fast, and 100% client-side. No data stored. No registration required.

Parse Your User Agent Instantly (Free)

Paste any user agent string below to decode it in real-time. Or click "Use My Browser's User Agent" to analyze your current browser:



What is a User Agent String?

A user agent string is an HTTP header sent by your web browser every time it makes a request to a server. It contains information about your browser name, version, operating system, device type, and rendering engine.

Example of a real user agent string:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

This string tells a server: "I'm a Chrome browser on Windows 10, 64-bit architecture, with WebKit engine." Servers use this information to optimize content delivery, detect mobile vs desktop, identify bots, and debug compatibility issues.


Why Use a Free User Agent Parser & Bot Detector?

🔍 Browser Detection

Identify which browsers are accessing your site (Chrome, Safari, Firefox, Edge, etc.) and their versions.

📱 Device Type Detection

Determine if users are on desktop, mobile, tablet, or TV. Serve device-specific experiences.

🤖 Bot Detection & Crawler Identification

Identify search engine crawlers (Googlebot, Bingbot), social bots, security tools, and scrapers.

🐛 Debugging & Compatibility

Troubleshoot compatibility issues by understanding what browsers/devices are having problems.

📊 Analytics & Traffic Analysis

Analyze your traffic sources: which OS versions are most common, browser market share, mobile vs desktop ratio.

🔐 Security & Bot Prevention

Detect suspicious user agents, identify bad bots, scrapers, and protect against automated attacks.


How User Agent Parsing Works

User agent strings follow loose patterns. Different browsers format them differently, making parsing complex. Here's what parsers look for:

  1. Browser identification: Look for keywords like "Chrome", "Safari", "Firefox", "Edge", "Opera"
  2. Version extraction: Find version numbers (e.g., "120.0.0.0") and build numbers
  3. OS detection: Identify Windows, macOS, Linux, iOS, Android from specific markers and version tokens
  4. Device type detection: Keywords like "Mobile", "Tablet", "iPad", "Android" indicate device class
  5. Bot detection: Look for bot signatures (Googlebot, Bingbot, Crawlers, Spiders, Scrapers)
  6. Engine identification: Detect rendering engines (WebKit, Gecko, Blink, Trident)
  7. Crawler classification: Distinguish between search bots, social media bots, and malicious bots

Popular User Agent Examples to Test

Here are real user agent strings you can copy and test with this free online parser:

Desktop Browsers

Chrome 120 (Windows 11)

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

Firefox 122 (Windows 11)

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0

Safari 17 (macOS)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3 Safari/605.1.15

Edge 120 (Windows 11)

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0

Opera 106 (Windows)

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 OPR/106.0.0.0

Brave (Windows)

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Brave/1.73.97

Mobile & Tablet User Agents

Safari (iPhone 15)

Mozilla/5.0 (iPhone; CPU iPhone OS 17_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3 Mobile/15E148 Safari/604.1

Chrome (Android 13)

Mozilla/5.0 (Linux; Android 13; SM-G991B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36

Safari (iPad Pro)

Mozilla/5.0 (iPad; CPU OS 17_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3 Mobile/15E148 Safari/604.1

Firefox (Android)

Mozilla/5.0 (Android 13; Mobile; rv:122.0) Gecko/122.0 Firefox/122.0

Samsung Internet (Android)

Mozilla/5.0 (Linux; Android 13; SM-G950F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/22.0 Chrome/120.0.0.0 Mobile Safari/537.36

Opera (Android)

Mozilla/5.0 (Linux; Android 13; Nexus 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 OPR/80.0.0.0

Bot & Crawler User Agents

Googlebot (Web Crawler)

Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

Bingbot

Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)

Yahoo Slurp

Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)

DuckDuckBot

DuckDuckBot/1.0; (+http://duckduckgo.com/duckduckbot.html)

Baidu Spider

Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)

Facebook Crawler

facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)

Twitter Bot

Twitterbot/1.0

LinkedIn Bot

LinkedInBot/1.0 (compatible; Mozilla/5.0; +http://www.linkedin.com)

Curl (HTTP Client)

curl/7.64.1

Wget (Downloader)

Wget/1.21.2 (linux-gnu)

Python Requests

python-requests/2.28.1

Scrapy (Web Crawler)

Scrapy/2.9.0 (+https://scrapy.org)

Free & Online User Agent Parser Tools Comparison

Compare popular user agent parsing tools and their features:

Tool Type Best For Key Features Pricing
This Tool (Online) Free Online Quick parsing, bot detection, no registration Instant results, 100% client-side, bot detector, device detection Free (Forever)
WhatIsMyBrowser Commercial Enterprise API users, large-scale analysis Huge UA database, API access, accuracy tracking, historical data Freemium + API pricing
BrowserScan Free General parsing, browser info Clean UI, quick parsing, multiple utility tools Free
Google Admin Toolbox Free Google Workspace teams, basic parsing Part of Google toolchain, simple interface Free (Google-backed)
IT-Tools Open Source Developers, self-hosted parsing 100+ dev tools bundled, fast, minimal design Free (open source)
UAParser (Library) Open Source Backend developers, JavaScript/Node.js npm library, integrates into code, regex-based Free (npm)
51Degrees Commercial Enterprise detection, real-time data Real-time UA database updates, high accuracy, APIs Enterprise pricing

How to Choose the Right User Agent Parser

For Individual Developers & Learning

Use this free online tool or BrowserScan. No registration, instant results. Great for quick debugging and understanding user agents.

For Small Teams & Websites

Use Google Admin Toolbox (if you're already in Google Workspace ecosystem) or IT-Tools (self-hosted). Simple, reliable, free.

For Backend Development

Use UAParser library (JavaScript/Node.js) or similar language-specific libraries. Integrate parsing directly into your application code.

For Enterprise & Analytics

Use WhatIsMyBrowser API or 51Degrees. They maintain massive UA databases, offer real-time updates, and handle edge cases. Worth the cost for high-volume operations.

For Privacy-First Organizations

Self-host IT-Tools or use open-source UAParser libraries. Data never leaves your servers. Full control over accuracy and updates.


Limitations of User Agent Detection

⚠️ Important: User agent parsing is helpful but not 100% reliable. Here's what you should know:

Common Limitations

Best Practices for Accurate Detection


Getting Started with User Agent Parsing

If you're developing a website or application, here's how to integrate user agent parsing:

For Web Developers (JavaScript)

  1. Install UAParser.js: npm install ua-parser-js
  2. Import and use: const parser = new UAParser(); const result = parser.getResult();
  3. Access parsed data: browser name, OS, device type, engine version
  4. Implement conditional logic based on browser/device

For Backend Developers (Node.js/Python)

  1. Use language-specific UA parser library
  2. Parse user agent on server: req.get('User-Agent')
  3. Log or analyze results for analytics
  4. Respond with optimized content if needed
💡 Pro Tip: Don't rely solely on user agents for critical decisions. Combine user agent detection with feature detection (can the browser support WebGL?, does it support Service Workers?, etc.) and runtime testing for the most robust results.

Frequently Asked Questions

What is a user agent string?
A user agent string is an HTTP header sent by your browser to web servers. It identifies your browser name, version, operating system, device type, and other system information.
Why would I need to decode a user agent?
Developers decode user agents to detect browsers, identify bots/crawlers, detect devices, troubleshoot compatibility issues, analyze traffic sources, and implement device-specific features. It's essential for analytics and traffic monitoring.
Can this free online parser detect bots and crawlers?
Yes. Search engine bots (Googlebot, Bingbot), social media crawlers (Facebook, Twitter), security tools, and web scrapers include identifiable signatures in their user agent strings. This tool includes a bot detector for common crawlers.
Is this tool secure? Does it store my data?
Completely secure. This tool runs 100% client-side in your browser. No data is sent to any server. Nothing is logged or stored. Your privacy is guaranteed.
Can I detect mobile vs desktop from user agent?
Yes. User agent strings contain keywords like 'Mobile', 'Tablet', 'iPad', 'Android' that indicate device type. This tool analyzes these patterns to detect device type (desktop, mobile, tablet, TV).
What's the difference between parsing and decoding?
Parsing extracts structured data from a user agent string. Decoding interprets what those extracted values mean (e.g., parsing gets 'Chrome/120', decoding tells you 'Google Chrome version 120').
How accurate is user agent detection?
Very accurate for browsers, OS, and devices (90%+). However, users can spoof user agents or browsers can change format without warning. Enterprise tools like 51Degrees maintain massive databases to handle edge cases. Always combine with feature detection for critical features.
Are user agents being phased out?
User agents won't disappear but are becoming less detailed. Google's "User-Agent Client Hints" (UA-CH) aims to provide more privacy-friendly detection. But UA strings will remain useful for years. Both technologies will coexist during transition period.
Can I use this tool to detect bots visiting my website?
This is a manual parser, not an automatic website monitor. However, you can integrate bot detection logic into your server using the concepts shown here. Look for bot signatures in server logs, or use a bot management service for enterprise solutions.