Nano ID generator
Generate short, URL-safe random IDs of any length, with a choice of character sets.
Characters
Missing a feature or found a bug in Nano ID generator? Tell me on X (@_andrewtran) or by email.
How to use Nano ID generator
- Set the length and how many IDs you need.
- Choose a character set, or type your own.
- Copy the IDs or download them as a file.
Questions and answers
Are the IDs sent anywhere?
No. They are made by your browser on this device, from its secure random source.
How long should an ID be?
The default of 21 characters is as hard to repeat as a UUID. The line under the options says how many IDs you can make before a repeat becomes likely.
What does No lookalikes mean?
It leaves out 0, O, 1, l and I, which people mix up when they read an ID aloud or type it by hand.
Related tools
Secret key generator
Generate 128 to 512-bit random secret keys as hex, Base64 and Base64URL.YAML formatter
Format and validate YAML with even indentation, and see the line of any error.Placeholder image generator
Make a dummy image of any size and colour, as SVG, PNG or a data URI to paste into code.Favicon generator
Turn an image, letter or emoji into favicon.ico, PNG icons, an Apple touch icon and a web manifest.