Password Generator
Strong random passwords from your device's cryptographic RNG. Generated locally — nothing is ever transmitted or stored.
How it works
Passwords are drawn with crypto.getRandomValues() — the operating system's cryptographically secure random source, the same one behind TLS keys. Math.random() is deliberately not used: it is predictable and unsuitable for secrets.
Strength is entropy: a 20-character password from 94 symbols carries ~131 bits — far beyond brute force. Length beats complexity: 4 random words can be both strong and memorable.
Frequently asked questions
Is this safe for real passwords?
Yes for generation: the RNG is cryptographic and nothing leaves your device. For storage, use a password manager — never reuse one password across sites.
Why not Math.random()?
Math.random() is a deterministic PRNG seeded per page load; its output can be predicted. crypto.getRandomValues() draws from OS entropy and is designed for secrets.
How long should my password be?
16+ characters for important accounts. With all four character sets, 20 characters ≈ 131 bits of entropy — effectively uncrackable by brute force.