| What it is | Generates RFC 9562 UUIDs in JavaScript and TypeScript | Tiny, secure, URL-friendly unique string ID generator for JavaScript |
| Kind | Open source | Open source |
| Trust | 0.58 | 0.65 |
| Stars | 15348 | 27148 |
| Last commit | 2026-11-01 | 2026-11-25 |
| Licence | MIT | MIT |
| Pricing | Free and open source | Free and open source |
| Free tier | Yes | Yes |
| Self-hostable | — | — |
| Ways to run it | — | — |
| SOC 2 | — | — |
| HIPAA | — | — |
| SSO | — | — |
| API | — | — |
| Plugins | — | — |
| MCP server | — | — |
| Company | uuidjs | Andrey Sitnik and Evil Martians |
| 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
| - 21-character URL-safe IDs from a hardware random generator
- 117 bytes minified and brotlied, no dependencies
- custom alphabet and size with customAlphabet
- non-secure variant for speed where randomness quality doesn't matter
- CLI: npx nanoid with --size and --alphabet
- ports in over 20 programming languages
|
| Limitations | - CommonJS isn't supported from uuid 12: the package is ESM only
- Needs crypto.getRandomValues(): React Native and other environments without it need a polyfill
| - Version 6 supports Node.js 22, 24 and 26 or newer only.
|