Security · Passwords

Diceware passphrase.

A random word-based passphrase you can actually type on a smart TV remote or read over the phone. Pick 3 to 10 words, the separator, capitals, an optional random number, and generate up to 10 passphrases at once, free.

How to generate a Diceware passphrase

  1. Choose the number of words, from 3 to 10. The default is 10 words.
  2. Choose the separator and whether to capitalise each word or add a random number.
  3. Choose how many passphrases to make, up to 10, and press Generate passphrase.
  4. Use the first result without choosing words or rerolling for a preferred phrase.

Why words beat symbols

Each word is chosen independently from a list of 339 words using the browser's cryptographic random number generator. Five words provide about 42 bits; the default 10 words provide about 84 bits when separated. Shorter phrases offer less protection against offline guessing. For higher-value secrets, consider more randomly chosen words from a larger Diceware or EFF list.

The security comes from randomness, not the words themselves. Do not choose words yourself or reroll until you find a phrase that looks nice. With no separator, ambiguous word boundaries can reduce entropy.

Generated on your device

The generator runs in your browser, inside an isolated frame that has no network access. Generated words are not sent to or stored on a server.

How it works

Included

3 to 10 words, five separator choices, capitalization, an optional random number, and up to 10 passphrases per click with one-click copy.

What Diceware is, and what this page does with it

Diceware is a method for building a passphrase from words chosen at random. In Arnold Reinhold's original scheme you roll five six-sided dice to pick each word from a list of 7,776 words, because 65 = 7,776. The security does not come from the words being obscure. It comes from each word being picked independently and uniformly, so an attacker who knows the method and the list still has to search every combination. This page applies the same idea in software: your browser's cryptographic random number generator (crypto.getRandomValues) picks each word from the built-in list, and nothing is sent or stored.

The honest part: this list is smaller than the classic lists

The list on this page has 339 words, not 7,776. The entropy of a random word is log2 of the list size, so each word here carries about 8.4 bits, against about 12.9 bits per word for the 7,776-word Diceware and EFF long lists. The result shows an estimate for your settings, rounded to whole bits. The difference matters when you choose a length:

The default is 10 words, about 84 bits with a separator. Five words give only about 42 bits and are a weak choice against offline guessing. For higher-value secrets, consider more randomly chosen words from the EFF or Diceware list linked under Sources. Read the entropy line, not just the word count.

Worked example

Suppose you generate eight words with a hyphen separator and capitals off, for instance acorn-lantern-signal-... (your words will differ). Eight words from 339 gives 8 × 8.405 = 67.2 bits, so there are about 267 equally likely passphrases. An attacker guessing, say, ten billion candidates per second against a fast offline hash would need on average half the space, 266.2 guesses, which works out to roughly 300 years. Take five words (42 bits) instead and the same rate finds it in an average of about four minutes. Those times are arithmetic, not predictions: the real guess rate depends on how the service stores your passphrase, and a slow, salted hash changes the picture completely.

What each option changes

Common mistakes

Who it is for, and what it does not cover

It suits anyone who needs a memorable master password or a passphrase that can be read over the phone. It does not store or test a passphrase, does not use physical dice, and does not use the EFF or Reinhold lists. To check a passphrase you already have, use the Password Strength Checker. To compute the bits for other word counts or list sizes, use the Password Entropy Calculator. For a character-based password, use the Password Generator.

Frequently asked questions

What is a Diceware passphrase?

A Diceware passphrase is a string of words picked at random from a fixed list, traditionally by rolling five dice per word against a list of 7,776 words. Because every word is chosen independently, the strength is the number of words times the bits per word. This page does the picking in your browser with a cryptographic random generator.

How many words should my passphrase have?

Reinhold's Diceware page recommends a minimum of six words for uses such as encryption programs and Wi-Fi, and more for high-value uses. EFF suggests six words for most applications. Those figures assume a 7,776-word list at about 12.9 bits per word. With the smaller list on this page, each word is worth about 8.4 bits, so you need about 10 words to reach the strength of six words from the large list.

Why does this tool use 339 words instead of 7,776?

A short built-in list keeps the page light and avoids shipping the full list over the network. The cost is fewer bits per word, which is why the tool estimates entropy for your settings and why you should use more words. If you need the full 12.9 bits per word, use dice with the EFF or Diceware list.

Is a diceware passphrase generated in a browser safe?

The words are chosen with the browser's cryptographic random number generator and never leave your device, so the generation step is sound. As with any generator, trust depends on the page code and your device. For the highest assurance, many people prefer physical dice and a printed word list.

Does capitalizing words or adding a number make it stronger?

Capitalizing every word adds no entropy, because the pattern is fixed and known. The optional random number from 0 to 99 adds about 6.6 bits. Adding a whole extra word adds about 8.4 bits here, so a longer passphrase beats cosmetic changes.

Can I pick the words I like from a batch of ten?

No, not without weakening it. Choosing your favourite from a batch means the passphrase is no longer a uniform random draw from the full list. Use the first one you generate, or generate a new set and use its first result.

What is the difference between a passphrase and a password?

A password is usually a short string of mixed characters. A passphrase is built from whole words, so it can be longer and easier to type and remember for the same strength. For accounts where you can use a password manager, a long random password is fine; for the few secrets you must remember, a passphrase is the better fit.

Sources

Advertisement
Advertisement