Password & Token Generator
Generates cryptographically random passwords and alphanumeric tokens using crypto.getRandomValues with entropy scoring.
About This Tool
Generates random passwords and alphanumeric tokens entirely in your browser using crypto.getRandomValues, the Web Crypto API cryptographic pseudo-random number generator, combined with rejection sampling to eliminate modulo bias. Math.random() is never used.
Password mode allows customizing character categories (uppercase, lowercase, numbers, symbols) and dropping visually ambiguous characters (0, O, 1, l, I, |). Token mode produces pure alphanumeric strings without punctuation for API keys and database credentials.
Key Features
- Web Crypto CSPRNG: Every character originates from crypto.getRandomValues with rejection sampling.
- Configurable length: Adjustable slider from 4 to 128 characters with real-time numeric readout.
- Four character categories: Toggle uppercase, lowercase, numbers, and symbols with minimum-one enforcement.
- Ambiguous character filter: Excludes characters like 0, O, 1, l, I, and pipe that cause reading confusion.
- Token mode: Produces clean alphanumeric strings suitable for API tokens and environment secrets.
- Entropy strength meter: Computes exact Shannon entropy in bits and rates password resistance.