What the Password Generator does
The Password Generator makes strong, random passwords on your own device. Choose the length and which kinds of characters to include: uppercase, lowercase, numbers and symbols. You can also leave out characters that look alike. Every password includes at least one character from each set you choose, and a strength bar shows how hard it is to guess. Nothing here is saved or sent.
How to use it
- Set the length with the slider, from 6 to 128 characters.
- Tick the character sets to use, and tick Avoid look-alikes if you will type the password by hand.
- Choose how many passwords to make at once.
- Copy the one you want, or press Generate for a fresh set.
Example
For a new email account, a 20-character password with all four sets gives about 129 bits of entropy, rated Very strong. If you need to read a Wi-Fi password aloud to guests, choose 16 characters with look-alikes avoided: there is no O and 0 or l and 1 to confuse, and it is still rated Very strong.
How strong is strong enough?
Strength is measured in bits of entropy: the length multiplied by the bits each character adds, which depends on how many characters it could have been. The tool rates under 40 bits as weak, 40 to 59 fair, 60 to 79 strong, and 80 or more very strong. Length matters more than symbols, so a longer password made only of letters can beat a short one full of symbols.
The table shows the entropy of a random password and the average time to guess it if an attacker has stolen a database with a fast hash and tries 10 billion guesses a second on graphics cards. Websites that store passwords properly, with a slow hash, make guessing millions of times slower.
| Length | Lowercase only | Letters and numbers | All four sets |
|---|---|---|---|
| 8 | 38 bits, under a minute | 48 bits, 3 hours | 52 bits, 2 days |
| 12 | 56 bits, 55 days | 71 bits, 5,100 years | 77 bits, 300,000 years |
| 16 | 75 bits, 69,000 years | 95 bits, billions of years | 103 bits, billions of years |
| 20 | 94 bits, billions of years | 119 bits, billions of years | 129 bits, billions of years |
Passwords, passphrases and password managers
A random password is best when a password manager remembers it for you. For the few you must type or remember, such as the manager’s own master password or your computer login, a passphrase of four to six random words is easier to recall and just as hard to guess. The Passphrase Generator makes these, and the Password Strength Tester checks a password you already use without sending it anywhere.
Passwords are made with your browser’s secure random number generator and an unbiased method, so every character is equally likely. Use a different password for every site, so one leak cannot open your other accounts, and turn on two-step sign-in wherever it is offered.
Questions people ask
Are the passwords saved or sent anywhere?
No. They are made in your browser and disappear when you leave the page.
How long should a password be?
At least 12 characters with all four sets for everyday accounts, and 16 or more for email, banking and your password manager. Longer is always better when a manager fills it in for you.
Which symbols are used?
! @ # $ % ^ & * ( ) - _ = + [ ] { } ; : , . ? / ~. Some sites reject certain symbols; untick Symbols if a site complains.
What does Avoid look-alikes remove?
The letters O, o, I and l, the digits 0 and 1, and the | ` ' " symbols.
Can I make passphrases?
Yes, with the Passphrase Generator, which makes memorable passwords from random words.