What each setting does, what the entropy number means, and what to do with the result
A password generator is only as good as the settings you give it and what you do with the result. This guide explains each setting in plain terms, using the numbers our own Password Generator shows you, so you can pick a length and character mix that a site will accept and an attacker cannot realistically guess. For the bigger picture (passphrases, two-factor authentication and common myths) see our strong password guide.
Three things separate a trustworthy generator from a risky one:
crypto.getRandomValues, which is designed for security use. The everyday Math.random is not, and its output can be predictable. Our generator uses crypto.getRandomValues and discards out-of-range values (rejection sampling), so no character is picked more often than another.Each character you add multiplies the number of possible passwords by the size of the character pool. That is why length beats clever substitutions. Practical defaults:
After you generate, the tool shows a line such as "About 103 bits of entropy (16 characters from a pool of 88)". For a randomly generated password, entropy is length × log2(pool size), and every extra bit doubles the guesses needed. The pool sizes in our tool are 26 (lowercase only), 52 (adding uppercase), 62 (adding numbers) and 88 (adding its 26 symbols).
| Length | Lowercase only (26) | Letters + numbers (62) | All four sets (88) |
|---|---|---|---|
| 8 | ~38 bits (weak) | ~48 bits (fair) | ~52 bits (fair) |
| 12 | ~56 bits (fair) | ~71 bits (strong) | ~77 bits (strong) |
| 16 | ~75 bits (strong) | ~95 bits (very strong) | ~103 bits (very strong) |
| 20 | ~94 bits (very strong) | ~119 bits (very strong) | ~129 bits (very strong) |
The labels are the tool's own bands: under 45 bits is weak, 45 to 63 fair, 64 to 79 strong, and 80 or more very strong. To make the numbers concrete, imagine an attacker who has stolen a database of fast, unsalted password hashes and can test 100 billion guesses a second (an illustrative figure; sites that use slow hashes such as bcrypt or Argon2 allow far fewer). On average they would find an 8-character password from all four sets in about 5 hours, a 12-character letters-and-numbers password in about 500 years, and a 16-character password from all four sets in roughly two trillion years.
One caution: these figures only hold for passwords a generator picked at random. A password you invented, like Summer2026!, has the same length and character types as a random one but is far weaker, because attackers try human patterns first.
Tick all four sets when the site allows it. When a site rejects some symbols, untick symbols and make up the difference with length: letters and numbers give a pool of 62, so 18 characters gives about 107 bits, a little more than 16 characters with symbols (about 103). If a site accepts only a few specific symbols, generate without symbols and add one of the allowed ones yourself; a single added symbol does little harm, but do not replace random characters with a word.
If a site caps passwords at a short length such as 12, use the full 12 with all sets it accepts, and turn on two-factor authentication there if it is offered.
The "Exclude look-alikes" option removes 0, O, o, 1, l, I and |, characters that are easy to misread. Use it when you will type the password by hand or read it to someone: a Wi-Fi key on a smart TV, a router admin password, a printed recovery sheet. It shrinks the full pool from 88 to 81, which at 16 characters costs about 2 bits (103 down to about 101). If you want the lost strength back, add one character. For passwords that live in a password manager, leave it off; you will never read them.
The US National Institute of Standards and Technology's digital identity guidelines (NIST SP 800-63B) tell sites to allow long passwords, to drop arbitrary composition rules and forced periodic changes, and to block passwords that appear in known breach lists. In practice that means a long, random, unique password that you change only when there is a reason, such as a breach, is the right approach. You can check whether a password has appeared in public breaches with the Pwned Passwords service on Have I Been Pwned, which checks it without sending the full password.