User-Agent解析器
開發者工具辨識瀏覽器、作業系統、裝置,偵測爬蟲程式
答案速覽
User-Agent Parser: Browser/OS/device · bot detection. User-Agent Parser uses standard developer formulas to compute accurate results instantly.
User-Agent
識別結果
Chrome 126
Windows 10 / 11 · Desktop
瀏覽器Chrome 126.0.0.0
作業系統Windows 10 / 11
設備Desktop
爬蟲否
解析步驟
- 1Browser: matched token → Chrome 126.0.0.0
- 2OS: Windows 10 / 11
- 3Device class: Desktop
UA 解析本質是標識匹配而非真相:瀏覽器會刻意「說謊」(現代 UA 全部以 Mozilla/5.0 開頭是歷史相容包袱,Chrome 還在 User-Agent Reduction 計劃下凍結了部分欄位)。匹配順序很關鍵——Edge 包含 Chrome 標識、Chrome 包含 Safari 標識,必須最具體的規則優先。生產環境建議 Chromium 系用 User-Agent Client Hints API(navigator.userAgentData),全面覆蓋用 ua-parser-js 等持續維護的函式庫。
這個工具對你有幫助嗎?
怎麼用
- Paste or type content: drop code/text into the User-Agent Parser or fill the parameters.
- Choose mode/options: switch format, rules or processing as needed.
- Live output: results appear instantly — nothing is submitted, data stays in your browser.
- One-click copy: copy the output straight into your development environment.
核心要點
- User-Agent Parser is a free online developer tool — open and use, no sign-up.
- All calculations run locally in your browser; your data never leaves the device.
- Key capability: Browser/OS/device · bot detection.
- Results come with formulas and reference tables so you can verify every number.
原理與公式
User-Agent Parser formula
User-Agent Parser uses standard developer formulas to compute accurate results instantly.
常見問題
How do I use the User-Agent Parser?
Open the page and fill in the input fields — results update automatically. Browser/OS/device · bot detection.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.
相關工具
相關指南
來源與更新
Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07
最近更新:
本頁公式與內容經YiJianSuan團隊覆核,僅供學習參考,實際業務請以官方口徑為準。
內容由YiJianSuan編輯團隊維護並定期覆核,更新與審核流程詳見編輯規範.
引用本頁: YiJianSuan. User-Agent解析器[EB/OL]. https://www.yijiansuan.com/zh-TW/c/dev/ua-parser
本工具提供的結果僅供參考,不構成任何專業建議,請以官方核算為準。