ShieldX Toolly
Open a tool Donate
Home Home
Blog Blog
FAQ FAQ
Open a tool Donate
Live Tool

Passphrase Generator

EFF Diceware passphrases powered by crypto.getRandomValues(). 7,776 curated words, rejection-sampled selection, honest entropy math — zero server contact.

Generated Passphrase
Click generate to create a passphrase
Entropy
0 bits
Strength
—
Crack
—
Words
0
Number of Words 6
45678910
Separator
Capitalization
Using the EFF Large Word List — 7,776 words curated by the Electronic Frontier Foundation for Diceware passphrase generation.
Batch Generation
Session History (blurred — hover to reveal)
No passphrases generated yet
Features

Everything a passphrase generator should be

Most passphrase generators use Math.random() and a small word list. ShieldX uses the Web Crypto API and the full EFF Diceware list — with honest entropy math.

EFF Diceware word list

01

Uses the Electronic Frontier Foundation's curated list of 7,776 words — selected for memorability, unambiguity, and minimal profanity. The gold standard for passphrase generation.

7,776 wordsEFF-curatedMemorable

CSPRNG word selection

02

Every word is chosen using crypto.getRandomValues() with rejection sampling to eliminate modulo bias. No PRNG, no Math.random() — only OS-grade cryptographic randomness.

Web Crypto APIRejection sampling

Real entropy in bits

03

Entropy is calculated as log2(7776^wordCount) — the honest mathematical measure. 6 words = 77.5 bits, 7 words = 90.5 bits, 8 words = 103.4 bits. No heuristic green bars.

Honest math

Crack-time estimation

04

Entropy is translated into human-readable crack time using known GPU hash rates. 77 bits ≈ 25,000 years at 10^10 guesses/sec for offline attacks.

Offline attack model

Adjustable word count

05

Choose 4 to 10 words with a slider. 4 words (~51 bits) for everyday accounts, 6 words (~77 bits) for important credentials, 8+ words for critical secrets.

4–10 wordsSlider control

Custom separators

06

Join words with hyphens, spaces, dots, underscores, or a custom string. Or go separator-free with camelCase. Match any site's password policy without sacrificing entropy.

6 presetsCustom input

Capitalization control

07

Toggle between lowercase, Title Case, or UPPERCASE. Some sites require specific casing — adapt without re-generating or compromising randomness.

3 modes

Clipboard auto-clear

08

Copied passphrases are automatically purged from your clipboard after 30 seconds. No lingering sensitive data for shoulder-surfers or clipboard-reading malware.

30s auto-clear

Zero network traffic

09

Open DevTools and watch the Network tab stay completely empty. Generation happens in your tab — the word list is embedded, not fetched from a server.

100% client-sideNo telemetry

Batch generation

10

Generate up to 20 passphrases at once with identical settings. Perfect for team onboarding, service account setup, or rotating multiple credentials simultaneously.

1–20 at once

Session history

11

Recent passphrases are kept in a blurred session history — hover to reveal. Never lost between generations, never persisted to disk. Cleared when you close the tab.

Blurred preview10 items

Export as text

12

Download your generated passphrase as a plain text file for secure storage in a password manager or encrypted vault. No metadata, no formatting — just the passphrase.

Plain textNo metadata

Visibility toggle

13

Hide the passphrase with a single click — word tiles become masked dots. Prevents shoulder-surfing in public spaces. Toggle back instantly when you need to read it.

One-click mask

Spacebar to regenerate

14

Press the spacebar to instantly generate a new passphrase. No mouse needed — keep your hands on the keyboard and cycle through options until you find a memorable one.

Keyboard shortcut
How it works

From dice rolls to passphrase in three steps

Diceware was invented in 1995 by Arnold Reinhold. The EFF updated the word list in 2016. The cryptography is simple, proven, and older than most websites.

01

Choose your word count

Pick 4 to 10 words. More words means more entropy: each word adds ~12.9 bits (log2(7776)). 6 words gives 77 bits — strong enough for any account.

// Entropy = log2(wordListSize^wordCount)
7776 words × 4  = 51.7 bits
7776 words × 6  = 77.5 bits
7776 words × 8  = 103.4 bits
02

Pick a separator and style

Choose how words are joined: hyphens, spaces, dots, or custom. Toggle capitalization. The separator doesn't affect entropy — it's purely for readability and site compatibility.

// Separator options
hyphen     → correct-horse-battery-staple
space      → correct horse battery staple
camelCase  → correctHorseBatteryStaple
03

Generate and memorize

Click generate to produce a cryptographically random passphrase. The word tiles make it easy to visualize and memorize. Copy it to your password manager with auto-clear.

// CSPRNG with rejection sampling
const idx = unbiasedRandom(7776);
const word = WORDLIST[idx];
// → no modulo bias, OS-grade entropy
Use cases

Who needs a Diceware passphrase generator?

Anyone who needs to memorize a strong password. Passphrases are the sweet spot between security and human memory.

For individuals

Memorable passwords for daily life

Stop writing down impossible strings like "K7$mP9!nQw2". A 6-word passphrase like "correct horse battery staple prism ocean" is easier to remember, easier to type, and stronger than most random passwords.

  • Master password for your password manager
  • Email and banking account passwords
  • Wi-Fi and router admin credentials
  • Device encryption passphrases (FileVault, LUKS)
Example outputs
Email → 6 words, 77 bits
Banking → 7 words, 90 bits
Master → 8 words, 103 bits
For developers

Human-readable secrets for systems

