Free tool

Diceware Passphrase Generator

Generate secure, easy-to-remember passphrases by combining random words. 100% in your browser.

…
Estimated entropy: 69 bits2048 possible words
6

Between 3 and 30 words. Each word adds 11 bits.

Each word is chosen with crypto.getRandomValues (the browser's cryptographic random generator, not Math.random), from the BIP-39 English list of 2048 unique words. Nothing is generated or stored on any server.

Built by

Miguel Ángel Colorado Marin (MACM)

Full-Stack Developer · Guadalajara, España

I develop web apps, digital tools and full projects — from design to deployment.

Contact me

Inspired by the Diceware method, which builds phrases from words picked at random from a fixed list, this generator produces passphrases that are easier to remember and type than a string of symbols. It uses the 2048-word BIP-39 English list, not the 7776-word list of the original Diceware. Each word is picked with crypto.getRandomValues. You can adjust the number of words, the separator, the capital first letter and a final digit, and the entropy shown always matches the passphrase on screen.

Features

  • ✓Cryptographic randomness (crypto.getRandomValues)
  • ✓BIP-39 list of 2048 English words, no duplicates
  • ✓3 to 30 words, 11 bits per word
  • ✓Optional final digit (+3.32 bits) and capital first letter
  • ✓Entropy in bits of the passphrase on screen
  • ✓100% in browser, no uploads

How to generate a Diceware passphrase?

  1. 1

    Choose the number of words

    Between 3 and 30. Each word adds 11 bits; six give 66.

  2. 2

    Customize the format

    Separator, capital first letter and final digit. Only the digit changes the entropy (+3.32 bits).

  3. 3

    Press «Apply and generate»

    The indicator shows the bits of the passphrase on screen.

  4. 4

    Copy it and store it in a password manager

    Don't reuse it across multiple sites.

How each word is chosen

Each word is picked with crypto.getRandomValues(), the browser's cryptographic randomness source. The generator reads a 32-bit integer and turns it into an index in the list. With 2048 words no value needs to be discarded: 2048 divides 2^32 exactly, so every word has exactly the same probability.

The optional digit uses the same rejection method. Since 10 does not divide 2^32, the generator discards the values above the largest multiple of 10 that fits in 2^32: only 6 of the 4,294,967,296 possible values, so each digit from 0 to 9 is equally likely.

The list has 2048 unique words, between 3 and 8 letters long, with no repetitions. The first four letters of each word are enough to tell it apart from the others. It is the BIP-39 list, the standard seed-phrase wordlist of many cryptocurrency wallets; here it is used only as vocabulary.

How much entropy each choice adds

Each word adds log₂(2048) = 11 bits, an exact value. Without a digit, 3 words give 33 bits, 4 give 44, 5 give 55, 6 give 66, 8 give 88 and 10 give 110. The final digit adds log₂(10) ≈ 3.32 bits, so 6 words with a digit show 69 bits.

The capital first letter and the separator add no entropy: they are fixed transformations that do not change which words are picked.

The indicator is red below 60 bits, yellow from 60 to 79 and green from 80 bits.

The figure is the search space for an attacker who knows the method and the list. It is not an attack time: that depends on the service, its attempt limits and the hashing algorithm used to store the password.

How many words to choose

The control accepts 3 to 30 words. For an ordinary account, 6 words give 66 bits. For the master password of a password manager or a phrase used to encrypt files, go up to 8 words or more (88 bits).

Each extra word adds 11 bits; the maximum, 30 words, gives 330 bits.

What happens to your passphrase

Everything is calculated on the page itself. The passphrase is not saved in localStorage, does not appear in the URL and is not sent to any server. It disappears when you reload or close the page.

A passphrase generated here cannot be recovered later. If you lose it, generate a new one and update the account. Store it in a password manager as soon as you copy it.

Frequently asked questions

Is my passphrase generated or stored on any server?

No. It is generated with crypto.getRandomValues directly in your browser and is never sent or stored anywhere.

How many words do I need?

Each word adds 11 bits: six give 66, eight give 88 and ten give 110. For an ordinary account, six words give 66 bits; for the master password of a password manager, eight or more.

Why use words instead of random symbols?

A sequence of words is easier to remember and to type without mistakes than a string of symbols. As with any key, security depends on how many words you choose, not on how long the phrase looks.

Where does the word list come from?

It is the BIP-39 English list: 2048 unique words of 3 to 8 letters, with no duplicates, where the first four letters are enough to tell each word apart. It is not the 7776-word list of the original Diceware.

What do the final digit and the capital letter add?

The final digit adds 3.32 bits (log₂ 10), because it can be any digit from 0 to 9. The capital first letter adds no entropy: it only changes how the words are written.

Related tools

Embed Diceware Passphrase Generator on your site

Add Diceware Passphrase Generator to any web page with a simple iframe. Free, with attribution to miguelacm.es.

<iframe
  src="https://miguelacm.es/embed/diceware-generator?locale=en"
  width="100%"
  height="700"
  frameborder="0"
  allow="clipboard-write"
  title="Diceware Passphrase Generator — miguelacm.es"
></iframe>
View embed in new tab →