DevTools

用户代理解析器

在 Ali Hub DevTools 中使用 用户代理解析器,并获得清晰的验证、结果、隐私说明和已记录限制。

仅当工具明确说明浏览器本地、带版本、限定范围、可清除且非敏感的数据时才使用存储。

安装此工具

将此工具添加到设备,以便快速访问。

用户代理解析器

Parse a user-agent string online to inspect browser, operating system, device, and bot indicators. 简体中文 locale.

Make HTML structure easier to inspect

This tool parses a user-agent string and presents likely browser, operating system, device, and crawler information. A use...

Formatting is not HTML validation

A user-agent string is a structured-looking text sent in an HTTP header or exposed by a runtime. Formats vary by browser, ...

How to format HTML

  1. Paste the exact user-agent string, inspect the parsed fields, and compare them with request logs and other signals. Preser...
  2. Paste the exact user-agent string, inspect the parsed fields, and compare them with request logs and other signals. Preser...

Formatting method

  • Read markup structure

    The parser matches tokens and patterns against known signatures, then maps them to probable family, version, platform, dev...

  • Apply indentation

    The parser matches tokens and patterns against known signatures, then maps them to probable family, version, platform, dev...

  • Preserve content

    The parser matches tokens and patterns against known signatures, then maps them to probable family, version, platform, dev...

Exact parser recovery, optional-tag handling, whitespace policy, embedded-language behavior, and error wording should be c...

Read the formatted result

A useful result distinguishes observed text from inferred fields and shows unknown values clearly. Check version granulari...

常见错误

Common mistakes include blocking by a single token, assuming desktop or mobile from incomplete text, trusting version stri...

Common mistakes include blocking by a single token, assuming desktop or mobile from incomplete text, trusting version stri...

限制和特殊情况

The parser cannot guarantee identity, device hardware, location, automation status, or future compatibility. Client hints,...

The parser cannot guarantee identity, device hardware, location, automation status, or future compatibility. Client hints,...

Examples

User Agent Parser online — 1

What is a user-agent string?

Paste the exact user-agent string, inspect the parsed fields, and compare them with request logs and other signals. Preser...

A useful result distinguishes observed text from inferred fields and shows unknown values clearly. Check version granulari...

User Agent Parser online — 2

Can it identify a person?

Paste the exact user-agent string, inspect the parsed fields, and compare them with request logs and other signals. Preser...

A useful result distinguishes observed text from inferred fields and shows unknown values clearly. Check version granulari...

User Agent Parser online — 3

Are browser versions reliable?

Paste the exact user-agent string, inspect the parsed fields, and compare them with request logs and other signals. Preser...

A useful result distinguishes observed text from inferred fields and shows unknown values clearly. Check version granulari...

User Agent Parser online — 4

How are bots detected?

Paste the exact user-agent string, inspect the parsed fields, and compare them with request logs and other signals. Preser...

A useful result distinguishes observed text from inferred fields and shows unknown values clearly. Check version granulari...

User Agent Parser online — 5

Can user agents be spoofed?

Paste the exact user-agent string, inspect the parsed fields, and compare them with request logs and other signals. Preser...

A useful result distinguishes observed text from inferred fields and shows unknown values clearly. Check version granulari...

User Agent Parser online — 6

Should I block by user agent?

Paste the exact user-agent string, inspect the parsed fields, and compare them with request logs and other signals. Preser...

A useful result distinguishes observed text from inferred fields and shows unknown values clearly. Check version granulari...

Frequently asked questions

What is a user-agent string?

Treat parsed fields as hints. Combine them with request context and feature detection, and never use a user-agent label al...

Can it identify a person?

Treat parsed fields as hints. Combine them with request context and feature detection, and never use a user-agent label al...

Are browser versions reliable?

Treat parsed fields as hints. Combine them with request context and feature detection, and never use a user-agent label al...

How are bots detected?

Treat parsed fields as hints. Combine them with request context and feature detection, and never use a user-agent label al...

Can user agents be spoofed?

Treat parsed fields as hints. Combine them with request context and feature detection, and never use a user-agent label al...

Should I block by user agent?

Treat parsed fields as hints. Combine them with request context and feature detection, and never use a user-agent label al...

Why is a field unknown?

Treat parsed fields as hints. Combine them with request context and feature detection, and never use a user-agent label al...

What should I use for feature detection?

Treat parsed fields as hints. Combine them with request context and feature detection, and never use a user-agent label al...

References