This tool generates Diceware passphrases entirely in your browser using cryptographically random word selection from the official EFF long wordlist. Choose how many words (4 to 8), and the tool produces a passphrase with calculated entropy and estimated crack time. No passphrase is stored, logged, or sent to any server. The tool is free, requires no login, and works offline once the page loads.
How does the Diceware Passphrase Generator work step by step?
The Diceware passphrase generator creates random passphrases by selecting words from the EFF Large Wordlist (7,776 entries, covering all outcomes of 5 six-sided dice) using a cryptographically secure random number generator. Passphrase entropy is calculated as: Entropy (bits) = Word Count x log2(Wordlist Size). A 6-word passphrase from the 7,776-word list yields 6 x 12.92 = 77.5 bits of entropy, which would require over 1 billion years to brute-force at 10^12 guesses per second. The tool uses window.crypto.getRandomValues for all random index selection, ensuring the source entropy is cryptographically appropriate. Passphrases are displayed with configurable separators (space, hyphen, period, or none). Entropy bits and an estimated offline crack time are shown for each generated passphrase. Key assumption: all passphrase generation runs entirely in the browser. No passphrase or entropy data is transmitted to any server. Edge case: some services impose character limits that prevent 6-word passphrases. Adding a seventh word contributes 12.92 additional entropy bits -- equivalent to extending a random alphanumeric password by roughly 2 characters. If a system's character limit forces you below 6 words, the tool recalculates entropy for the shorter phrase and warns when it falls below 60 bits (the rough threshold where offline attacks become feasible within years rather than centuries).
Passphrases people can actually remember
A random string like q7#Kp2!x is strong but hard to recall. Four or five random words, like correct-style words strung together, can be just as strong and far easier to remember. That's the idea behind Diceware.
The generator picks words from the EFF long wordlist using the browser's secure random source. It shows each pick as a dice roll, the total entropy and a crack-time estimate.
How strong is it?
The EFF long list has 7,776 words, one for each roll of five six-sided dice. Each word adds about 12.9 bits of entropy. Five words give around 64 bits, and six give about 77. Eight words reach roughly 103.
For everyday accounts, five words is solid. For a password manager's master password or an encryption key, go with six or seven. More words always beat fancier tricks.
- 4 words: about 52 bits, fine for low-risk accounts
- 5 words: about 64 bits, a good default
- 6 words: about 77 bits, for important accounts
- 7 words or more: for master passwords and encryption
Do not edit the picks
Rerolling until you get words you like cuts the strength. Pick a length, generate, and use what you get. A phrase that is random is only strong while it stays random.
Numbers and symbols aren't needed for strength, but some sites force them. If so, add a number and a symbol at the end. It won't hurt, though the words do most of the work.
Passphrases are not stored or sent anywhere. Generation happens in your browser, and closing the tab clears it.