Online Tools Toolshu.com Log In Sign Up

User-Agent Parser

Current Local UA
Loading...
Deep Browser Detection
Tool Introduction

The User Agent Parser Tool is a comprehensive online utility designed to decode and analyze User-Agent strings found in HTTP headers. It combines real-time detection with deep analysis capabilities.

What is a User Agent?

When you visit a website, your browser sends a specific string of text to the server known as the User Agent (UA). Think of it as your "digital ID card" on the internet.

  • The Mozilla Mystery: You might notice that almost all UA strings (even for Chrome, Safari, or Edge) start with Mozilla/5.0. This is a historical quirk from the early "browser wars." Modern browsers maintain this prefix to ensure compatibility with older websites that check for "Mozilla" to allow access.
  • Structure: A typical UA string contains encoded information about the Application Name/Version, Operating System, Rendering Engine, and Device Details. For example, specific tokens identify whether you are running on Windows 10 or macOS, and whether you are using a mobile device or a desktop.

Key Features

This tool translates these cryptic strings into human-readable data:

  • Instant Local Detection: upon loading, the tool automatically displays your current device's raw User-Agent string, allowing you to verify your own digital fingerprint instantly.
  • Custom Analysis: A dedicated input area allows you to paste UA strings from server logs, web scrapers, or emulators for immediate diagnosis.
  • Comprehensive Metrics:
    • Browser: Identifies major browsers (Chrome, Firefox, Safari) and their exact versions.
    • Operating System: Distinguishes between platforms like Windows, macOS, Android, iOS, and Linux.
    • Engine: Reveals the underlying rendering engine (WebKit, Gecko, Blink) crucial for web compatibility debugging.
    • Device Info: Categorizes the device type (Desktop, Mobile, Tablet) and attempts to resolve specific vendor models (e.g., iPhone, Pixel, Samsung).
    • CPU Architecture: Detects processor architecture (e.g., amd64, arm64) to help understand the hardware environment.

Whether you are a developer debugging responsive designs, an SEO specialist analyzing bot traffic, or a security researcher identifying spoofed identities, this tool provides precise and fast User Agent identification.

Common User Agent Examples

1. PC Browsers

Browser TypeUser Agent String
Windows 10 + Chrome 120Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
macOS + Safari 17Mozilla/5.0 (Macintosh; Intel Mac OS X 14_0) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15
Windows 10 + Edge 120Mozilla/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
Windows 10 + Firefox 121Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0

2. Mobile Devices

Device/Browser TypeUser Agent String
iPhone 15 + iOS 17 + SafariMozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1
iPad + iPadOS 17 + SafariMozilla/5.0 (iPad; CPU OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1
Huawei Mate30 Pro + Android 10 + WeChat Built-in BrowserMozilla/5.0 (Linux; Android 10; LIO-AN00 Build/HUAWEILIO-AN00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 Mobile Safari/537.36 MicroMessenger/7.0.12.1620
Xiaomi 14 + Android 14 + WeChat Built-in BrowserMozilla/5.0 (Linux; Android 14; MI 14 Build/UP1A.231005.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/120.0.0.0 Mobile Safari/537.36 MicroMessenger/8.0.4500

3. Crawlers/Special Clients

Client TypeUser Agent String
Baidu SpiderMozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
Python Requests Librarypython-requests/2.31.0
GooglebotMozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
发现周边 发现周边
Comment area

Loading...