Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

ua-parser-js

Parse user-agent strings to detect browser, engine, OS, CPU and device type.

UtilitiesNPM

GitHubWebsite

1. License

License from npm.

github.com/faisalman/ua-parser-js

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What ua-parser-js does

Parse user-agent strings to detect browser, engine, OS, CPU and device type.

ua-parser-js popularity

68 / 100
Gid Score, #476 overall
48.1M
downloads a week, npm
10.2K
GitHub stars
22
agent projects use it
ua-parser-js: downloads per weeknpm, ua-parser-js 48,138,747
ua-parser-js: GitHub starsfaisalman/ua-parser-js 10,215

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How ua-parser-js is used

  • ua-parser-js is a dependency in 22 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.5% of the 4,867 JavaScript/TypeScript ones), #71 of 408 in utilities.
  • Projects that use it most often also use Zod (86.4%), date-fns (50.0%), React Hook Form (40.9%).

By coding agent

14 projects, 0.4%
13 projects, 0.5%
11 projects, 0.4%

Often used with

In 86.4% of its projects
In 50.0% of its projects
In 40.9% of its projects
In 95.5% of its projects
In 54.5% of its projects
In 36.4% of its projects
In 36.4% of its projects
In 45.5% of its projects

More about ua-parser-js

Funding
  • GitHub Sponsors: https://github.com/faisalman
  • Open Collective: https://opencollective.com/ua-parser-js
  • Own page: https://www.paypal.me/faisalman/
  • Own page: https://uaparser.dev
  • PayPal: https://paypal.me/faisalman
  • 5 GitHub sponsors

See all

More in Utilities

Alternatives

ua-parser-js This page

AGPL-3.0-or-laterGid 6848.1M/wk

Compare ua-parser-js with another tool

Get started

Install it.

npm install ua-parser-js

No step-by-step start for ua-parser-js yet: we have not written its hand-checked card.