How to Create a Strong Password in 2026 (and Why Length Beats Complexity)
What actually makes a password strong, how entropy is calculated, and how to generate secure random passwords in your browser in seconds.
"Use at least one uppercase letter, one number and one symbol" is the rule most sites still enforce. But P@ssw0rd1 follows every rule and is still one of the first guesses any cracking tool tries. Here is what really matters.
Strength = unpredictability
Password strength is measured in bits of entropy: roughly, how many guesses an attacker needs. For a truly random password:
entropy = length ร log2(size of character set)
| Length | Character set | Entropy |
|---|---|---|
| 8 | lowercase + digits (36) | ~41 bits |
| 12 | all printable (~90) | ~78 bits |
| 16 | all printable (~90) | ~104 bits |
| 20 | lowercase only (26) | ~94 bits |
Two takeaways: every extra character multiplies the work, and a long lowercase password can beat a short "complex" one. Aim for 80+ bits for important accounts.
The catch: it must be random
The formula only holds if a computer picked every character. Humans pick patterns: names, dates, keyboard walks, a โ @ substitutions. Attackers model all of those.
Generate one in seconds
The Password Generator uses the browser's cryptographic random source (crypto.getRandomValues), not Math.random:
- Set the length (16 or more is a good default).
- Choose character sets: uppercase, lowercase, digits, symbols.
- Turn on exclude ambiguous characters if you'll ever type it by hand (no
0/O,1/l/I). - Copy it straight into your password manager.
Everything is generated locally; the password is never sent anywhere.
Checklist
- One unique password per site, so a leak at one service doesn't unlock the others.
- Store them in a password manager instead of memorizing.
- Turn on two-factor authentication wherever it's offered.