# nanoid

A tiny \(118 bytes\), secure, URL-friendly, unique string ID generator for JavaScript

Canonical page: https://www.reposhelf.co.uk/projects/github/ai/nanoid.html

- Project ID: ai/nanoid
- Source: GitHub
- Original project: https://github.com/ai/nanoid
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Not recorded
- Licence: MIT
- Repository availability checked: 2026-11-23T15:27:11.398Z
- Demo page loaded: 2026-11-23T16:10:36.795Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> English \| 日本語 \| Русский \| 简体中文 \| Bahasa Indonesia \| 한국어 \| العربية

> A tiny, secure, URL-friendly, unique string ID generator for JavaScript.

> “An amazing level of senseless perfectionism, which is simply impossible not to respect.”

- Small. 117 bytes \(minified and brotlied\). No dependencies.
- Fast. Faster than native crypto.randomUUID\(\).
- Safe. It uses hardware random generator. Can be used in clusters.
- Short IDs. It uses a larger alphabet than UUID \(A-Za-z0-9-\).
- Portable. Nano ID was ported

## Author-documented requirements and audience

> English \| 日本語 \| Русский \| 简体中文 \| Bahasa Indonesia \| 한국어 \| العربية





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/ai/nanoid/blob/main/README.md

Extraction checked: 2026-10-26T10:11:43.442Z

Last recorded source update: 2026-11-05T20:34:00.000Z

Saved release: 6.0.2 — 2026-10-05T21:22:03.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=ai%2Fnanoid). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
