Password Generator
Generate strong, cryptographically secure passwords with crypto.getRandomValues(). 100% client-side — nothing leaves your browser.
About Password Generator
Weak passwords remain the number one cause of account compromise. The best passwords are long, random, and unique per account — and random passwords must be generated with a cryptographically secure random number generator (CSPRNG), not Math.random(). This tool uses the browser's native crypto.getRandomValues() — the same API used for TLS, encryption keys, and secure tokens. You can customize the length (up to 128 characters), enable or disable character sets (uppercase, lowercase, numbers, symbols), exclude ambiguous characters (l, 1, O, 0), and also generate memorable passphrases. Every password is created locally in your browser and never sent anywhere.
How It Works
- Set the password length with the slider (4 to 128 characters).
- Toggle which character sets to include: uppercase, lowercase, numbers, symbols.
- Optionally enable "Exclude ambiguous characters" to avoid l, 1, O, 0, etc.
- Click "Generate Password" — a strong random password appears instantly.
- View the entropy (bits) and strength indicator, then copy the password with one click.
- For passphrases, switch to Passphrase mode and select the number of words and separator.
✨ Key Features
- ✓Uses crypto.getRandomValues() — cryptographically secure
- ✓Customizable length from 4 to 128 characters
- ✓Toggle uppercase, lowercase, numbers, symbols
- ✓Exclude ambiguous characters (l, 1, O, 0, I)
- ✓Password entropy (bits) display
- ✓Strength indicator (weak, fair, strong, very strong)
- ✓Passphrase mode using a built-in word list
- ✓Bulk generation — up to 20 passwords at once
- ✓One-click copy for each password
- ✓100% client-side — passwords never sent to any server
🎯 Common Use Cases
- →Creating strong passwords for new accounts
- →Generating unique passwords for password managers
- →Creating API keys and service credentials
- →Setting up Wi-Fi passwords and router access
- →Generating secrets for .env files and configs
- →Creating temporary passwords for new team members
- →Generating passwords for shared accounts (with rotation plan)
- →Creating memorable passphrases for master passwords
💡 Advanced Tips & Pro Insights
- ▸Length matters more than complexity. A 16-character password with only lowercase letters is stronger than an 8-character one with all character sets.
- ▸Entropy (bits) is the true measure of strength: <28 = very weak, 28–35 = weak, 36–59 = reasonable, 60–127 = strong, 128+ = very strong.
- ▸Never reuse passwords across sites. Use a password manager (Bitwarden, 1Password, KeePass) to store unique passwords for each account.
- ▸Passphrases (e.g. correct-horse-battery-staple) are easier to remember and can be stronger than short complex passwords. A 4-word passphrase has ~50+ bits of entropy.
- ▸Enable 2FA (two-factor authentication) wherever possible — even the strongest password alone is not enough if it is leaked.