What NIST's password guidance says now
The US National Institute of Standards and Technology published the fourth revision of its digital identity guidelines in July 2025. SP 800-63B-4 is written for the organizations that check passwords, not the people who choose them, but its rules say a lot about what makes a password strong. The short version: length matters, composition rules don't, and passwords shouldn't expire on a timer.
- Length: at least 15 characters when a password is the only thing protecting an account, and at least 8 when it's one part of multi-factor sign-in. Sites should accept passwords of 64 characters or more.
- No composition rules: sites shall not demand mixtures of character types, such as one capital, one number and one symbol.
- No scheduled changes: sites shall not make you change a password periodically, only when there's evidence it has been compromised.
- Blocklists instead: new passwords are compared against a blocklist of values known to be weak or leaked.
- Password managers welcome: sites shall allow password managers and autofill, and should let you paste.
Why length beats complexity
NIST's appendix on password strength calls length a primary factor and notes that people react to composition rules in predictable ways. Told to add a capital and a digit, password becomes Password1; add a symbol requirement and it becomes Password1!. Attackers build those habits into their guessing, so the rules add far less strength than they appear to.
Randomly generated passwords have no habits to exploit. Each character adds log2 of the alphabet size in bits of entropy: about 4.7 bits for a lowercase letter and about 6.5 for a character drawn from all four sets. Adding characters therefore helps more than adding character types.
| Password | Entropy | Average time to brute-force |
|---|---|---|
| 8 random digits | 26.6 bits | Under a second |
| 8 characters, all four sets | 50.9 bits | About 17 minutes |
| 4 random words from a 7,776-word list | 51.7 bits | About 30 minutes |
| 12 lowercase letters | 56.4 bits | About 13 hours |
| 16 lowercase letters | 75.2 bits | About 690 years |
| 12 characters, all four sets | 77.4 bits | About 3,200 years |
| 20 lowercase letters | 94.0 bits | About 320 million years |
| 16 characters, all four sets | 103.6 bits | About 250 billion years |
Twenty lowercase letters beat twelve characters that use every kind of symbol. So if a site rejects symbols, or you'll have to type the password on a TV remote, switch the extra sets off and add length instead.
How each character is picked without bias
Every character comes from crypto.getRandomValues, the browser's cryptographically secure random source, so nothing is generated on a server. Turning random numbers into characters fairly takes one more step. The obvious shortcut, dividing a random number by the alphabet size and keeping the remainder, favors some characters. With a random byte (0 to 255) and 90 characters, 256 = 2 × 90 + 76, so the first 76 characters would turn up 3 times in 256 and the other 14 only twice.
This generator draws 32-bit numbers instead and throws away any value at or above the largest multiple of the alphabet size, then draws again. What's left divides evenly, so every character is exactly as likely as any other. Redraws are rare: for 90 characters, only 76 of the 4,294,967,296 possible values are discarded.
Requiring at least one character from each set you tick gets the same care. Planting one of each and shuffling would make some passwords likelier than others, so a password that misses a set is thrown away and redrawn whole. The entropy shown is counted exactly over the passwords that remain, which is why it sits a fraction of a bit below the simple length × log2(alphabet) figure.
Avoiding look-alikes removes I, l, 1, |, O and 0, shrinking the full alphabet from 90 characters to 84. That costs about 0.1 bit per character, roughly 1.6 bits on a 16-character password, which is worth it if you'll ever read the password aloud or copy it from paper.
Reading the strength rating
The rating comes from entropy alone. Weak means under 50 bits, Fair is 50 to 69, Strong is 70 to 99 and Very strong is 100 or more. The time beside it assumes an attacker testing a trillion guesses a second offline, against a stolen database protected by a fast hash, and it shows the average case, which is half of the full search.
That is pessimistic on purpose. Sites that store passwords with a slow, salted hashing scheme cut the guessing rate enormously, and guessing through a login page is slower still: under NIST's rules, a site must disable the authenticator after no more than 100 failed attempts in a row. Against a login page even a fair password holds up. Strength is for the day a database leaks.
Keeping generated passwords safe
- Nothing leaves this page. Passwords are made on your device, never sent anywhere, never saved in browser storage and never included in analytics. Reload the page and they're gone.
- Use a password manager. Long random passwords are hard to remember, which is exactly what managers are for.
- One password per account. A unique password means a leak at one site can't open your other accounts.
- Mind the clipboard. A copied password stays on your clipboard until you copy something else, and some systems keep a clipboard history. On a shared computer, copy something harmless afterward.
For other fair draws, the Random Number Generator picks numbers from any range with the same secure source, and the Character Counter checks a passphrase against a site's length limit before you commit to it.