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 | β οΈ | β | β | β | β |
| Rendering Engine Detection | β οΈ | β | β | β | β |
| OS detection | β οΈ | β | β | β | β |
| Enhanced+ Accuracy | β | β | β | β | β |
| Bot Detection | β | β | β | β | β |
| AI Detection | β | β | β | β | β |
| Extra Detections (Apps, Libs, Emails, Media Players, Crawlers, and more) | β | β | β | β | β |
| Client Hints Support | β | β | β | β | β |
| CommonJS Support | β | β | β | β | β |
| ESM Support | β | β | β | β | β |
| TypeScript Definitions | β | β | β | β | β |
| npm Module Available | β | β | β | β | β |
| Direct Downloads Available | β | β | β | β | β |
| Commercial Use Allowed | β | β | β | β | β |
| 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: