Examples
-
Length
21 -
Custom alphabet
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_
About NanoID Generator
Not every identifier needs to be a full UUID - sometimes you just want something short, URL-safe, and unlikely to collide, without 36 characters of hyphens eating into a URL slug.
NanoID generates compact, cryptographically secure random strings using an unbiased alphabet-sampling algorithm, with a length and custom alphabet you control. It's a common default in modern frontend tooling for exactly this reason.