Launched January 6, 2026
UAParser.js

UAParser.js

Unmask Your Traffic

One time feeOpen SourceHelpers171 impressions#1352 of its week

The Essential Web Development Tool for User-Agent Detection. UAParser.js is the most comprehensive, compact, & up-to-date isomorphic JavaScript library to detect user's Browser, Engine, OS, CPU, and Device type/model. Runs either in browser (client-side) or node.js (server-side).

UAParser.js is a compact JavaScript library that detects browsers, OS, CPU, engine and device info from user-agent strings.

for
Web developers needing reliable client-side or server-side user-agent parsing.
pricing
paid
license
AGPL-3.0
faisalman/ua-parser-js 10k 1.2kJavaScriptupdated 17 days ago
works withJavaScriptNode.jsREST API

Key features

6 features of UAParser.js
  • Complete detection — Identifies browsers, OS, CPU, engine, device type, bots and AI crawlers.
  • Minimal overhead — Dependency-free, small bundle (~12 kB minified) with low runtime cost.
  • Isomorphic API — Same API works in browsers and Node.js environments.
  • TypeScript support — Provides TypeScript declarations for typed development.
  • REST API option — Managed service offers a language-agnostic REST endpoint for parsing.
  • Experimental GPU detection — Can extract GPU info from WebGL data as an experimental feature.

Use cases

  • Tailor UI/UX based on detected browser and device capabilities.
  • Log analytics with accurate OS, CPU and bot identification.
  • Serve different assets or redirects for specific device types.
  • Validate client capabilities in server-side rendering pipelines.

UAParser.js FAQ

Can UAParser.js run on both client and server?+

Yes, it provides a single API that works in browsers and in Node.js.

Is the library dependency-free?+

Yes, UAParser.js has no external dependencies and keeps the bundle size compact.

Does it support TypeScript?+

TypeScript declaration files are included for typed development.

Is there a hosted service for parsing?+

A managed REST API service is available, allowing any stack to use UAParser.js without maintaining servers.

What licensing options are available?+

The open-source edition is MIT; commercial editions use an AGPL license with one-time fees.

Summarized by DevHunt from uaparser.dev · Oct 7, 2026. Details may change; check the official site.