Skip to content

Password generator

Create strong random passwords with the length and characters you choose.

Updated

Include

Strength: Very strong

≈ 130 bits of entropy

How to generate a password

  1. Set the length. 16 or more characters is a good default for important accounts.
  2. Choose which kinds of characters to include.
  3. Copy the password straight into your password manager or the sign-up form.
  4. Need several? Pick how many and copy them all at once.

How long would it take to crack?

Assuming an attacker who can try 100 billion guesses a second against a leaked, fast-hashed password database, a truly random password holds out for roughly:

PasswordEntropyTime to crack
8 characters, all types≈ 52 bitsAbout 6 hours
12 characters, all types≈ 79 bitsAbout 200,000 years
16 characters, all types≈ 105 bitsLonger than the age of the universe
20 lowercase letters≈ 94 bitsLonger than the age of the universe

Length matters most: each extra character multiplies the work. Human-chosen passwords are far weaker than these figures.

Good password habits

  • Use a different password for every account, so one leak can't unlock the rest.
  • Store them in a password manager instead of memorising or reusing them.
  • Turn on two-factor authentication wherever it's offered.

Common uses

  • Signing up for a new account. Generate a long random password for the new account and save it straight into your password manager, so you never have to remember it.
  • Replacing a leaked password. If a site reports a breach, change your password there to a fresh random one so the old one is useless to anyone who has it.
  • A Wi-Fi password people will type. Turn on Avoid look-alikes for a router or guest Wi-Fi password that people will copy from a printed card.
  • Setting up several accounts. Need passwords for a batch of new staff or test accounts? Choose 5, 10 or 25 under How many and copy them all at once.

Questions

How long should a password be?

At least 16 characters for accounts that matter. With upper and lower case, numbers and symbols, 16 random characters is about 105 bits of entropy, far beyond what can be guessed. Length adds more strength than extra symbols do.

How random are these passwords?

Every character comes from a cryptographically secure random number generator, picked with rejection sampling so no character is more likely than another. At least one character from each set you choose is included.

What does “bits of entropy” mean?

It measures how many guesses an attacker would need: each extra bit doubles it. Under 36 bits is weak, 60 bits is fair for low-risk accounts, and 80 bits or more is strong.

Why avoid look-alike characters?

Characters like I, l, 1, O and 0 are easy to confuse when a password is read aloud, printed or typed from another screen. Leaving them out costs very little strength.

All generators →