User Agent Parser và Checker

Phân tích browser, OS, thiết bị và bot

Nhập User-Agent
User-Agent có thể bị giả mạo hoặc ẩn bởi client. Chỉ dùng kết quả để debug, không dùng làm ranh giới xác thực, phân quyền hoặc bảo mật.
Kết quả
Client / ứng dụng chứaChrome147.0.7727.15
Trình duyệtChrome147.0.7727.15
Rendering engineBlink537.36
Hệ điều hànhWindows10/11
Loại thiết bịDesktop
BotKhôngKhông rõ
User-Agent gốcMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/147.0.7727.15 Safari/537.36

Hướng dẫn công cụ

Về User Agent Parser và Checker

User-Agent Parser tách UA string thành browser, version, rendering engine, OS, device type và common bot clues.

Parsing chạy cục bộ trong browser hiện tại, hữu ích khi đọc logs, traffic sources, compatibility reports và crawler requests.

Cách dùng User-Agent Parser

  1. Dán User-Agent từ logs hoặc request headers.
  2. Xem browser, OS, device, engine và bot signals khi input thay đổi.
  3. Copy raw UA hoặc JSON result khi cần chia sẻ kết quả.

Khi nào nên dùng

  • Nhận diện clients từ Nginx, CDN hoặc application logs.
  • Debug compatibility issues cho mobile Safari, Chrome, Edge và browser tương tự.
  • Nhận ra common crawler strings như Googlebot hoặc Bingbot trước khi verify sâu hơn.

Giới hạn UA detection

User-Agent do client tự báo nên có thể bị spoof, rút gọn hoặc ẩn. Modern browsers cũng giảm UA detail, vì vậy kết quả là debugging clue, không phải proof.

  • Không dùng UA parsing làm authentication, authorization hoặc security boundary.
  • Browsers trên iOS thường bị giới hạn bởi WebKit, nên UA details có thể không khớp hoàn toàn với product branding.
  • Bot detection là heuristic; quyết định quan trọng cần reverse DNS, IP ranges hoặc official verification.

User-Agent Parser FAQ

User-Agent có bị upload không?
Không. Parsing chạy cục bộ trong browser và không gửi lên wetool.site.
Vì sao hiện Unknown?
UA có thể non-standard, privacy-reduced, bị proxy rewrite hoặc chưa nằm trong lightweight rules.
Có chứng minh bot là thật không?
Không. UA rất dễ giả mạo; real crawler verification cần official method của provider.

User-Agent và Client Hints

Client Hints thay thế một phần UA detail, nhưng logs và older systems vẫn lưu User-Agent. Parser hữu ích cho historical logs và browser compatibility debugging.

UA spoofing và security boundary

User-Agent chỉ là text do client gửi. Browser extensions, command line, proxy, test scripts và crawlers đều có thể sửa.

  • curl -A và browser devtools có thể spoof UA, nên không dùng UA cho login, authorization, payment risk hoặc admin access.
  • UA parsing hữu ích cho compatibility debugging, log grouping, rough analytics và support; security decisions cần sessions, permissions, signatures và device signals mạnh hơn.
  • Để xác minh Googlebot hoặc Bingbot, dùng reverse DNS rồi forward lookup confirmation, không chỉ dựa vào UA string.

User-Agent vs Client Hints

Chromium đang giảm detail trong legacy UA string và chuyển thông tin sang opt-in Sec-CH-UA headers.

  • Browser brand và major version: Chrome/126 tương ứng Sec-CH-UA và Sec-CH-UA-Full-Version-List.
  • Platform: Windows, Android hoặc iPhone tương ứng Sec-CH-UA-Platform.
  • Mobile detection: Mobile trong UA tương ứng Sec-CH-UA-Mobile, nhưng server phải yêu cầu hints bằng Accept-CH trước.

Common crawler UA tokens

Các token này hữu ích khi đọc logs, nhưng không tự chứng minh crawler identity.

  • Googlebot
  • Bingbot
  • DuckDuckBot
  • Baiduspider
  • YandexBot
  • facebookexternalhit
  • Twitterbot
  • Slackbot-LinkExpanding
  • AhrefsBot
  • SemrushBot