The most comprehensive, compact, and up-to-date JavaScript library to detect user's browser, OS, CPU, and device type/model. Also detect bots, apps, and more. Runs seamlessly in the browser (client-side) or Node.js (server-side).
- Live demo: https://uaparser.dev
version 1.x
: https://github.com/faisalman/ua-parser-js/tree/1.0.x#documentationversion 2.x
: https://docs.uaparser.dev
Before upgrading from v0.7
/ v1.0
, please read CHANGELOG to
see what's new & breaking.
Open-Source Editions | PRO / Commercial Editions | ||||
---|---|---|---|---|---|
License options | MIT (v1.x) | AGPL (v2.x) | PRO Personal | PRO Business | PRO Enterprise |
Browser detection | ✅ | ✅ | ✅ | ✅ | |
CPU detection | ✅ | ✅ | ✅ | ✅ | |
Device detection | ✅ | ✅ | ✅ | ✅ | |
Engine detection | ✅ | ✅ | ✅ | ✅ | |
OS detection | ✅ | ✅ | ✅ | ✅ | |
Bot detection | ❌ | ✅ | ✅ | ✅ | ✅ |
AI Bot detection | ❌ | ✅ | ✅ | ✅ | ✅ |
Extras (Apps, Libs, Emails, Media Players, etc) detection | ❌ | ✅ | ✅ | ✅ | ✅ |
Enhanced detection result | ❌ | ✅ | ✅ | ✅ | ✅ |
Client Hints support | ❌ | ✅ | ✅ | ✅ | ✅ |
CommonJS support | ✅ | ✅ | ✅ | ✅ | ✅ |
ES modules support | ❌ | ✅ | ✅ | ✅ | ✅ |
TypeScript declarations | ✅ | ✅ | ✅ | ✅ | |
npm module available | ✅ | ✅ | ✅ | ✅ | ✅ |
Direct downloads available | ✅ | ✅ | ✅ | ✅ | ✅ |
Allows commercial usage | ✅ | ✅ | ❌ | ✅ | ✅ |
Permissive (non-copyleft) license | ✅ | ❌ | ✅ | ✅ | ✅ |
No open-source obligations | ✅ | ❌ | ✅ | ✅ | ✅ |
Unlimited end-products | ✅ | ✅ | ✅ | ❌ | ✅ |
Unlimited deployments | ✅ | ✅ | ✅ | ❌ | ✅ |
1-year product support | ❌ | ❌ | ✅ | ✅ | ✅ |
Lifetime updates | ✅ | ✅ | ✅ | ✅ | ✅ |
Price | FREE* (License) | FREE* (License) | $14 (License) | $29 (License) | $599 (License) |
Please read CONTRIBUTING guide first for the instruction details.
Made with contributors-img.
Support the open-source editions of UAParser.js through one of the following options: