What makes a password strong
Two things: it’s hard to guess, and it’s used in only one place.
Hard to guess means there are too many possibilities to try. That comes from length and from how many characters each position could be, but only when every position is picked at random. A password you make up is far weaker than its length suggests, because people choose in predictable ways: a word, a capital at the front, a number and a symbol at the end. Attackers try those patterns first.
Because every character here is picked at random from a known set, the number of possible passwords can be counted exactly, rather than estimated the way strength meters on sign-up forms do. The strength line shows that count in bits, with the sum that gives it.
Used in only one place matters just as much. When one site leaks its passwords, attackers try them on every other site, so a password reused anywhere is only as safe as the weakest site you used it on. Make a new one for each account and let a password manager remember them.
Random password, passphrase or PIN
- Random password. Use for everything your password manager saves and fills in. 16–20 characters with all four kinds is more than enough; go longer only if a site allows it and you like the margin.
- Passphrase. Use for the few passwords you type by hand or need to remember. Six words drawn at random are strong and far easier to type on a phone than a string of symbols.
- PIN. Use for bank cards, phones and door codes: places that lock or block after a few wrong tries. Never as a website password.
How the randomness is kept fair
Every character, word and digit comes from the same cryptographic random source your device uses to make encryption keys, not the predictable kind of randomness used for games and animations.
Turning a random number into one of 89 characters takes care, too. Random numbers come in fixed-size chunks that don’t divide evenly by 89, so the obvious shortcut makes a few characters very slightly more common than the rest. This generator throws away any draw that falls into the uneven leftover and draws again, so every character has exactly the same chance.
“At least one of each kind” gets the same treatment. The usual method drops one of each kind in and shuffles, which quietly makes some passwords more likely than others. Here, a password that’s missing a kind is thrown away and made again, so every password that meets the rule is equally likely, and the strength shown already allows for the ones ruled out.
Many at once
Setting up accounts for a team, a class or a batch of test users? Raise How many and the page makes up to 100 in one go. Copy the whole list, copy them one by one, or download them as a text file. Each one is made separately and is exactly as strong as the strength line says.
Where the words come from
Passphrases use the EFF long word list from the Electronic Frontier Foundation, licensed under CC BY 3.0 US. Its 7,776 words were chosen to be easy to remember and to spell, so each word adds about 12.9 bits. The list is part of this page and loads the first time you pick Passphrase.