UtilitySansar
Developer

User Agent Parser

Decode any User-Agent string into a clean breakdown — browser, engine, OS, device, and version — for log triage, bug reports, and analytics QA.

工具摘要

此工具接收结构化输入,在浏览器中返回确定性输出,无需上传到服务器。

工具名称
User Agent Parser
输入意图
提供需要转换、校验或分析的原始内容。
输出意图
获得可直接复制、复用或排错的规范化输出。
示例输入
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15
示例输出
browser: Safari 17.4 engine: WebKit 605.1.15 os: macOS 10.15.7 device: Desktop
Presets:
Browser

Safari

17.4

Engine

WebKit

605.1.15

Operating system

macOS

10.15.7

Device

Desktop

JSON view

工具介绍

Decode any User-Agent string into a clean breakdown — browser, engine, OS, device, and version — for log triage, bug reports, and analytics QA.

工具概览

The User-Agent header is a historical mess: every browser claims to be Mozilla, lots of stacks lie about who they are, and important hints are hidden in trailing tokens. This parser uses a sequence of well-known signatures (in the right order) to identify the real browser and engine, then extracts the OS and the device type. It surfaces the parts that matter — browser, engine, OS, device, raw version — and flags ambiguous strings instead of guessing wildly. Great for triaging support tickets and validating server-side analytics.

使用场景

  • Triage a bug report by extracting the user’s browser and OS from a noisy UA string.
  • Quickly validate analytics dashboards against raw logs.
  • Build a quick allow/deny list by inspecting the UA your real users send.

输入/输出示例

输入意图
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15
输出意图
browser: Safari 17.4
engine: WebKit 605.1.15
os: macOS 10.15.7
device: Desktop

常见问题

How accurate is the detection?+
For mainstream browsers and operating systems, very accurate. For obscure or spoofed UAs the parser will still surface what it can find and flag the rest as Unknown.
Can it detect bots and crawlers?+
Yes — known crawlers (Googlebot, Bingbot, AhrefsBot, etc.) are recognized and labelled as bots so you can filter them out of analytics.
Is anything sent to a server?+
No. UA parsing happens entirely in your browser; nothing is uploaded.

探索更多工具

在下方的 Developer 分类中发现相关工具。

浏览全部 Developer

相关工具

精选可能对你有用的实用工具