Passwords or passphrases?
For accounts a password manager fills in, use a long random password: 16 or more characters from all four sets. For the few secrets you have to remember or type, such as the password manager itself or a disk-encryption key, a passphrase of 6 or more random words is as strong and far easier to remember and type on a phone.
The words must be chosen at random, as here. A phrase you think of yourself, a lyric or a quote is much weaker than its length suggests.
How to use the Password Generator
- Choose Password or Passphrase.
- Set the length and character sets, or the number of words and separator.
- Copy a result, or generate again; choose how many to generate at once.
Examples
16 characters from all four sets
Length 16; lowercase, uppercase, digits and symbols.≈ 100 bits (76 possible characters): very strongLowercase and digits, without look-alikes
Length 12; lowercase and digits; look-alikes excluded.≈ 60 bits (32 possible characters): fairEasy to read aloud or type from paper; make it longer to be strong.
A six-word passphrase
6 words, separated by hyphens.≈ 78 bits (7,776 possible words): strongFor example: cleat-snowfall-unmasked-gong-ladle-anagram
8 lowercase letters
Length 8; lowercase only.≈ 38 bits (26 possible characters): weakShort passwords from a small set can be found quickly offline.
What the bits mean
Entropy counts how many equally likely passwords the settings could produce: each bit doubles it. A 16-character password from 76 characters has about 100 bits, 2^100 possibilities, so an attacker trying a trillion guesses a second would need far longer than the age of the universe. The figure assumes the attacker knows your settings, which is the safe assumption. It's an estimate for randomly generated secrets only; it says nothing about passwords people choose themselves.
Options
- Length
- 4 to 128 characters (16 by default).
- Characters
- Any of lowercase, uppercase, digits and symbols; each chosen set appears at least once.
- Exclude look-alikes
- Leave out I, l, 1, O, 0 and o, for passwords read or typed by hand.
- Passphrase
- 3 to 12 words from the EFF large wordlist, with a separator, optional capitals and an optional digit.
Limitations
- Symbols are limited to !#$%&*+-=?@^_~, which most sites and shells accept without escaping.
- Some sites cap length or forbid symbols; adjust the settings to their rules.
- Strength estimates apply to generated secrets, not to passwords you type in.
Frequently asked questions
Are these passwords really random?
Yes. They come from crypto.getRandomValues, the browser's cryptographically secure generator, with each character or word equally likely.
Is anything sent or saved?
No. Passwords are generated on your device, aren't stored, and never reach analytics or logs. Save them in a password manager.
How long should a password be?
16 random characters from all sets (about 100 bits) is plenty for any account. For a passphrase, use at least 6 words.
Where do the passphrase words come from?
The Electronic Frontier Foundation's large wordlist: 7,776 common, distinct words chosen to be easy to remember and spell. It's the list used for diceware with five dice.