ai/nanoid
A tiny (118 bytes), secure, URL-friendly, unique string ID generator for JavaScript
A minimal UUID alternative that outruns crypto.randomUUID() — Nano ID generates secure, URL-friendly unique IDs in just 21 characters using a larger alphabet than UUID. At 117 bytes minified, it has no dependencies, uses hardware randomness, and benchmarks faster than native crypto.randomUUID(). Ported to over 20 languages, it suits developers wanting compact IDs for databases, URLs, or distributed systems.
Metrics
Relative growth (7d)-0%Growth over the last 7 days relative to size
Acceleration-138%Change in growth pace from the week before
Retention+14%How well growth holds up 30 days after first trending
Attention1The three metrics scaled to 0–100 and combined
See About for how each metric is defined.
Star growth and Trending appearances (last 30 days)
+4★/day
Nov 6, 2026Dec 5, 2026
Daily trending ranks as a table (1 days)
| Date | Daily |
|---|---|
| Oct 5, 2026 | javascript #17 +34 |
Created Aug 5, 2017 · First on trending Oct 5, 2026