Password Generator

Generate strong, cryptographically secure passwords instantly.

Weak or reused passwords are the leading cause of account breaches. This generator creates strong, unique passwords using your browser's cryptographic random number generator — the same entropy source used by security-critical applications. Choose your length, character types, and exclusions, then copy a password that would take centuries to brute-force.

Click "Generate" to create a password
Strength—
Entropy—
Charset Size—

How to Use the Password Generator

  1. Set the length — drag the slider to choose between 4 and 128 characters. For most accounts, 16–20 characters is ideal.
  2. Choose character types — tick uppercase (A-Z), lowercase (a-z), numbers (0–9), and symbols (!@#$…) for maximum strength.
  3. Click "Generate Password" — a new cryptographically secure password appears instantly.
  4. Check the strength meter — see the entropy in bits. Aim for at least 80 bits (Strong) for important accounts.
  5. Copy and use — click the Copy button and paste it into your password manager or account settings.

Password Length vs. Crack Time (the honest math)

Password strength is measured in entropy bits: bits = length × log₂(alphabet size). Here is what a modern offline attack (~1 trillion guesses/second) does to common choices:

PasswordEntropyTime to crack
8 chars, lowercase only~38 bitsunder 1 second
8 chars, all types (94 symbols)~52 bits~1.5 hours
12 chars, all types~79 bits~15,000 years
16 chars, all types~105 bits~1012 years
4-word passphrase (7,776-word list)~52 bits~1.5 hours*
6-word passphrase~78 bits~12,000 years

*Passphrase times assume the attacker knows you used a word list (worst case). Length beats complexity: adding 4 characters multiplies crack time by ~78 million; swapping a→@ barely moves it.

Practical Rules That Actually Matter

  • 16+ characters for anything important — email, banking, password manager master password.
  • Unique per site. Reuse is how breaches spread; one leaked database unlocks every account sharing that password.
  • A password manager beats memorisation. Generate 20-character random passwords here, store them there, remember only the master passphrase.
  • Skip forced rotation. Current NIST guidance (SP 800-63B) says change passwords when compromised, not on a schedule — scheduled changes push people toward weak patterns like Summer2026!.
  • Turn on 2FA anyway. Even a perfect password can be phished; a second factor caps the damage.

Frequently Asked Questions

Are these passwords truly random? ▼
Yes. We use the Web Crypto API (crypto.getRandomValues) which provides cryptographically secure random numbers. This is the same level of randomness used by security software and operating systems.
Is my password stored anywhere? ▼
No. Passwords are generated entirely in your browser using JavaScript. Nothing is transmitted to any server. We never see, log, or store your generated passwords.
How long should my password be? ▼
For most accounts, 16+ characters with mixed character types is excellent. For high-security applications such as banking, cryptocurrency, or SSH keys, use 20–32 characters or more.
What makes a password strong? ▼
A strong password combines: length (12+ characters), a mix of uppercase letters, lowercase letters, numbers, and symbols. Avoid dictionary words, names, birthdates, and predictable substitutions (like p@ssw0rd).
What is password entropy? ▼
Entropy measures how unpredictable a password is, expressed in bits. A 16-character password with all character types has ~104 bits of entropy, meaning a brute-force attack would need to try 2^104 combinations. Aim for 80+ bits for most accounts.
Should I use a password manager? ▼
Absolutely. Password managers (like Bitwarden, 1Password, or KeePass) store unique, complex passwords for every site. Use this generator to create passwords and store them securely in a password manager.