Web Tools
Nanoid Generator
Generate short, URL-safe unique IDs with configurable alphabet and length. Includes collision probability calculator, entropy analysis, and batch generation. Uses Web Crypto API for true randomness. Runs entirely in your browser — your data never leaves your machine.
nanoid id generator uuid unique random url-safe
Published May 30, 2026
All interactive tools run entirely in your browser. Your data never leaves your device.
How It Works
Generate short, URL-safe unique identifiers similar to Nanoid. Choose from 8 alphabet presets or define your own, configure the length, and generate single or batch IDs with true cryptographic randomness via the Web Crypto API.
Features
- 8 alphabet presets: URL-safe, hex, lowercase, uppercase, digits, alphanumeric, no-dashes, Base58
- Configurable length: 1 to 128 characters
- Batch generation: generate up to 50 IDs at once
- Collision analysis: birthday-problem probability for 1M IDs
- Entropy display: bits per character and total entropy
- Time to collision: estimated time to reach 1% collision probability
- Cryptographic randomness: uses
crypto.getRandomValues() - 5 examples: common ID generation scenarios
- Private: runs entirely in the browser — no data transmitted
Use Cases
- Generate short unique IDs for database records
- Create URL-safe tokens for sharing links
- Generate hex tokens for API keys
- Create numeric verification codes
- Compare entropy of different alphabet/length combinations