UAParser.js

Abstracts Away The Hassle of User-Agent Detection

Demo Download Docs
UAParser.js Illustration
DEMO: USER-AGENT PLAYGROUND

What your browser tells you:

😵‍💫💢 Complex 🫤❓ Unpredictable 😭💸 Costly

What UAParser.js gives you:

🙂✨ Concise 🙂💡 Insightful 🙂💰 Valuable
VS

Browser
detected browser icon
OS
detected os icon
CPU Architecture
detected cpu icon
Device Type
detected device type icon
Device Vendor & Model
detected device vendor icon
Category
Engine
isBot()
isAICrawler()
TRY MORE EXAMPLES
CHECK
DETECT GPU FROM WEBGL DATA (EXPERIMENTAL FEATURE)
GPU
detected gpu icon
FEATURES

Clean & Well-Structured

Effortless, intuitive API with clear output.

Wide Detection Coverage

Detects various devices, browsers, bots, and more.

Lightweight & Fast

Keeps your bundle size compact and efficient.

Works Everywhere

Runs seamlessly in browser and Node.js.

npm-Ready Package

Easily integrates into your existing workflow.

Lifetime Updates

Stay up-to-date with the ever-evolving trends.

LOVED BY DEVELOPERS
Great Utility!
5/5

"A great utility library to have when you're investigating what kind of users are visiting your website and how you can improve their UX. Supports most browsers out there."

Gabrijel Golubić

Easier Life!
5/5

"Thanks to the awesome people who make life so much easier for developers.. The evolution of the internet has made it critical that we detect the user's device type accurately to make our apps function better and look better.".

The-Linguist

Totally Rocks!
5/5

"I've been using your library for a long time and it totally rocks!".

Christian Rich

Very Useful!
5/5

"Thank you for putting out this very useful library!".

Anuj Nijhawan

Essential Library!
5/5

"For years, it has been appreciated as a valuable tool for web developers. Its ability to accurately parse user agent strings.. has made it an essential library for many of us.".

LogRocket

TRUSTED BY TOP TECH COMPANIES
DOWNLOAD: CHOOSE YOUR PACKAGE

Package Options
Pricing & comparison between editions

PRO Personal
$14 (one-time)
Non-commercial usage
  • Full detection features
  • npm & downloadable
  • Non-commercial use
  • Unlimited deployments
  • 1 year support
  • Lifetime updates
PRO Business
$29 (one-time)
1 End-Product per 1 License
  • Full detection features
  • npm & downloadable
  • Commercial rights
  • 1 TLD per 1 license
  • 1 year support
  • Lifetime updates
PRO Enterprise
$599 (one-time)
Full usage rights
  • Full detection features
  • npm & downloadable
  • Commercial rights
  • Unlimited deployments
  • 1 year support
  • Lifetime updates
See Detailed Feature Comparison
OSS Editions Commercial Editions
License MIT (v1.0) AGPL (>=v2.0) 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 (one-time fee) FREE FREE $14 $29 $599
GET NOW