Password Generator
Generate strong, cryptographically secure passwords. Adjust length, character types, and see real-time strength analysis.
Click Generate to create passwords
Generated using crypto.getRandomValues() — cryptographically secure.
What makes a password strong?
Password strength is measured by entropy — the number of possible combinations an attacker must try. Each additional character and character type multiplies the search space exponentially:
| Length | Character set | Possible combinations |
|---|---|---|
| 8 chars | lowercase only (26) | ~209 billion |
| 8 chars | mixed case + numbers (62) | ~218 trillion |
| 12 chars | all types (95) | ~540 quadrillion |
| 16 chars | all types (95) | ~4.4 × 10³¹ |
| 20 chars | all types (95) | ~3.6 × 10³⁹ |
NIST password guidelines (SP 800-63B)
- Use at least 8 characters minimum — 15+ is strongly recommended for privileged accounts.
- Length matters more than complexity rules — a long random passphrase beats a short complex password.
- Never reuse passwords — use a password manager to store unique passwords for every service.
- Check passwords against known breach databases — services like Have I Been Pwned expose billions of leaked passwords.
Hashing passwords in code
// Never store passwords in plain text — always hash with bcrypt/argon2
// Node.js (bcrypt)
const bcrypt = require("bcrypt");
const hash = await bcrypt.hash(password, 12); // 12 = cost factor
const match = await bcrypt.compare(input, hash);
// Python (argon2-cffi — recommended)
from argon2 import PasswordHasher
ph = PasswordHasher()
hash = ph.hash(password)
ph.verify(hash, input) # raises if mismatchRelated Tools
Frequently Asked Questions
How secure are the generated passwords?
Passwords are generated using crypto.getRandomValues(), the same cryptographic API used by browsers for TLS encryption. No patterns, no pseudo-random tricks — true cryptographic randomness.
Is my password sent to any server?
No. Everything happens in your browser. No passwords are transmitted, stored, or logged anywhere. Your device generates the password locally.
What makes a strong password?
A strong password is long (16+ characters), uses all character types (uppercase, lowercase, numbers, symbols), and is randomly generated — not based on dictionary words or patterns.
Can I generate multiple passwords at once?
Yes. Use the bulk generation option to create 1, 5, or 10 passwords simultaneously. All can be copied individually or as a batch.