Quick access

Saved in this browser. Sign in to keep it on all your devices.

Password Generator

Strong random passwords, easy-to-type passphrases and PINs, with an honest estimate of how long each would take to crack.

Private — made in your browser, never sent

bits of entropy

Time to crack at ten billion guesses a second: . Fine for a phone or card that locks after a few wrong tries, never for an online account.

generated

16 or more for important accounts. Type up to 128 in the box.

Characters
Rules

For sites that reject some symbols.

6 words is a good balance; use 7 or more for a password manager’s master password.

Words come from the EFF short word list (1,296 words, CC BY 3.0).

Already have a password?

See how it holds up in the Password Strength Checker. Building a login? Store passwords with the Bcrypt Generator, never as plain text.

Need a token, not a password?

For API keys and secrets, use the Random String Generator. For database IDs, use the UUID Generator.

Version 1.2 Updated What's new

Release notes

  1. v1.2 Latest
    • New answer: why a password made from your name is weak, and what to use instead.
  2. v1.1
    • Added an in-depth guide below the tool, written from what the tool actually does.

About the Password Generator

The password generator makes random passwords, passphrases, and PINs with your browser’s cryptographically secure random number generator, so nobody can predict them. It shows the strength in bits of entropy and how long an attacker would need to guess each one.

How to use it

  1. 1 Choose Password, Passphrase, or PIN.
  2. 2 Set the length and the characters or words to use; 16+ characters or 6+ words is best.
  3. 3 Copy it into your password manager, or make up to 100 at once and download them.

Frequently asked questions

How long should a password be?

At least 12 characters, and 16 or more for important accounts such as email and banking. Each extra character multiplies the guesses needed, so length adds more strength than symbols do.

Password or passphrase: which is better?

Both are strong when long enough. A random 16-character password has about 100 bits of entropy; a 6-word passphrase has about 62 bits but is far easier to type and remember. Use a passphrase for things you type by hand, like your computer login or password manager.

How is the crack time worked out?

It assumes an attacker who stole a password database and makes ten billion guesses a second, which a few graphics cards can do against a fast hash. The time shown is the average: half of all possibilities. Online logins are far slower to attack, so the real time is usually much longer.

Are the passwords random and private?

Yes. They come from crypto.getRandomValues, the browser’s secure random number generator, with no bias toward any character. They are made on your device and never sent to our server or saved. Only your settings are remembered in this browser.

Why leave out look-alike characters?

Characters such as I, l, 1, O, and 0 are easy to misread when you copy a password by hand or read it aloud. Leaving them out makes the password a little weaker per character, so add a character or two to make up for it.

Is a 4-digit PIN safe?

Only where a lock stops guessing after a few wrong tries, like a phone or bank card. There are just 10,000 four-digit PINs, so never use one as an online password.

Can I make a password from my name?

You can, but you should not. Names, birthdays, and pet names are the first things an attacker tries, and a password built from your name, even with swapped letters like a for @, falls in seconds to a guessing tool. For something you can remember, make a passphrase of 5 or 6 random words instead: it is just as easy to recall, and nobody can guess it from who you are.

Where do the passphrase words come from?

From the EFF short word list by the Electronic Frontier Foundation: 1,296 short, common words chosen to be easy to type and hard to confuse. It is used under the CC BY 3.0 US licence.

How long a password takes to crack, by length

With the same assumption the generator uses, an attacker trying ten billion guesses a second against a stolen database, the average time to find a random password is:

  • 8 lowercase letters: about 10 seconds.
  • 8 characters from all 94 printable symbols: about 3.5 days.
  • 10 characters from all 94: about 85 years.
  • 12 characters from all 94: about 750,000 years.
  • 16 characters from all 94: trillions of years.

Passphrases follow the same maths: 4 words from the 1,296-word list fall in about 2 minutes, while 6 words take about 7 years and 7 words almost 10,000. Sites that store passwords with a slow hash such as bcrypt cut the guessing speed by thousands of times, but you cannot see from outside how a site stores yours.

What current password guidance says

The US NIST guidelines (SP 800-63B, revised in 2025) put length ahead of complexity. A password that is the only login factor should be at least 15 characters, or at least 8 when it is combined with a second factor. Sites should allow at least 64 characters and pasting from a password manager, check new passwords against lists of breached ones, and stop forcing a mix of symbols or a change every few months.

One password per site

When one site is breached, attackers try the same email and password on hundreds of others within hours. This is called credential stuffing, and it works because people reuse passwords. Give every account its own generated password, keep them all in a password manager, and remember just one long passphrase for the manager itself. Turn on two-step login for email and banking, since your email can reset everything else.

When a site refuses your new password

  • Too long: some banks still cap passwords at 16 or 20 characters. Shorten the length and keep the symbols on.
  • Symbols not allowed: turn symbols off and add three or four characters to make up the strength.
  • Must start with a letter: generate again, or move a letter to the front.
  • No spaces: in a passphrase, use hyphens or no separator between the words.