ForkFree

Developer tools

ua-parser-js

by faisalman

UAParser.js is a JavaScript library that reads a browser's user-agent string and works out the browser, operating system, device, rendering engine and CPU. Version 2 also spots bots, AI crawlers and apps, and it runs in browsers and Node.js.

Proof level: ReadWorth a lookAGPL-3.0

Could replace WURFL, DeviceAtlas and 51Degrees. We have not checked a price for them yet.

Get it on GitHubProject websiteCompare

No demo yet

Proof level: Read. We read its README and licence and ran our automatic checks. We have not run it yet. So this page is based on its README and our automatic checks.

The catch

Worth a lookEstablished, with a few things to check (listed below).

Check this first: Version 2 uses the AGPL-3.0 licence, which requires you to share your source code if you use it in a networked product, unless you buy a PRO licence.

Things to check

  • Version 2 uses the AGPL-3.0 licence, which requires you to share your source code if you use it in a networked product, unless you buy a PRO licence
  • The permissive MIT version (1.x) has only basic detection
  • Paid PRO editions exist for commercial use without open-source obligations

Can you use ua-parser-js commercially?

Free to use. Anything you distribute that includes it must be open-sourced under the same licence. Running it as an online service also counts, so a hosted version must offer its source.

Not legal advice. Read the project's licence file before building a product on it.

What can you do with ua-parser-js?

  • Identify a visitor's browser, operating system and device type from their user-agent string
  • Detect bots and AI crawlers hitting your website or API
  • Serve different content or log analytics by device type in a browser or Node.js app

How do you get ua-parser-js running?

Install it as an npm package or download the script directly, then import it into your JavaScript project.

Follow the official instructions in the project README.

Make money with it

A freelance developer could offer custom analytics or bot-filtering set-ups for small business websites using this library.

An idea, not financial advice. Check the licence before charging for anything built on it.

Ways a business could use it

  • Add device and browser breakdowns to your own website analytics without paying for a detection service
  • Filter out bot and AI crawler traffic so your visitor statistics and sign-up data are cleaner

Checked 09 Nov 2026. Summary drafted by AI from the project's README. Proof level 1 of 4, Read: we read its readme and licence and ran our automatic checks. we have not run it yet.

Similar tools in Developer tools

taste-skill Leonxlnx
Worth a look

Taste Skill is an add-on for AI coding agents such as Claude Code, Codex and Cursor. It guides the agent to design more distinctive websites and app screens by choosing an art direction, using credited real photographs and checking its own work in a real browser.

Proof level: Read 119.1k stars +646 a day MIT
gpu-unlock Zagitta
Check the licence

This tool unlocks the FP/BF16 instruction issue rate on Nvidia 3000-series cards, doubling the speed of certain operations.

Proof level: Read 20.5k stars +449 a day Unclear
ui vercel-labs
New and promising

UI SDK is a code library that handles the behaviour of interface parts such as keyboard navigation, focus, popups, drag and drop and accessibility markup. It works with React, Vue, Svelte, Solid and Web Components, and is designed so AI coding agents can build components with it.

Proof level: Read 6.2k stars +485 a day Apache-2.0