Password generator
The password is generated in the browser. Please enable JavaScript.
Estimated entropy: 130 bits. Strength: very strong.Everything runs in your browser; nothing is sent or stored.
- Set the password length, from 8 to 128 characters, with the slider or the number field.
- Choose the character types: lowercase letters, uppercase letters, digits, and symbols. Every password contains at least one character of each selected type.
- Tick "No look-alike characters" to leave out characters that are easy to confuse.
- Enter a number from 1 to 10 to generate several passwords at once. New passwords are generated whenever you change a setting and when you click "Regenerate".
- Below the passwords, you see the estimated entropy and the strength level, and each password has its own "Copy" button.
What makes a password strong
The strength of a password depends on how many guesses it takes to find it. Length matters more than anything else, because every extra character multiplies the number of possible combinations by the size of the character pool. A random password is stronger than a familiar word with substitutions such as P@ssw0rd, because words and common substitutions are on the lists attackers try first.
How entropy is calculated
Entropy is measured in bits and calculated as the password length multiplied by log2 of the character pool size. With all four character types selected, the pool holds 90 characters, about 6.5 bits per character. Every extra bit doubles the number of guesses needed. A password with less than 50 bits is rated weak, 50 to 79 bits medium, 80 to 99 bits strong, and 100 bits or more very strong.
How the password generator picks random characters
The generator picks characters from a cryptographically secure random source, so the next characters cannot be predicted. Every character is chosen with equal probability, with no bias toward particular characters. After the characters are picked, their order is shuffled, so characters of each type have no fixed position in the password.
Length, character types, and entropy
8 characters, digits only - about 27 bits, weak.
12 characters, all character types - about 78 bits, medium.
16 characters, lowercase letters only - about 75 bits, medium.
16 characters, all character types - about 104 bits, very strong.
20 characters, uppercase and lowercase letters and digits, no symbols - about 119 bits, very strong.
20 characters, all character types - about 130 bits, very strong (the generator's default).
Password generator FAQ
What password length should I use?
For most uses, a random password of at least 16 characters with all character types is a good choice, since its entropy is above 100 bits. For sensitive accounts, such as administrator access to a server or a database, we recommend 20 characters or more. When you keep the password in a password manager, a long password is no harder to use.
How do I create a password for a system that limits symbols?
Some systems limit which symbols a password may contain, and in configuration files or on the command line, symbols such as $, #, or & can have a special meaning. In that case, clear the "Symbols" checkbox and increase the password length. A 24-character password of letters and digits reaches about 143 bits.
What does the "No look-alike characters" option do?
The "No look-alike characters" option leaves out the characters 0, O, o, 1, l, I, and |, which are easy to confuse in some fonts. It suits a password that you type from a printed page or read out over the phone. Leaving them out lowers the entropy slightly: a 20-character password with all character types drops from about 130 to about 128 bits.
Does the strength estimate apply to a password I chose myself?
The calculation assumes that every character was chosen at random, so the strength estimate applies only to passwords created with the generator. A password that a person chooses usually contains words, dates, and predictable patterns, so its real strength is much lower. To check an existing password, use the "Password strength checker" tool.
Is a strong password enough to protect my account?
A strong password protects against guessing, but not against a leaked password or phishing. We recommend a different password for every service, so a leak from one site does not expose your other accounts, and two-factor authentication (2FA) wherever it is available.