Diceware Generator
Diceware maps physical die rolls to a published word list. The EFF long list has 7,776 words (5 dice, base 6). Showing the rolls makes the entropy story auditable: you can see that the words were not cherry-picked. This is the ceremony version of a passphrase, useful when a team must trust how a recovery phrase was born.
Choosing a passphrase rule for staff? write it into a password policy.
What the diceware passphrase generator is for
Diceware is a method for producing genuinely random passphrases: each word is selected by five dice rolls from a 7,776-word list, giving exactly 12.9 bits of entropy per word with no human bias.
The value lies in that guarantee. A phrase you invent feels random but is drawn from a far smaller pool of words you personally favour; diceware removes you from the choice entirely.
Common uses
- Creating a master password for a password manager
- Generating a disk-encryption passphrase
- Producing high-value passwords that must be memorised
- Teaching how entropy is calculated from a known word list
What the output means in the real world
Each word corresponds to a five-digit roll group. Write the phrase into a manager or onto paper stored offline. Do not substitute a 'funnier' word; that voids the dice maths. If you used on-screen dice instead of physical dice, you are trusting the browser CSPRNG, which is sound but is not a tabletop audit.
How this fits into real work
Electronic Frontier Foundation published the improved list so words are easier to type and harder to confuse on a voice call. Older 5,776-word lists still work; do not mix lists mid-phrase.
High-value recovery keys (crypto wallets, offline CA passwords) are where people still want visible rolls. Photographing the rolls plus the words is a second copy; store paper like cash.
Five EFF words are about 64 bits. Six words are about 77. That is the conversation to have with a board that wants a 'complex' eight-character password for the password manager itself.
How to use this tool
- Choose the number of words — six is the classic diceware recommendation for high-value secrets.
- Pick a separator that the target system accepts.
- Generate, then check the reported entropy: each word adds about 12.9 bits.
- Rehearse the phrase until you can recall it without prompting.
Tips
- Six words gives roughly 77 bits, which is beyond practical offline cracking.
- Never reject a phrase because you dislike the words and generate again repeatedly — selective rerolling reduces randomness.
- For a truly paranoid setup, roll physical dice and look words up by hand; that removes all trust in software.
Privacy & how it works
Everything happens inside your browser. The values you type are held in page memory only, are never sent to a server, and disappear when you close the tab. You can confirm this in your browser's network tab: the only request a tool makes is one that names the tool for a usage count, with nothing you typed in it. The tools also work with the internet disconnected. Uses the EFF long wordlist and Randomness comes from crypto.getRandomValues(), the browser's cryptographically secure generator, not Math.random(). Math.random() is seeded predictably and must never be used for anything security-related, because an attacker who learns part of the sequence can reconstruct the rest.
Frequently asked questions
- How many words do I need?
- Four is acceptable for ordinary use, five is good, six is the standard advice for a master password or encryption key.
- Why is it called diceware?
- The original method used five physical dice rolls to index a numbered word list, guaranteeing randomness without trusting a computer. This tool reproduces it with a cryptographic generator.
Browse other tools
All tools run entirely in your browser — nothing you type is sent to a server, except the optional HIBP 5-character hash prefix.