UtilitySansar
Lập trình viên

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.

Tóm tắt công cụ

Công cụ này nhận đầu vào có cấu trúc và trả về đầu ra xác định ngay trong trình duyệt, không tải lên máy chủ.

Tên công cụ
User Agent Parser
Mục đích đầu vào
Cung cấp nội dung nguồn để biến đổi, xác thực hoặc phân tích.
Mục đích đầu ra
Nhận đầu ra chuẩn hóa thuận tiện để sao chép, tái sử dụng hoặc gỡ lỗi.
Đầu vào ví dụ
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
Đầu ra ví dụ
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

Giới thiệu công cụ

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

Tổng quan công cụ

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.

Trường hợp sử dụng

  • 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.

Ví dụ đầu vào/đầu ra

Mục đích đầu vào
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
Mục đích đầu ra
browser: Safari 17.4
engine: WebKit 605.1.15
os: macOS 10.15.7
device: Desktop

Câu hỏi thường gặp

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.

Khám phá thêm công cụ

Khám phá các tiện ích liên quan trong danh mục Lập trình viên bên dưới.

Xem tất cả Lập trình viên

Công cụ liên quan

Tiện ích được tuyển chọn có thể hữu ích cho bạn