Datatypes

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

ValueDescription
V1StGXR8_Z5jdHi6B-myTExample of the Nano ID README
IRFa-VaY2b invalidNano ID with a custom size of 10, not covered
V1StGXR8_Z5jdHi6B+myT invalidThe plus sign is not in the default alphabet

Translations

LanguageNameDescription
RussianИдентификатор Nano ID

Sources

Use this record