Passphrase Generator
Diceware is a 1995 idea by Arnold Reinhold that still holds up: roll five dice, look up the 7,776-entry wordlist, and repeat until you have enough words. Because every word is one of 7,776 equally likely choices, each adds exactly log₂(7776) ≈ 12.9 bits of entropy. Five words are 64.6 bits; six words are 77.5, the same as a 12-character random password from the full keyboard.
This page uses the EFF long wordlist, which improves on the original by:
- dropping obscure, offensive and hard-to-spell words
- keeping words between 3 and 9 letters with a unique 3-letter prefix, so autocomplete can never confuse two of them
- removing words that sound alike
Instead of physical dice, the roll comes from crypto.getRandomValues(). The dice values shown under the passphrase are the exact five-digit index of each word, so you can verify a pick against the printed list if you want to.
What leaves your browser
The wordlist (about 100 KB) is downloaded once and cached. Word selection happens in your browser. No request is made when you regenerate, and nothing is stored.
How many words do I need?
Four for accounts a manager remembers for you. Five or six for a master password, disk encryption or anything an attacker could try offline. Seven or more only if you are protecting something worth a nation-state's attention.
Do capitals and numbers make a passphrase stronger?
A little. A number adds about 6.6 bits, a symbol about 3. They are here for sites with composition rules, not because the words need help. An extra word adds 12.9 bits and is easier to remember.
Passphrase or password?
Passphrases for things you type from memory. Random passwords for things your manager fills in. Our guide on passphrases vs passwords walks through the numbers.
Is the EFF list better than the original Diceware list?
For typing and memorising, yes. Both have 7,776 words, so the entropy per word is identical.
Can I trust a browser to roll the dice?
The Web Crypto API pulls from the operating system's random pool, the same source used for encryption keys. If you would rather not, the dice values are shown so you can roll real dice and look the words up yourself.