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).
version 1.x
: https://github.com/faisalman/ua-parser-js/tree/1.0.x#documentationversion 2.x
: https://docs.uaparser.devBefore 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) |
GET THE PRO PACKAGES π₯ |
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: