consolelog.tools

Nano ID Generator

Generate compact, URL-safe unique IDs live — preset or custom alphabets, with entropy and collision-probability readouts.

About this ToolHow it works, benefits & use cases

Mint compact, URL-safe unique IDs with the nanoid algorithm and see their security properties as you go. A large live display shows the current ID and refreshes the moment you change a setting or press regenerate. You pick the length (1 to 64 via the slider, up to 256 in code) and choose an alphabet: the default 64-character URL-safe set, or presets like alphanumeric, lowercase, uppercase, numbers, hexadecimal, no-look-alikes, and a vowel-free "safe" set — or supply your own custom alphabet of unique characters. For every configuration the tool reports the entropy in bits, the alphabet size, and a plain-English collision note (roughly how many IDs you can mint before a 1% collision chance, derived from the birthday bound). Generate from 1 up to 1,000 IDs at once; bulk output is one per line and ready to copy, download, or pipe onward. Everything runs in your browser.

How to Use

  1. 1Pick an alphabet from the preset chips (default, alphanumeric, hexadecimal, no-look-alikes, and more) — or tick "Use custom alphabet" and type your own unique characters.
  2. 2Drag the Length slider to set how many characters each ID has.
  3. 3Set "Number of IDs" if you want a batch (up to 1,000).
  4. 4Read the live readout under the display: entropy in bits, alphabet size, and the collision estimate.
  5. 5Click the regenerate icon for fresh IDs, then copy the primary ID — or copy/download the full batch from the bulk output panel.

Key Benefits

  • Generates compact, URL-safe IDs using the standard nanoid algorithm
  • Eight built-in alphabets plus full custom-alphabet support
  • Adjustable length and batch sizes up to 1,000 IDs
  • Live entropy (bits) and birthday-bound collision estimate for each setting
  • No-look-alikes and vowel-free "safe" alphabets for human-readable IDs
  • Bulk output ready to copy, download, or pipe into another tool
  • Fully client-side — IDs are generated in your browser

Common Use Cases

  • Generating short, URL-safe primary keys or public-facing record IDs
  • Creating database keys that are smaller than UUIDs but still collision-resistant
  • Producing human-friendly codes with the no-look-alikes alphabet for coupons or invites
  • Choosing an ID length by checking the entropy and collision readout for your volume
  • Seeding test data or config files with a batch of unique identifiers
Generating…
1 – 64

Was this tool helpful?

Share Your Experience

Help others discover this tool!

Related tools