How strong is a random password?
Strength depends on two things: how many characters the password has and how many different characters each position can be. The tool shows it as entropy in bits, the length multiplied by log2 of the number of possible characters. Every extra bit doubles the number of guesses needed.
| Characters used | Bits per character | Length for 80 bits |
|---|---|---|
| Digits only (10) | 3.32 | 25 |
| Lowercase letters (26) | 4.70 | 18 |
| Upper and lowercase (52) | 5.70 | 15 |
| Letters and digits (62) | 5.95 | 14 |
| All four sets (87) | 6.44 | 13 |
A longer password from a smaller set can be just as strong as a short one with symbols. Length is the easiest lever.
How the generator works
Each character is drawn from your browser's cryptographic random number generator, with rejection sampling so that no character is more likely than another. The tool also makes sure every set you switched on appears at least once, then shuffles the result. Nothing is sent to a server and nothing is stored; the passwords disappear when you leave the page.
Storing passwords
Random passwords are meant to be stored in a password manager, not remembered. If you build a login system, never store the passwords themselves: store a slow, salted hash such as bcrypt. Our guide to password generation and storage covers both sides.
Questions about passwords
Are these passwords really random?
Yes. They come from your browser's cryptographic random number generator (crypto.getRandomValues), the same source used for encryption keys. Each character is picked so that every allowed character is equally likely.
How long should a password be?
For a password stored in a password manager, 16 to 20 random characters from all four sets is plenty (well over 100 bits). For one you have to type often, a longer passphrase of random words can be easier to handle.
What does the number of bits mean?
Entropy in bits measures how many guesses an attacker would need: every extra bit doubles it. It is the length multiplied by log2 of the number of possible characters. 80 bits or more is out of reach of brute force today.
What does "Look-alikes: Leave out" do?
It removes characters that are easy to confuse when reading or typing: I, l, 1, O, 0 and o. It lowers the strength slightly, so add a character or two to make up for it.
Are the passwords saved or sent anywhere?
No. They are created in your browser and exist only on this page until you close it. Nothing is sent to our server or stored.