What a passphrase is
A passphrase is a password made of several words, such as orbit-maple-violin-harbor-tender-quiz. When the words are picked at random, a passphrase is strong, and much easier to remember and type than a string of random characters.
The idea is old and well tested. The Diceware method, published in 1995, uses dice to pick words from a numbered list. This tool does the same with your browser’s cryptographic random generator in place of dice.
The strength of a passphrase comes from the random picks, not from the words being unusual. That is the part most people get wrong when they make one up themselves.
How passphrase entropy works
If a word list has W words and each word is picked uniformly at random, each word adds log2(W) bits. A passphrase of n words has n × log2(W) bits.
This tool’s built-in list has 3,032 common English words of 3 to 8 letters, with no duplicates. Each word adds log2(3,032) ≈ 11.57 bits.
| Words | Entropy with this list | Comparable random password |
|---|---|---|
| 4 | 46 bits | 7 characters from 90 |
| 5 | 58 bits | 9 characters from 90 |
| 6 | 69 bits | 11 characters from 90 |
| 7 | 81 bits | 12 to 13 characters from 90 |
| 8 | 93 bits | 14 characters from 90 |
The numbers assume the attacker knows the word list and your settings, and only the random choices are secret. That is the safe assumption: the list is published in this page’s code.
What the options add
Capitalizing every word adds no entropy, because there is no choice involved. It only helps meet a policy that requires uppercase letters.
Adding a digit to one random word adds log2(10 × n) bits: one of ten digits, on one of n words. For six words that is about 5.9 bits.
The separator adds nothing either, since you choose it once for all passphrases. A symbol separator such as a hyphen or period helps meet a policy that requires special characters.
Why made-up phrases are weak
A phrase a person chooses is rarely random. Song lyrics, quotes, idioms and grammatical sentences are all far more predictable than random words. Attackers run large lists of known phrases and common word combinations.
Even when people try to pick words at random, they favor some words and avoid others. The only reliable way to get the entropy in the table is to let a random source choose, and then use the result unchanged.
Do not regenerate until you get a passphrase you like the look of. Picking among many results gives up a little entropy for each choice you make, and favors patterns.
What this tool does and does not do
- It picks 1 to 20 words uniformly at random from a built-in list of 3,032 words, using
crypto.getRandomValueswith rejection sampling. - It shows the entropy based on the actual list size and your options.
- It can capitalize words, add a random digit, and join words with a hyphen, space, period, underscore or comma.
- It makes one, five or ten passphrases at a time, and stores none of them.
- It does not use a published list such as the EFF word lists. Those lists are longer, and a longer list gives more bits per word.
How to generate a passphrase
- Set the number of words. Six is a sound default for an account password; use seven or more for a password manager’s master password.
- Choose a separator. Hyphens are easy to type on phones and work in most systems.
- If a password policy requires capitals or digits, tick the matching options.
- Copy the first passphrase shown, not the one you like best.
- Write it down on paper for the first few days if you need to, then destroy the paper once you remember it.
Where passphrases work best
Passphrases shine wherever a person must type a secret from memory.
Password manager and vault master passwords
The one password a manager cannot store for you is its own. A seven or eight word passphrase gives 80 to 90 bits with this list, and is something people can actually remember.
Device and disk encryption
Disk encryption passwords are typed at boot, often on a keyboard without a password manager. They also protect data an attacker can copy and attack offline, so they need real strength.
User passwords under a policy
Keycloak realms often enforce a password policy: a minimum length, digits, uppercase letters and special characters. A passphrase with capitalized words, a digit and a hyphen separator meets those rules and stays memorable. Six words with hyphens come to about 40 characters on average, so even a strict length rule is no problem.
Check the policy’s maximum length too. Some systems cap passwords, and a long passphrase can hit that limit.
Temporary passwords read aloud
When a help desk must tell a user a first password, words are far easier to read over a chat or on paper than random characters. Mark such a password temporary, as Keycloak allows, so the user must replace it at first sign-in.
Common mistakes
- Using too few words. Four random words is about 46 bits, which is not enough if a password hash is ever stolen.
- Choosing the words yourself, or swapping a generated word for one you like better.
- Using a famous phrase or a line from a song. These are on attackers’ lists.
- Leaving out the separator and then forgetting where the words break. That is a memory problem, not a security one, but it leads to lockouts.
- Reusing the same passphrase on several sites.
Security notes
NIST SP 800-63B advises that systems accept long passwords, at least 64 characters, and allow spaces. A system that rejects spaces or truncates long passwords works against passphrases; use a hyphen or period separator there.
A passphrase is still a password. It should be stored by the server with a slow, salted hash, and it should be paired with a second factor on any account that matters.
Nothing here is sent to a server. The word list is part of this page, and the picks happen in your browser.
Best practices
- Use six words or more for accounts, seven or more for master passwords.
- Accept the first result. Do not shop for one that looks nicer.
- Keep the words in the order given.
- Use a passphrase only where you must remember a secret. Everywhere else, let a password manager generate and remember random passwords.
- Turn on a second factor wherever it is offered.
How the word list was chosen
A good passphrase list balances size against usability. More words mean more bits per word, but rare or long words are harder to remember and type.
- Common English words that most readers know: animals, plants, food, places, tools, everyday verbs and adjectives.
- Lowercase letters only, 3 to 8 letters long, so phrases stay short and type well on phones.
- No duplicates, so every entry adds a real choice. The entropy shown is computed from the actual count.
- Words that are unpleasant, violent or easily misread were left out where we noticed them.
The list is part of this page’s code. Publishing it costs nothing in security, because the entropy figure already assumes the attacker has it.