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
Engine
detected engine icon
OS
detected os icon
Device
detected device type icon
Series
detected device vendor icon
CPU
detected cpu icon
TRY MORE EXAMPLES
CHECK
DETECT GPU FROM WEBGL DATA (EXPERIMENTAL FEATURE)
GPU
detected gpu icon
FEATURES

Clean & Well-Structured

Effortless user-agent detection integration.

Vast Detection Categories

Detects various devices, browsers, bots, and more.

Minimal Footprint

Maintains optimal app performance.

Isomorphic Library

Compatible with both browser and Node.js.

Public npm 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 projects
  • 1 year support
  • Lifetime updates
PRO Business
$29 (one-time)
1 License Per Project
  • Full detection features
  • npm & downloadable
  • Commercial usage rights
  • 1 project per license
  • 1 year support
  • Lifetime updates
PRO Enterprise
$599 (one-time)
Full usage rights
  • Full detection features
  • npm & downloadable
  • Commercial usage rights
  • Unlimited projects
  • 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
No usage limitation
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"
  }
}