UAParser.js

Abstracts Away The Hassle of User-Agent Detection

Demo Download @Cloud API / MCP Docs
UAParser.js Illustration
DEMO: USER-AGENT PLAYGROUND

What your browser tells you = 😵‍💫💢 😭💸 Complex Costly Expensive
VS
What UAParser.js gives you = 🙂✨💡💰 ✅ Efficient Insightful Valuable
Browser
detected browser icon
OS
detected os icon
CPU Architecture
detected cpu icon
Device Type
detected device type icon
Vendor & Model
detected device vendor icon
Category
Engine
Bot
AI Crawler
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

Detect various devices, browsers, bots, and more.

Lightweight & Fast

Keeps your bundle size small and performance snappy.

Works Everywhere

Runs seamlessly in browser and Node.js.

npm-Ready Package

Easily integrates into your workflow.

Lifetime Updates

Stay up to date with 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
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 usage 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 usage 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
New: UAParser @Cloud

UAParser @Cloud
NEW
Our @Cloud REST API / MCP service offers seamless integration with any tech stack or AI agent

UAParser.js Illustration
# REST API Example
POST https://api.uaparser.dev/cloud/v1/identify/device

Content-Type: application/json
Authorization: Bearer YOUR_API_KEY

{
  "headers": {
    "User-Agent" : "Mozilla/5.0 (iPhone; U; CPU iPhone OS 5_1_1 like Mac OS X; en) AppleWebKit/534.46.0 (KHTML, like Gecko) CriOS/19.0.1084.60 Mobile/9B206 Safari/7534.48.3"
  }
}