How to Create a Strong Password (and Keep It Safe)
Security · Published October 6, 2026 · Updated October 24, 2026 · 4 min read
Written by Akinrinmade Michael · General information, not professional advice
Most stolen accounts weren't cracked by clever guessing. They fell to reused passwords, short passwords and passwords that were already sitting in leaked lists. Fixing that takes only a few habits, and none of them need you to memorize anything hard.
Length matters most
Each extra character multiplies the number of possibilities an attacker has to try. A random 16-character password using letters, digits and symbols has around 100 bits of strength, which is far beyond what any attacker can guess. A common word with a number on the end doesn't come close.
- Use at least 16 characters for important accounts, and more for your email and password manager.
- Make it random. People are bad at randomness, so let a generator do it.
- Don't build passwords from names, dates or keyboard patterns like "qwerty123".
A bit of strength is one doubling of the guesses needed. Here's how common choices compare, assuming the characters are picked at random:
| Password | Strength in bits | Verdict |
|---|---|---|
| 8 lowercase letters | About 38 | Weak. Can be guessed quickly offline |
| 8 characters from the full keyboard | About 52 | Poor for anything important |
| 12 characters from the full keyboard | About 79 | Good |
| 16 characters from the full keyboard | About 105 | Excellent |
| 5 random words from a 7,776-word list | About 65 | Good for a passphrase |
| 6 random words from a 7,776-word list | About 78 | Very good, easy to type |
The catch is the word "random". A password you invent, like Summer2026!, is nowhere near its apparent strength, because attackers try patterns like that first.
Passphrases
A passphrase is several unrelated words, such as "copper-lantern-tulip-orbit-fable". Five or six random words are long enough to be strong and much easier to type and remember. Use it for the few passwords you must memorize, like your password manager. The words must be picked at random, by dice or a generator. A line from a song or a phrase that means something to you is much weaker.
Common tricks that don't help
- Swapping letters for look-alikes.
P@ssw0rdis on every cracking list. Attackers try those swaps automatically. - Adding a number or symbol at the end. It adds almost nothing, and everybody does it.
- Changing it every 90 days. People respond with
Password1,Password2, and so on. Change a password when you've got a reason to think it leaked. - Reusing a password with a small change. If one version leaks, the pattern is easy to guess.
- Real answers to security questions. Your mother's maiden name is easy to find. Use random answers and store them in your manager.
One password per site
When one website is breached, attackers try the same email and password on other sites, a trick known as credential stuffing. A unique password for every account stops one leak from becoming many.
Use a password manager
You can't remember dozens of random passwords, and you don't have to. A password manager stores them and fills them in. Protect it with one strong passphrase. It also helps against fake login pages, because a manager fills in a password only on the address it was saved for. If it doesn't offer to fill, stop and look at the address bar.
Turn on two-factor authentication
A second step, such as an authenticator app or a security key, means a stolen password alone isn't enough to get in. The guide to two-factor codes shows how the codes work. Many sites now also offer passkeys, which replace the password with a key stored on your device and opened with your fingerprint or face. If a site offers one, it's worth switching.
If you think a password leaked
- Change it right away, on that site first.
- Change it anywhere else you used the same one.
- Check your accounts for changes you didn't make, such as a new forwarding address in your email.
- Turn on two-factor authentication if it wasn't on.
For developers: how to store passwords
- Never store passwords as plain text, and never encrypt them so they can be decrypted.
- Hash them with a slow, salted algorithm built for passwords: bcrypt, scrypt or Argon2.
- Don't use fast hashes like MD5 or SHA-256 on their own. They're designed to be quick, which helps attackers guess billions of passwords per second.
- Allow long passwords and all characters. Note that bcrypt only reads the first 72 bytes, so very long inputs need pre-hashing or a different algorithm.
- Limit login attempts so online guessing is slow.
The guide to hash functions explains why slow hashes matter, and the Bcrypt Generator lets you see one.
Generate a strong random password with the Password Generator. Everything is created in your browser and nothing is sent anywhere.