Generate memorable secrets for service accounts, API tokens, and shared credentials. Passphrases are easier to communicate verbally and less prone to transcription errors than random strings.

  • Service account passphrases
  • Database encryption keys (wrapped)
  • CI/CD pipeline shared secrets
  • SSH key passphrases
Example outputs
Service → 6 words, 77 bits
CI/CD → 7 words, 90 bits
SSH → 8 words, 103 bits
For teams

Onboarding with strong defaults

Batch-generate passphrases for new team members or service accounts. Everyone starts with a strong, memorable credential instead of a weak password they'll change to something predictable.

  • New hire default credentials
  • Shared service account passwords
  • Emergency access passphrases
  • Backup authentication codes
Example outputs
Team → 5 words, 64 bits each
Shared → 7 words, 90 bits
Emergency → 8 words, 103 bits
Comparison

ShieldX vs. typical passphrase generators

Many "Diceware" generators cut corners. Here's what's actually under the hood.

Feature
ShieldX
Typical generators
Uses EFF Diceware word list
Yes
Sometimes
CSPRNG with rejection sampling
Yes
No
Real entropy calculation (bits)
Yes
No
Crack-time estimation
Yes
No
Clipboard auto-clear
Yes
No
No signup required
Yes
Sometimes
No server-side generation
Yes
No
Custom separators
Yes
Sometimes
Batch generation
Yes
No
Capitalization control
Yes
No
Best practices

Passphrase generation do's and don'ts

Generating a strong passphrase is step one. Using it correctly is just as important.

Do

Use at least 6 words for important accounts

6 words from the 7,776-word EFF list provide ~77 bits of entropy — sufficient for any online account. For password manager master passwords or encryption keys, use 8 words (103 bits).

6 words → 77.5 bits → ~25,000 years to crack offline
Do

Store passphrases in a password manager

Even memorable passphrases should be stored in a reputable manager like Bitwarden, 1Password, or KeePassXC. Human memory is fallible — don't risk lockout.

Do

Use unique passphrases for each account

A 6-word passphrase is strong, but reusing it across accounts means a single breach compromises everything. Generate a new one for each critical account.

Don't

Use fewer than 4 words

4 words (~52 bits) is the minimum for everyday accounts. 3 words (~39 bits) is crackable in days with modern GPU rigs. Never use fewer than 4 words for any real account.

Don't

Pick your own words manually

Humans are terrible at picking random words. We gravitate toward familiar words, patterns, and themes, dramatically reducing entropy. Always use the CSPRNG generator.

Tip

Length beats complexity — for humans too

A 6-word passphrase (77 bits, 30+ characters) is both stronger and more memorable than an 8-character random password (47 bits). The math favors length, and so does your brain.

Warning

Don't reuse EFF passphrases you've seen online

"correct horse battery staple" is famous from xkcd. Using it gives you zero entropy — attackers check known passphrases first. Always generate your own with CSPRNG.

FAQ

Frequently asked questions

Everything you might want to know about Diceware passphrases, the EFF word list, and browser-based cryptographic generation.

What is the EFF Diceware word list?

The Electronic Frontier Foundation published a curated list of 7,776 words specifically designed for passphrase generation. Each word corresponds to a unique 5-dice roll (6^5 = 7,776). The words were selected for memorability, unambiguity (no homophones), and minimal profanity. It's the gold standard for Diceware passphrases.

How is entropy calculated for passphrases?

Entropy = log2(wordListSize^wordCount). With 7,776 words, each word adds log2(7776) ≈ 12.9 bits. So 4 words = 51.7 bits, 6 words = 77.5 bits, 8 words = 103.4 bits. This is exact — not a heuristic. The separator and capitalization don't add entropy because they're predictable.

Are passphrases better than random passwords?

For human memorability, yes. A 6-word passphrase (77 bits) is both stronger and easier to remember than a 12-character random password (~78 bits with full charset). For stored credentials in a password manager, random passwords may be preferable since you don't need to remember them. Use passphrases when you need to memorize; use random passwords when you don't.

Is it safe to generate passphrases in a browser?

Yes. The Web Crypto API exposes crypto.getRandomValues(), which draws from your operating system's CSPRNG — the same source used for TLS handshakes. The word list is embedded in the page, so no network request is needed. Open DevTools and watch the Network tab stay empty.

What is rejection sampling and why does it matter?

When generating a random index into 7,776 words, using modulo (%) introduces a slight bias because 2^32 is not perfectly divisible by 7,776. Rejection sampling discards values that would cause bias, ensuring a perfectly uniform distribution. Without it, some words are slightly more likely to appear — a subtle weakness that compounds over many passphrases.

Does the separator affect security?

No. The separator (hyphen, space, dot, etc.) is a fixed string known to an attacker. It adds zero bits of entropy. Its only purpose is readability and compatibility with site password policies. Choose whatever separator the site accepts.

Can I use passphrases for password manager master passwords?

Absolutely — they're ideal for this. A master password must be memorized and typed frequently. A 7-word passphrase (90 bits) is strong enough to resist offline brute-force if your password manager uses a slow KDF (PBKDF2 with 600k+ iterations or Argon2id). Use 8+ words for maximum security.

Does ShieldX store or log my generated passphrases?

No. Generation happens entirely in your browser. No passphrase, no word indices, no metadata is ever sent to any server. The session history is in-memory only and is cleared when you close the tab. There is no backend to store anything.

Ready to generate memorable unbreakable passphrases?

You've got the tool — now put it to work. Explore our other security tools or read the guide on passphrase entropy to learn why words beat characters.

Browse all tools Read the guide