Nano ID
ID nanoid
DatatypeNot PIIidentifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Random identifier of the Nano ID library. By default it is 21 characters of the URL-safe alphabet A-Z, a-z, 0-9, underscore and hyphen, which gives a collision probability similar to UUIDv4. Applications can choose another length or alphabet; the regexp covers only the default.
- Categories
- Universal unique identifiers
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Quality
- 73/100 · missing: second example, mapping (Wikidata, Schema.org, ...), detector coverage
- Metacrafter rules
- no detection rule yet
- Supported by tools
- no tool record lists this type yet
Regular expression
^[A-Za-z0-9_-]{21}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| V1StGXR8_Z5jdHi6B-myT | Example of the Nano ID README |
| IRFa-VaY2b invalid | Nano ID with a custom size of 10, not covered |
| V1StGXR8_Z5jdHi6B+myT invalid | The plus sign is not in the default alphabet |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Идентификатор Nano ID |
Sources
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/nanoid - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/identifiers/nanoid.yamlon GitHub