Nano ID Generator
Make short, random, URL-safe IDs in the style of Nano ID, using your browser's secure random numbers.
How it works
Makes short random IDs like the Nano ID library: 21 characters from a URL-safe alphabet of 64 symbols, giving 126 bits of randomness, similar to a UUID but shorter. Change the length or the alphabet (for example numbers only).
Worked example
V1StGXR8_Z5jdHi6B-myT is a typical 21 character ID.
Good to know
- Shorter IDs mean more chance of a clash. For millions of records, keep 16 characters or more.
- Use a custom alphabet without look-alikes if people will type the ID.
- The generator uses the browser's secure random numbers.
Common questions
- Is it the same as a UUID?
- No, but it is similar in purpose. UUIDs are 36 characters and Nano IDs are shorter.
- Can two IDs be the same?
- At 21 characters the chance is negligible for any real project.
- Is it sent anywhere?
- No.
More in Developer.
ASCII Converter
See the ASCII code of every character in decimal, hex, binary and octal, or turn codes back into text.
OPEN →Axios Request GeneratorFill in a method, URL, headers and body and get a ready Axios Request snippet to copy.
OPEN →Base32 Encoder and DecoderEncode text to Base32 (RFC 4648) or decode it, as used in 2FA secrets.
OPEN →