# uuid

> Generates RFC 9562 UUIDs in JavaScript and TypeScript

Source: https://talira.ai/catalog/uuid-dmqqzhwk
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [libraries / unique ids](https://talira.ai/categories/libraries/unique-ids), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [uuidjs](https://talira.ai/orgs/uuidjs.md)

uuid is the npm package for creating and handling RFC 9562 (formerly RFC 4122) UUIDs in JavaScript and TypeScript. It generates every version the RFC defines: v1 and v6 timestamps, v3 and v5 namespace UUIDs, random v4 and Unix-time v7, with helpers to parse, stringify, validate and detect a UUID's version and to convert between v1 and v6. It has no dependencies, is tree-shakable, takes its random values from the platform's crypto API, and runs in Node.js and modern browsers; a `uuid` command generates them from the shell.

## Links

- GitHub: https://github.com/uuidjs/uuid

## Problems it solves

- generate a random unique id in JavaScript
- make time-ordered UUIDs I can sort by creation time in Node.js
- check whether a string is a valid UUID in the browser

## Features

- Generates UUID versions 1, 3, 4, 5, 6 and 7
- Parses, stringifies and validates UUIDs and detects their version
- Converts between version 1 and version 6 UUIDs
- No dependencies and tree-shakable, with TypeScript types
- A uuid command line tool

## Limitations

- CommonJS isn't supported from uuid 12: the package is ESM only[^1]
- Needs crypto.getRandomValues(): React Native and other environments without it need a polyfill[^1]

## Trust

Overall: 0.58 out of 1.
Signals: maintenance 0.66, adoption 0.84, momentum 0.58, community 0.80, backing 0.30, extensibility 0.00.

- last commit 28 days ago
- 9 commits in the last 90 days
- latest release v14.0.3 51 days ago
- 15.3k GitHub stars
- 98 contributors
- accepts sponsorship (Github, Github)
- backed by uuidjs

## Alternatives

- [Nano ID](https://talira.ai/catalog/nano-id-7nsftkjs.md): Tiny, secure, URL-friendly unique string ID generator for JavaScript

## Sources

[^1]: https://github.com/uuidjs/uuid (checked 28 Nov 2026)
[^2]: https://github.com/uuidjs/uuid/blob/main/LICENSE.md (checked 28 Nov 2026)
