2025-09-27 20:20:51 +07:00
#### Featured Sponsors
[](https://ref.wisprflow.ai/Rxj3n8H)
---
2024-11-19 10:18:08 +07:00
[](https://uaparser.dev)
2025-10-13 20:38:26 +07:00
[](https://uaparser.dev)
2024-11-18 23:38:41 +07:00
[](https://uaparser.dev)
2024-11-19 10:18:08 +07:00
[](https://uaparser.dev)
2024-11-18 16:06:23 +07:00
2021-03-21 03:35:39 +07:00
<p align="center">
2023-04-09 15:54:46 +07:00
<a href="https://www.npmjs.com/package/ua-parser-js"><img src="https://img.shields.io/npm/dw/ua-parser-js?color=red&logo=npm&label=NPM%20DOWNLOADS&style=for-the-badge"></a>
<a href="https://www.jsdelivr.com/package/npm/ua-parser-js"><img src="https://img.shields.io/jsdelivr/gh/hw/faisalman/ua-parser-js?logo=jsdelivr&style=for-the-badge"></a>
<a href="https://github.com/faisalman/ua-parser-js"><img src="https://img.shields.io/github/stars/faisalman/ua-parser-js?color=yellow&logo=github&style=for-the-badge"></a>
<a href="https://bundlephobia.com/package/ua-parser-js@1 .0.35"><img src="https://img.shields.io/bundlephobia/minzip/ua-parser-js?logo=hackthebox&logoColor=white&style=for-the-badge"/></a>
<a href="https://github.com/faisalman/ua-parser-js/graphs/contributors"><img src="https://img.shields.io/github/contributors/faisalman/ua-parser-js?color=purple&logo=githubsponsors&style=for-the-badge"></a>
<a href="https://www.npmjs.com/package/ua-parser-js"><img src="https://img.shields.io/npm/v/ua-parser-js.svg?logo=npm&color=red&style=for-the-badge"></a>
<a href="https://cdnjs.com/libraries/UAParser.js"><img src="https://img.shields.io/cdnjs/v/UAParser.js.svg?color=orange&style=for-the-badge"></a>
2023-04-13 06:37:59 +07:00
<img src="https://img.shields.io/ossf-scorecard/github.com/faisalman/ua-parser-js?label=openssf%20scorecard&style=for-the-badge">
2025-10-10 09:58:40 +07:00
<a target="_blank" href="https://discord.com/channels/1406959509087453236/1406959509930381375"><img alt="Discord invite" src="https://dcbadge.limes.pink/api/server/https://discord.com/channels/1406959509087453236/1406959509930381375"></a>
2021-03-21 03:35:39 +07:00
</p>
2012-02-01 10:48:21 +07:00
2021-03-21 03:35:39 +07:00
# UAParser.js
2012-02-01 10:48:21 +07:00
2025-09-05 21:43:09 +07:00
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).
2023-02-21 22:12:30 +07:00
2024-10-29 22:29:51 +07:00
# Demo
2024-06-16 00:10:21 +07:00
2024-06-16 23:11:59 +07:00
* Live demo: https://uaparser.dev
2024-06-16 00:10:21 +07:00
2024-11-18 16:06:23 +07:00
2024-06-16 00:10:21 +07:00
# Documentation
2026-03-26 00:53:36 +07:00
* `version 1.x` : https://docs.uaparser.dev/v1
2024-10-29 22:29:51 +07:00
* `version 2.x` : https://docs.uaparser.dev
2024-06-16 00:10:21 +07:00
Before upgrading from `v0.7` / `v1.0` , please read [CHANGELOG ](CHANGELOG.md ) to
see what's new & breaking.
2025-09-05 21:43:09 +07:00
# Package & Pricing
2023-03-29 10:44:37 +07:00
2023-10-10 14:14:12 +07:00
<table>
<thead>
<tr>
<th></th>
2023-11-23 12:03:53 +07:00
<th colspan="2">Open-Source Editions</th>
<th colspan="3">PRO / Commercial Editions</th>
2023-10-10 14:14:12 +07:00
</tr>
</thead>
<tbody>
<tr>
2023-11-23 12:03:53 +07:00
<td>License options</td>
2025-09-05 21:43:09 +07:00
<td>MIT (v1.x)</td>
<td>AGPL (v2.x)</td>
2023-10-10 14:14:12 +07:00
<td>PRO Personal</td>
<td>PRO Business</td>
<td>PRO Enterprise</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>Browser Detection</td>
2024-11-13 10:44:38 +07:00
<td><a href="#demo " title="Basic detection">⚠️</a></td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>CPU Detection</td>
2024-11-13 10:44:38 +07:00
<td><a href="#demo " title="Basic detection">⚠️</a></td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>Device Detection</td>
2024-11-13 10:44:38 +07:00
<td><a href="#demo " title="Basic detection">⚠️</a></td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>Rendering Engine Detection</td>
2024-11-13 10:44:38 +07:00
<td><a href="#demo " title="Basic detection">⚠️</a></td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
<td>OS detection</td>
2024-11-13 10:44:38 +07:00
<td><a href="#demo " title="Basic detection">⚠️</a></td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>Enhanced+ Accuracy</td>
2024-11-13 10:44:38 +07:00
<td>❌</td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>Bot Detection</td>
2024-11-16 22:14:14 +07:00
<td>❌</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>AI Detection</td>
2024-11-13 10:44:38 +07:00
<td>❌</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>Extra Detections (Apps, Libs, Emails, Media Players, Crawlers, and more)</td>
2024-11-13 10:44:38 +07:00
<td>❌</td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>Client Hints Support</td>
2024-11-13 10:44:38 +07:00
<td>❌</td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>CommonJS Support</td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>ESM Support</td>
2024-11-13 10:44:38 +07:00
<td>❌</td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>TypeScript Definitions</td>
<td><a href="#demo " title="Community version">✅</a></td>
2025-09-05 21:43:09 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>npm Module Available</td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>Direct Downloads Available</td>
2025-09-05 21:43:09 +07:00
<td>✅</td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>Commercial Use Allowed</td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
2024-11-13 10:44:38 +07:00
<td>❌</td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>Permissive (non-Copyleft) License</td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
2024-11-13 10:44:38 +07:00
<td><strong title="Copyleft license">❌</strong></td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>No Open-Source Obligations</td>
2025-09-05 21:43:09 +07:00
<td>✅</td>
<td><strong title="Copyleft license">❌</strong></td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>Unlimited End-Products</td>
2025-09-05 21:43:09 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td><strong title="1 end-product per license">❌</strong></td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>Unlimited Deployments</td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
2025-09-05 21:43:09 +07:00
<td><strong title="1 TLD or deliverable per license">❌</strong></td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>1-year Product Support</td>
2024-11-13 10:44:38 +07:00
<td>❌</td>
<td>❌</td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
2025-10-10 09:58:40 +07:00
<td>Lifetime Updates</td>
2023-10-10 14:14:12 +07:00
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
<td>✅</td>
</tr>
<tr>
<td>Price</td>
2025-09-05 21:43:09 +07:00
<td><strong title="Pay as you want">FREE<sup>*</sup> (<a target="_blank" href="https://raw.githubusercontent.com/faisalman/ua-parser-js/1.0.x/license.md">License</a>)</strong></td>
<td><strong title="Pay as you want">FREE<sup>*</sup> (<a target="_blank" href="https://raw.githubusercontent.com/faisalman/ua-parser-js/master/LICENSE.md">License</a>)</strong></td>
2024-10-29 22:29:51 +07:00
<td><strong title="$14 (one-time fee)">$14 (<a target="_blank" href="https://raw.githubusercontent.com/faisalman/ua-parser-js/pro-personal/LICENSE.md">License</a>)</strong></td>
<td><strong title="$29 (one-time fee)">$29 (<a target="_blank" href="https://raw.githubusercontent.com/faisalman/ua-parser-js/pro-business/LICENSE.md">License</a>)</strong></td>
2024-11-13 10:44:38 +07:00
<td><strong title="$599 (one-time fee)">$599 (<a target="_blank" href="https://raw.githubusercontent.com/faisalman/ua-parser-js/pro-enterprise/LICENSE.md">License</a>)</strong></td>
2023-10-10 14:14:12 +07:00
</tr>
</tbody>
<tfoot>
<tr>
<th align="right" colspan="6">
2026-02-07 07:56:39 +07:00
<h3><a target="_blank" href="https://uaparserjs.lemonsqueezy.com/buy/e236ea87-9b2b-400e-9683-24367f731b35"> GET THE PRO PACKAGES 📥</a></h3>
2023-10-10 14:14:12 +07:00
</th>
</tr>
</tfoot>
</table>
2021-03-23 20:31:09 +07:00
# Development
## Contributors
2024-06-08 01:17:52 +07:00
Please read [CONTRIBUTING ](CONTRIBUTING.md ) guide first for the instruction details.
2023-09-29 23:41:00 +07:00
2021-03-23 20:31:09 +07:00
<a href="https://github.com/faisalman/ua-parser-js/graphs/contributors">
<img src="https://contrib.rocks/image?repo=faisalman/ua-parser-js" />
</a>
Made with [contributors-img ](https://contrib.rocks ).
2023-09-29 23:41:00 +07:00
## Backers & Sponsors
2021-03-23 20:31:09 +07:00
2025-09-05 21:43:09 +07:00
Support the **open-source editions ** of UAParser.js through one of the following options:
2024-12-09 09:49:58 +07:00
[](https://opencollective.com/ua-parser-js)
[](https://github.com/sponsors/faisalman)
[](https://paypal.me/faisalman)
[](https://uaparserjs.lemonsqueezy.com/checkout/buy/3d71f2f3-cf4d-473c-892a-9d4497c890be)
2025-09-05 21:43:09 +07:00
<a href="https://opencollective.com/ua-parser-js"><img src="https://opencollective.com/ua-parser-js/organizations.svg?avatarHeight=64"></a>
2025-10-13 20:38:26 +07:00
<a href="https://opencollective.com/ua-parser-js"><img src="https://opencollective.com/ua-parser-js/individuals.svg?avatarHeight=64"></a>