By Arkay · Updated
How do you use the password generator?

Follow these steps to make a random password, or to check one you already use.
- Set the length you want. Longer is stronger, so pick the longest length the site you are signing up to accepts.
- Choose the character sets you want: lowercase, uppercase, numbers and symbols.
- Optionally, turn on avoid look-alike characters to leave out characters that are easy to confuse.
- Read the random password, its entropy in bits and its estimated time to guess.
- To check a password you already use, paste it in. The tool shows its strength.
Each new generation gives a new password. Entropy is a measure of how many guesses a password could need, and time to guess turns that into an estimate. Each character you drop removes several bits, so keep the length high. The sections below explain both.
How does the password generator work?

This tool picks each character with the browser's cryptographically secure generator, crypto.getRandomValues. It uses rejection sampling, so no character is more likely than another. Without that step, some characters would come up more often than others. It then takes at least one character from each set you chose and shuffles the result.
Entropy is length × log2(pool size), measured in bits. The pool is the number of different characters the tool can pick from. Time to guess assumes half the possible passwords are tried, at 10 billion guesses a second.
Worked example, in words: take a password and add another character drawn from the same pool. The number of possible passwords is multiplied by the pool size, so the number of guesses needed grows by that same factor. Because the factor repeats with every character, a longer password grows much harder to guess, not just a little harder. The table in the entropy section shows what this does across lengths and pools.
Nothing leaves the browser, so the password is never sent to us.
What makes a password strong: length or complexity?
Length matters most. NIST (US) calls password length a primary factor in password strength, in its SP 800-63B guidelines. A strong password generator is only as good as the length it makes, so set a long one.
Complexity rules add much less. NIST (US) says services must not impose composition rules, such as requiring a mix of character types. It also notes that users respond predictably to those rules, for example by choosing "Password1" or "Password1!" when told to add an uppercase letter, a number and a symbol.
The UK NCSC (GB) agrees. It says complexity requirements provide no defense against common attacks and should not be used. Swapping letters for numbers or symbols, such as the letter o for a zero, does not make a password much stronger, because criminals know these tricks as well.
What is password entropy and how many bits do you need?

