https://github.com/faisalman/ua-parser-js
"Unmask Your Traffic" - UAParser.js: The Essential Web Development Tool for User-Agent Detection
https://github.com/faisalman/ua-parser-js
analytics bot-detection browser-detection client-hints device-detection mobile-detection user-agent user-agent-parser
Last synced: 3 days ago
JSON representation
"Unmask Your Traffic" - UAParser.js: The Essential Web Development Tool for User-Agent Detection
- Host: GitHub
- URL: https://github.com/faisalman/ua-parser-js
- Owner: faisalman
- License: agpl-3.0
- Created: 2012-02-01T01:11:49.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2025-05-12T14:11:58.000Z (9 months ago)
- Last Synced: 2025-05-12T18:18:52.089Z (9 months ago)
- Topics: analytics, bot-detection, browser-detection, client-hints, device-detection, mobile-detection, user-agent, user-agent-parser
- Language: JavaScript
- Homepage: https://uaparser.dev/
- Size: 19.6 MB
- Stars: 9,652
- Watchers: 130
- Forks: 1,201
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-indonesia-repo - UAParser.js - Lightweight JavaScript-based User-Agent string parser. (JavaScript)
- awesome - faisalman/ua-parser-js - Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data. Supports browser & node.js environment. (JavaScript / Data)
- awesome-star-libs - faisalman / ua-parser-js
- awesome_frontend_development_resources - ua-parser-js - Lightweight JavaScript-based User-Agent string parser. (Utilities / React Components)
- awesome - ua-parser-js - Lightweight JavaScript-based User-Agent string parser. (Utilities / React Components)
- awesome - faisalman/ua-parser-js - UAParser.js - The Essential Web Development Tool for User-Agent Detection. Detect Browsers, OS, Devices, Bots, Apps, AI Crawlers, and more. Run in Browser (client-side) or Node.js (server-side). (JavaScript)
- my-awesome-starred - ua-parser-js - UAParser.js - Lightweight JavaScript-based User-Agent string parser. Supports browser & node.js environment. Also available as jQuery/Zepto plugin, Component/Bower/Meteor package, & RequireJS/AMD module (JavaScript)
- awesome-vietnam-repo - UAParser.js - Lightweight JavaScript-based User-Agent string parser. (JavaScript)
README
#### Featured Sponsors
[](https://ref.wisprflow.ai/Rxj3n8H)
---
[](https://uaparser.dev)
[](https://uaparser.dev)
[](https://uaparser.dev)
[](https://uaparser.dev)
# UAParser.js
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).
# Demo
* Live demo: https://uaparser.dev
# Documentation
* `version 1.x` : https://github.com/faisalman/ua-parser-js/tree/1.0.x#documentation
* `version 2.x` : https://docs.uaparser.dev
Before upgrading from `v0.7` / `v1.0`, please read [CHANGELOG](CHANGELOG.md) to
see what's new & breaking.
# Package & Pricing
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 📥
# Development
## Contributors
Please read [CONTRIBUTING](CONTRIBUTING.md) guide first for the instruction details.
Made with [contributors-img](https://contrib.rocks).
## Backers & Sponsors
Support the **open-source editions** of UAParser.js through one of the following options:
[](https://opencollective.com/ua-parser-js)
[](https://github.com/sponsors/faisalman)
[](https://paypal.me/faisalman)
[](https://store.faisalman.com/buy/3d71f2f3-cf4d-473c-892a-9d4497c890be)