Strong password generator
Create strong, random passwords. They're generated on your device and never sent anywhere.
How to use the password generator
- Choose a length from 8 to 64 characters with the slider; 16 or more is a good default. A new password appears as soon as you change anything.
- Pick which characters to include. Turn on Avoid look-alikes if you'll type it by hand.
- Tap the refresh button or press the space bar for another one, then Copy it into your password manager.
What makes a password strong?
Length matters most. Each extra character multiplies the number of possible passwords by the number of characters to choose from. Security people measure this as entropy, in bits: a password with 60 bits of entropy is one of 260 equally likely possibilities, and every extra bit doubles the work for anyone trying to guess it. The figure applies to passwords chosen at random, like these, not to ones people make up.
| Characters used | Pool size | 8 chars | 12 chars | 16 chars | 20 chars | 32 chars |
|---|---|---|---|---|---|---|
| a–z only | 26 | 38 bits | 56 bits | 75 bits | 94 bits | 150 bits |
| a–z and 0–9 | 36 | 41 bits | 62 bits | 83 bits | 103 bits | 165 bits |
| A–Z and a–z | 52 | 46 bits | 68 bits | 91 bits | 114 bits | 182 bits |
| Letters and 0–9 | 62 | 48 bits | 71 bits | 95 bits | 119 bits | 191 bits |
| All four sets | 87 | 52 bits | 77 bits | 103 bits | 129 bits | 206 bits |
flipj's strength bar uses the same calculation: under 50 bits is labelled weak, under 70 fair, under 100 strong, and 100 or more very strong. A 16-character password using all four sets has about 103 bits. Length beats variety: 20 random lower-case letters (94 bits) are stronger than 12 characters drawn from all four sets (77 bits).
How long would it take to guess?
Any answer depends entirely on the attacker, so here is ours with the assumptions spelled out. Suppose a database of passwords has been stolen and an attacker with serious hardware can test one trillion (1012) guesses a second against it, which is possible only when a site stored passwords with a fast hash. On average they find a random password after trying half of all the possibilities:
| Password | Bits | Average time at 10¹² guesses a second |
|---|---|---|
| 8 random characters from 26 | 38 | under an hour |
| 8 random characters from 87 | 52 | under an hour |
| 12 random characters from 87 | 77 | 2,979 years |
| 16 random characters from 26 | 75 | 691 years |
| 16 random characters from 87 | 103 | 1.7 × 1011 years |
| 20 random characters from 87 | 129 | 9.8 × 1018 years |
Logging in through a website's own form is millions of times slower, because sites limit attempts, and well-run sites store passwords with deliberately slow hashes that cut the guessing rate further. The point of the table is the shape, not the exact years: short passwords fall quickly whatever characters they use, and long random ones are out of reach.
The fine print on these passwords
- At least one of each type: flipj makes sure every character type you ticked appears at least once, then shuffles the characters. That rules out a few passwords (such as one with no digits at all), so the true count is a little lower than the simple formula. For 16 characters from all four sets it is 102.8 bits rather than 103.1, a difference too small to matter, and the strength bar shows the simple figure.
- Avoid look-alikes removes the characters most easily confused when typing: capital O and I, lower-case o and l, and the digits 0 and 1. With all four sets ticked the pool shrinks from 87 to 81 characters, which costs about 1.6 bits at 16 characters. Add a character or two to make up for it.
- The symbols are
!@#$%^&*()-_=+[]{};:,.?/~. If a site rejects one of them, untick symbols and add length instead.
What the official guidance says
The United States National Institute of Standards and Technology sets out password rules for government systems in NIST SP 800-63B, which many organisations follow. The current version says passwords used on their own must be at least 15 characters (8 if they are only one part of multi-factor sign-in), that services should allow at least 64 characters, that they must not impose rules such as "use a mix of character types", must not force people to change passwords on a schedule, must check new passwords against lists of common and breached ones, and must allow password managers.
The UK's National Cyber Security Centre recommends three random words for passwords you need to remember, because they are long and easy to recall, alongside a password manager to store the rest. Three words are strong only if they really are random: picked by chance from a list of 2,048 words, three give 33 bits, and from 7,776 words 38.8, so add a fourth word for anything important. flipj generates random characters, which suit passwords that live in a password manager and never need to be typed from memory.
Is it safe to generate passwords online?
With flipj, yes: passwords are created in your browser with its cryptographic random number generator, and never leave your device. You can even disconnect from the internet after the page loads and it still works. Nothing is stored, either: close the tab and the password is gone unless you saved it.
Good password habits
- Use a different password for every account, and store them in a password manager.
- Turn on two-step verification wherever you can.
- Never reuse a password that appeared in a data breach.
- Change a password when there is a reason to, such as a breach or someone else having seen it, rather than on a fixed schedule.
Questions
How long should a password be?
At least 15 characters for a password used on its own, which is the minimum in NIST's current guidance, and 16 or more random characters is a good default.
Does flipj see my passwords?
No. They're generated on your device and never sent to us or stored anywhere.
What does "bits of entropy" mean?
It measures how many equally likely passwords the generator could have produced: n bits means 2 to the power n possibilities. Each extra bit doubles the guessing work.
Are three random words better than a random password?
Three random words are easier to remember and type, which is why the UK NCSC recommends them for passwords you must recall. For passwords kept in a password manager, a long random string is stronger.
Should I change my passwords regularly?
Not on a schedule. NIST's guidance says services should not force regular changes, but you should change a password if it may have been exposed.
What does "avoid look-alikes" do?
It leaves out O, I, o, l, 0 and 1, which are easy to mix up when reading a password and typing it by hand.