Password Generator

Create a strong random password or a passphrase of random words. It is generated on your device and never leaves it.

Type
Include

The password is created by your browser's cryptographic random number generator. It is not sent to us, saved, or included in analytics. It disappears when you leave the page, so store it in a password manager first.

Advertisement

How to use it

A new password appears as soon as the page loads. Change the length or the character types and it updates. Press Copy, paste it into the site you are signing up for, and save it in your password manager. Use a different password for every account.

How long should a password be?

Length matters more than anything else. Each added character multiplies the number of possible passwords. The strength line under the password shows entropy in bits: the number of yes-or-no guesses an attacker would need on average, on a doubling scale.

Length, all character typesEntropySuitable for
8about 51 bitsToo short for anything important
12about 77 bitsLow-value accounts
16about 103 bitsMost accounts
20about 129 bitsEmail, banking, password manager

These figures apply to passwords chosen at random, as here. A password a person makes up has far less entropy than its length suggests, because people follow patterns.

Password or passphrase?

A passphrase is several words picked at random, such as cabbage-uncle-drift-polish-mango-violin. It is longer than a random password of the same strength, and far easier to read aloud, type on a phone and remember.

  • Use a random password for everything your password manager fills in for you. You never type it, so compactness wins.
  • Use a passphrase for the few secrets you type yourself: the password manager's master password, your computer login, disk encryption, the Wi-Fi password.

The words come from the EFF long word list of 7,776 words, built for this purpose. Each word adds about 12.9 bits, so strength depends on the number of words:

WordsEntropySuitable for
4about 52 bitsLow-value accounts only
5about 65 bitsAccounts protected by login rate limits
6about 78 bitsA good default
7about 90 bitsMaster passwords and disk encryption
8about 103 bitsLong-term, high-value secrets

The strength only holds when the words are chosen at random, as they are here. A phrase you invent, a quotation or a song lyric is much weaker. Capital letters and the separator are fixed choices, so they add no strength; they exist to satisfy sites that demand a capital letter or a symbol.

Word list: "EFF's Long Wordlist" by the Electronic Frontier Foundation, used under the Creative Commons Attribution 3.0 US license.

Is it safe to generate a password on a website?

It depends on where the password is made. This generator runs entirely in your browser. It uses the Web Crypto API (crypto.getRandomValues), the same random source browsers use for encryption keys, and picks characters with a method that gives every character an equal chance. Nothing is transmitted: you can load the page, disconnect from the internet, and it keeps working.

The generator built into your password manager is equally good and saves a step, since it stores the password for you.

Questions

Should I include symbols?

Yes when the site allows them. If a site rejects symbols, switch them off and add a few characters of length to make up for it.

Why leave out look-alike characters?

Only when you will read or type the password by hand, such as a Wi-Fi password. It removes characters that are easy to confuse. It makes the password very slightly weaker, so add a character or two.

How do I remember a password like this?

You do not. A password manager remembers it. The one password you memorize is the manager's own: switch to Passphrase above and generate six or seven words for that.

Is a strong password enough?

It protects against guessing. It does not protect against a fake login page or a breach at the site itself. Turn on two-factor authentication where it is offered, and see how to spot a fake website.

Advertisement