DevTools Logo

Diceware Passphrase Generator

Diceware Passphrase Generator

EFF wordlist, unbiased sampling, exact entropy — never leaves the tab

Runs in your browser

Configuration

6 words · 77.5 bits

Draws words with unbiased rejection sampling from the bundled 7,776-word EFF list (or a 2,048-word BIP-39 list), then joins them with your separator and capitalization. Entropy is computed as words × log2(list size) and shown with each result.

Passphrases

No passphrase generated

Configure and generate a passphrase

Use at least 6 words for a master password.

Try an example

Examples

Master password

Input
6 words · EFF large · hyphen separator
Output
cleft-camprank-snowcap-… (77.55 bits)

A master-password candidate that is long enough for a password manager's master field.

Five candidates

Input
10 words · EFF large · space separator · batch 5
Output
Five independent 129-bit passphrases

Compare candidates and keep one; each Generate press replaces the whole batch.

Compact list

Input
6 words · BIP-39 · period separator · lowercase
Output
abandon.ability.able.… (66 bits)

The 2,048-word list is easy to type and still gives 66 bits at six words.

About this tool

The Diceware Passphrase Generator builds memorable secrets from real wordlists: the official 7,776-word EFF large list, or a compact 2,048-word BIP-39 list. Words are chosen with rejection sampling over a 16-bit space, so every entry has exactly the same probability and no modulo bias weakens the entropy math.

Entropy is shown honestly as words × log2(list size). Six EFF words give about 77.5 bits; six BIP-39 words give exactly 66 bits. Capitalization and separators are presentation choices and do not add entropy, which is stated next to those controls. An optional random digit adds precisely log2(10) ≈ 3.32 bits, sampled with rejection rather than a biased byte modulo.

You can generate one candidate or a batch of up to ten, copy the whole batch or an individual phrase, and wipe the display when you are done. A seed field enables reproducible demo output (with a clear warning that seeded phrases are not real secrets); each Generate press advances a cursor so a fixed seed still produces fresh candidates.

Everything runs locally with WebCrypto. Passphrases are never uploaded, stored, or logged. The EFF wordlist attribution is retained in the bundled asset.

What this tool does not do

  • No breach check or password-strength database is involved — the bit count describes this construction only.
  • Generated passphrases are not stored; wipe the display before sharing your screen.
  • Only English wordlists are bundled; translation and alternate-language lists are out of scope.
  • Seeded output is for demonstrations and tests, never for real credentials.

How to use this tool

  1. Choose words and style

    Set 4–10 words, a separator (space, hyphen, period, none or one custom character), capitalization and a wordlist.

  2. Read the entropy

    The header and each result show entropy in bits: words × log2(list size), plus 3.32 if you append a digit.

  3. Generate

    Press Generate passphrases (or Mod+Enter). A seed advances its cursor on each run so demo batches stay fresh.

  4. Copy and wipe

    Copy the whole batch or a single candidate, then press Wipe to clear it from the screen.

Use cases

Password manager master password

Pick a long, memorable phrase you can type on a new device without copying from a vault.

Security training

Show the exact entropy arithmetic and how separators, case and digits affect — or do not affect — strength.

Service passphrases

Generate long space-separated phrases for scripts or shared team credentials with an honest bit count.

Wordlists and entropy

ListBits per word
EFF large — 7,776 wordslog2(7776) ≈ 12.925 bits per word; six words ≈ 77.55 bits.
BIP-39 English — 2,048 words11 bits per word; six words = 66 bits.
Custom separatorExactly one character; presentation only, no entropy change.
CapitalizationLowercase, first word or each word — cosmetic, no entropy change.
Appended digitAdds log2(10) ≈ 3.32 bits when sampled with rejection.

Entropy assumes independent, uniformly sampled words from the selected list.

Common mistakes

Mistake:Assuming capitalizing every word doubles the strength.

Fix:Capitalization here is a post-processing style, so the entropy stays words × log2(list size). Add words instead.

Mistake:Using a seeded passphrase as a real secret.

Fix:Seeded mode is reproducible by design and anyone who knows the seed can regenerate it. Leave the seed empty for real passwords.

Mistake:Choosing too few words for a master password.

Fix:Use at least six EFF words (about 77.5 bits) and more for high-value accounts; the guidance chip appears beside the word count.

Frequently asked questions

How many words do I need?

For a password-manager master password, use at least six words from the EFF large list — about 77.5 bits of entropy. Ten words give roughly 129 bits, well beyond what is needed for most threats but useful for long-lived service credentials. With the 2,048-word BIP-39 list every word contributes 11 bits, so six words give 66 bits.

What is diceware?

Diceware is a method for generating passphrases by selecting words from a numbered list with dice rolls. Each EFF large-list word corresponds to five base-6 rolls. This tool performs the same uniform selection with WebCrypto and shows the equivalent dice rolls for teaching; you can also use physical dice and the EFF list if you prefer not to trust a computer's RNG.

Why is it 12.9 bits per word?

The EFF large list has exactly 7,776 entries, and log2(7,776) ≈ 12.925. If every word is equally likely, each word contributes that much entropy, so six words contribute 6 × 12.925 ≈ 77.55 bits. The sampler rejects biased draws so the equal-probability assumption actually holds; naive modulo reduction would make some words more likely and the advertised number would be wrong.

Are passphrases better than passwords?

A long random passphrase and a long random character password can both be strong; the advantage of a passphrase is that it is easier for a human to type and remember. Strength depends on entropy and on the site's rate limiting, not on word versus character appearance. Six EFF words is a sensible master-password floor, and a password manager should hold the rest.

Does capitalization add entropy?

Not here. The case options are applied after words are chosen, so an attacker who knows the style loses nothing. Only genuinely random choices add entropy: additional words, a larger list, or the optional rejection-sampled digit (3.32 bits). The tool says this explicitly next to the capitalization control.

Can I reproduce a passphrase later?

Yes with the seed field: the same seed, configuration and cursor position regenerate the same candidate. That is useful for demos and tests, but it makes the phrase predictable to anyone who knows those inputs — never use seeded output as a real secret. Each Generate press advances the cursor so a fixed seed still gives fresh candidates.

References & standards