Skip to content

Diceware Passphrase Generator

Generate diceware passphrases from an embedded 1,296-word list with crypto.getRandomValues, choosing word count, separator and capitalization.

Diceware Passphrase Generator

Generated passphrase

—
Entropy: 62.0 bitsStrength: StrongWordlist: 1296 words

Options

How entropy is calculated

Each word is chosen independently from a 1296-word list, contributing log2(1296) ≈ 10.34 bits. A passphrase of k words has k × 10.34 bits. Appending a random number and symbol adds about 9.6 bits.

Words are selected with crypto.getRandomValues and rejection sampling for an unbiased draw. Generation runs entirely in your browser.

Updated . Provided as is. Check the output before you rely on it in production.

How to use Diceware Passphrase Generator

  1. 1

    Set the word count

    Pick how many words to include, from 4 to 10. More words mean higher entropy and a longer passphrase to type.

  2. 2

    Choose the formatting

    Select a separator, optionally capitalize each word, and add a random number and symbol for sites that demand them.

  3. 3

    Generate and review

    The passphrase appears with its estimated entropy and a strength label. Press Regenerate for a fresh, independent draw.

  4. 4

    Copy and store it

    Copy the passphrase and save it in your password manager. Use a different passphrase for each account you protect.

Questions and answers

What is a diceware passphrase?
Diceware builds a passphrase from several words drawn at random from a fixed list, so it is long and memorable yet hard to guess. This generator draws from an embedded 1,296-word list with crypto.getRandomValues, lets you set word count, separator and capitalization, and shows the entropy in bits.
How is the randomness generated?
Words are selected with the browser's crypto.getRandomValues and rejection sampling, which removes the modulo bias a naive random number would introduce, so every word in the list is equally likely.
How many words should I use?
Six words from this 1296-word list gives roughly 62 bits of entropy, which is strong for everyday accounts. Use eight or more words for master passwords and other high-value secrets.
Is anything sent to a server?
No. The wordlist is embedded in the page and generation runs entirely in your browser, so the passphrases you create never leave your device or get logged anywhere.
What does the entropy number mean?
Entropy estimates how hard a passphrase is to brute-force, measured in bits. Each added word contributes about 10.3 bits, and every extra bit roughly doubles the guessing effort required.
For AI agents: how to call this tool

Machine-readable contract, endpoints and examples. Humans can ignore this section.

Best Path For Builders

Browser workflow

Runs instantly in the browser with private local processing and copy/export-ready output.

Browser Workflow

This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.

/diceware-generator/

For automation planning, fetch the canonical contract at /api/tool/diceware-generator.json.