Security

Passphrase generator

Create memorable diceware-style passphrases: several random words picked with cryptographic randomness. Easy to remember, very hard to crack. With real entropy shown.

Instant🔒In your browserNo signup
Live
8

🔒 Everything is generated in your browser with cryptographic randomness. Nothing is sent to any server.

Why a word passphrase beats a "complex" password

For years we were told to build passwords like Tr0ub4dor&3: short, with symbols and substitutions. The problem is they are hard for humans to remember and easy for machines to crack. A passphrase flips that logic: it uses several real words chosen at random, like sky-dog-table-wind. It is long (which is what matters for security) and memorable (which is what matters for you).

The technical key is entropy: how many possible combinations exist. Four random words from a list of 256 give 256⁴ ≈ 4.3 billion combinations. Decorations like swapping an a for an @ add very little entropy, because attackers know those tricks and try them first.

The famous "correct horse battery staple"

The idea went mainstream with the webcomic XKCD #936, titled Password Strength. It compares Tr0ub4dor&3 (about 28 bits of entropy, hard to remember) against correct horse battery staple (four common words, about 44 bits, easy to remember). The punchline that stuck: "Through 20 years of effort, we've successfully trained everyone to use passwords that are hard for humans to remember, but easy for computers to guess." This tool generates exactly that kind of passphrase, with real cryptographic randomness.

What diceware is

Diceware is a method published in 1995 by Arnold Reinhold. You roll five dice, note the result (say 3-1-6-2-4) and look that combination up in a numbered word list. You repeat for every word you want. The beauty is that each word is chosen with true physical randomness, not something that just "looks random". This generator replaces the dice with crypto.getRandomValues(), the browser's cryptographic randomness source, which is the recommended one for anything security-related.

How we calculate entropy

The formula is direct. If the list has N words and you pick k words at random (with repetition allowed), the entropy in bits is:

bits = k × log2(N)

With our 256-word list, log2(256) = 8, so each word adds exactly 8 bits. Turning on "append a number" adds about 3.3 bits (one digit 0–9). Capitalizing every word adds no entropy because it is a fixed, predictable transformation. The number shown reflects only genuinely random choices.

When to use more words

This tool uses a compact 256-word list, so we recommend 8 words (64 bits) for a real password. Four words provide only 32 bits and are useful as a demonstration, not as a key. For an especially critical master passphrase, prefer a larger Diceware list or add more words with another audited tool. And remember the golden rule: a different passphrase per account.

Reference: words and entropy

With a 256-word list (log2 = 8 bits per word), no extras:

WordsCombinationsEntropyLevel
3256³ ≈ 16.7 million24 bitsWeak
4256⁴ ≈ 4.3 billion32 bitsWeak
5256⁵ ≈ 1.1 trillion40 bitsWeak
6256⁶ ≈ 281 trillion48 bitsLimited
7256⁷ ≈ 72 quadrillion56 bitsModerate
8256⁸ ≈ 1.8 × 10¹⁹64 bitsAdequate

Crack times assume a fast attacker trying 100 billion guesses per second (modern hardware against fast hashes). With slow, well-designed hashes the real time is much longer.

FAQ

What is a passphrase?

A password made of several random words, like "sky-dog-table-wind": easy to remember and hard to guess because it is long.

Why is it safer than "P@ssw0rd!"?

Because it has more entropy (more possible combinations) and is easier to remember. Symbol tricks add little entropy since attackers already know them.

What is diceware?

A 1995 method for building passphrases by rolling dice and looking each result up in a word list. Here we use crypto.getRandomValues instead of dice.

How many words should I use?

With this compact list, use 8 words to reach 64 bits. Four words provide only 32 bits and are not recommended as a real password.

Are my passphrases sent anywhere?

No. Everything is computed in your browser with the crypto API; the passphrase never leaves your device.

What is entropy in bits?

It measures the password's uncertainty. With our 256-word list, each word adds 8 bits; 4 words is 32 bits.

Should I add a number or capitals?

It helps a bit, especially when a site requires it. But adding another word helps far more than the decorations.

Can I reuse the same passphrase?

You should not: if one leaks, all are exposed. Use a different passphrase per account, ideally in a password manager.

Was this generator useful?