NanoID generator
21 characters, 126 bits, from A–Z, a–z, 0–9, _, and -.

What is a NanoID?
A NanoID is a short random string for slugs, file names, and public links. The default is 21 characters drawn from letters, digits, underscore, and hyphen. Each character has an equal chance: the generator rejects leftover random bytes instead of using a remainder that would favor some characters.
How long should a NanoID be?
Twenty-one characters from that alphabet are 126 bits, which is plenty for a public link that only has to be hard to guess. A shorter length is easier to share and easier to guess, so the length is the tradeoff. This is not a UUID and it does not include a timestamp.
Does a NanoID leave the browser?
The string is created in this browser and is not sent anywhere.