Entropy measures how hard a random password is to guess, in bits. This tool calculates it as length × log2(pool size). Each extra bit doubles the number of guesses needed.
The sources behind this guide do not set a bit target. Compare the rows below and choose a length and character set that suit how the password will be used.
| Length | Pool | Entropy (bits) | Time to guess |
|---|---|---|---|
| 8 | 26 lowercase | 37.6 | 10 seconds |
| 8 | 52 lowercase and uppercase | 45.6 | 45 minutes |
| 8 | 62 letters and digits | 47.6 | 3 hours |
| 12 | 26 lowercase | 56.4 | 55 days |
| 12 | 52 lowercase and uppercase | 68.4 | 619 years |
| 12 | 62 letters and digits | 71.5 | 5,112 years |
| 16 | 26 lowercase | 75.2 | 69,100 years |
| 16 | 52 lowercase and uppercase | 91.2 | 4.5 billion years |
| 16 | 62 letters and digits | 95.3 | 75.5 billion years |
| 20 | 26 lowercase | 94.0 | 31.6 billion years |
| 20 | 52 lowercase and uppercase | 114.0 | 3.3 × 10^16 years |
| 20 | 62 letters and digits | 119.1 | 1.1 × 10^18 years |
Time to guess is half the number of possible passwords, divided by 10 billion guesses a second. Entropy figures in the table are rounded. The table uses only letters and digits. Symbols would enlarge the pool and raise every figure, but they are left out so each figure follows the formula exactly.
The table shows what a few extra characters can do in the same letters-and-digits pool: a time measured in hours can become a time measured in thousands of years.
Within each length, the rows show what a bigger character set adds. Between lengths, the figures grow much faster, so length is usually the setting that matters most.
How strong is my password, and how long would it take to crack?
Paste the password into this password strength checker to see how strong it is. Its strength starts from its entropy, then drops for common passwords, for repeats and for passwords made only of digits. The checker can only judge the password you paste, so treat its result as an estimate, not a guarantee.
Use the checker on any password you are not sure about, including older ones you have used on several sites. The check runs in your browser, so the password you paste is not sent anywhere.
To estimate how long a random password would take to crack, use the time to guess from the table above.
Is a passphrase better than a random password?
Often, yes, for a password you have to remember. The UK NCSC (GB) suggests combining three random words, for example applenemobiro. It says this is strong enough to keep criminals out but easy to remember.
Pick the words at random rather than choosing words you like. The same idea works for any password you must type from memory, such as the one that unlocks your password manager.
A password stored in a password manager does not need to be memorized. A long random password from this tool suits that case.
Which settings should you choose for different uses?
Choose settings by how the password will be stored and typed, not by a single rule for every case. The settings that suit one use may not suit another.
For a password kept in a password manager, memory is not the limit, so a long random password with every character set chosen suits this case. NIST (US) says services should permit a maximum password length of at least 64 characters, so the tool's top setting of 64 characters is one that NIST's advice allows.
A password you must type from memory, such as the one that unlocks your password manager, should be easy to remember. For that case, the UK NCSC (GB) suggests three random words, as explained in the passphrase section above.
The sources behind this guide do not cover passwords shared with a team, so this guide gives no rule for them. The separate-password rule still applies to your own accounts: email needs a password of its own, as the reuse section explains.
Turn on avoid look-alike characters when a password will be read aloud or typed from paper. Characters such as the letter o and zero are easy to mix up in those cases. The trade-off is that leaving characters out shrinks the pool, so entropy drops a little.
Why is password reuse the real risk?
The UK NCSC (GB) says that reusing one password means cyber criminals only need that one password to get into all your accounts. One stolen password opens every account that shares it, however strong it is.
Email needs its own password. The NCSC (GB) warns that someone in your email account could reset all your other account passwords and get access to your other online accounts. The generator above can make a separate password for each account.
Do you need a password manager and two-step verification?
Both NIST (US) and the UK NCSC (GB) support password managers. NIST says the systems that check passwords must allow password managers and autofill. The NCSC recommends them for secure storage wherever appropriate, while noting they are not impregnable and are an attractive target for attackers.
The NCSC also says writing a password down is fine, provided you keep it somewhere safe.
Two-step verification adds a second check when you sign in. The NCSC calls turning it on one of the most effective ways to protect online accounts. In its words, "Even if your passwords are hard to guess, that doesn't make them any harder to steal."
What do NIST and the UK NCSC advise?
NIST (US) and the UK NCSC (GB) agree on several points but differ on length. NIST requires at least 15 characters for a password used alone, while the NCSC suggests three random words.
| Topic | NIST SP 800-63B (US) | UK NCSC (GB) |
|---|---|---|
| Password used alone | At least 15 characters | Three random words |
| Shorter passwords | Only with multi-factor, and at least 8 characters | Not covered in our sources |
| Composition rules | Must not impose them | Should not be used |
| Periodic changes | Must not require them | Regular changes harm security |
| When to change | When there is evidence of compromise | Only on suspicion of compromise |
| Password managers | Must allow them and autofill | Recommended for secure storage |
| Blocklist | Check new passwords against known compromised ones | Not covered in our sources |
| Maximum length | Should allow at least 64 characters | Not covered in our sources |
Where our sources say nothing about a point, this guide gives no answer for that country.
More guides in Password Managers.
Frequently asked questions
- How long should a password be?
- NIST (US) requires at least 15 characters when a password is the only sign-in factor, and allows shorter ones only alongside multi-factor authentication. The UK NCSC (GB) suggests three random words. This tool's length setting runs from 8 to 64 characters.
- Is a passphrase better than a random password?
- For a password you must remember, often yes. The UK NCSC (GB) suggests three random words, which it says are strong enough to keep criminals out but easy to remember. For passwords kept in a password manager, a long random password works well.
- Is it safe to use an online password generator?
- Check where the password is made. This tool makes it in your browser with the browser's cryptographically secure generator, and nothing leaves the browser. Many generators do not say whether they work this way, so look for that information before you trust one.
- How often should I change my passwords?
- Not on a fixed schedule. NIST (US) says services must not require periodic changes, and the UK NCSC (GB) says regular changes harm security. Change a password when you suspect it has been compromised.
Sources
- NIST SP 800-63B (US) requires passwords used as a single-factor authentication mechanism t (pages.nist.gov)
- The UK NCSC does not recommend complexity requirements for user-chosen passwords. (www.ncsc.gov.uk)
- The UK NCSC says a password made of three random words is strong enough to keep criminals (www.ncsc.gov.uk)
- The UK NCSC says reusing one password across accounts means criminals only need that one p (www.ncsc.gov.uk)
- The UK NCSC calls turning on 2-step verification one of the most effective ways to protect (www.ncsc.gov.uk)