XKCD-Style Password Generator
Generates strong but memorable passwords using random common words in the XKCD style
- bravo-winter-pixel-field-504
- plume-maple-trout-lemon-301
- judge-orbit-bravo-apple-637
- anchor-bravo-joker-piano-900
- sweet-pearl-silver-umbra-950
Generated 5 items
See 3 examples
- Example 1
bravo-winter-pixel-field-504 plume-maple-trout-lemon-301 judge-orbit-bravo-apple-637 anchor-bravo-joker-piano-900 sweet-pearl-silver-umbra-950
- Example 2
pearl-rapid-cabin-dusty-212 cabin-rivet-eagle-bench-538 light-xenon-brave-whirl-982 marsh-joker-green-vicar-795 winter-horse-bloom-trout-583
- Example 3
karma-globe-scout-karma-660 thunder-pixel-vicar-storm-599 bench-maple-battery-piano-749 coast-thunder-axiom-yellow-160 ember-eagle-noble-judge-403
About this generator
This tool generates XKCD-style passphrases such as "maple-yellow-quest-optic-342" by chaining random common words — the method made famous by XKCD comic strip 936's "correct horse battery staple" example. Words come from a built-in 100-word list, so four words give 100 million combinations (about 27 bits) and the maximum of eight words plus the number reaches about 63 bits — without the visual noise of "Tr0ub4dor&3". You control the variables that actually matter. Set the word count (3 to 8; use eight for anything important, given the small word list), pick a separator that fits the target system — hyphen, dot, underscore, space, or none — and optionally append a random three-digit number to satisfy the digit requirements most sites enforce. Generate up to 20 at once and keep whichever phrase sticks.
How to use
- Set Number of words between 3 and 8 — use 8 for high-value accounts, since each word adds only about 6.6 bits from this 100-word list.
- Choose a separator that matches where you'll use the password — hyphens for most accounts, no separator for length-limited sites.
- Toggle 'Add random number' to Yes if the target site requires a digit in the password.
- Set the count to 5 or more so you have several options and can pick the phrase that sticks naturally in memory.
- Click Generate, read through the results aloud, and copy the one that feels most memorable to you.
Use Cases
- •Creating a master password for a Bitwarden or 1Password vault you must memorize
- •Setting a shared Wi-Fi password guests can type correctly on the first attempt
- •Generating a LUKS or VeraCrypt disk-encryption passphrase you need at every boot
- •Seeding a staging environment with realistic credential fixtures for Cypress login tests
- •Teaching a security workshop why passphrase length beats symbol-substitution complexity
Tips
- →Read generated phrases out loud — if you can say it as a quick sentence or mental image, you'll remember it far longer.
- →For an important account, generate 10+ eight-word passphrases and sleep on it; the one you still recall the next morning is the one to use.
- →Avoid setting word count below 4 — three words may fall short of entropy requirements on security-audited systems.
- →If a site rejects hyphens, switch the separator to underscore or none rather than shortening the word count to compensate.
- →When sharing a Wi-Fi password verbally, the hyphen separator makes it easy to spell out word-by-word without confusion.
- →Combine a 5-word passphrase with a hardware security key on your most critical accounts — the passphrase protects the key, not the account alone.
FAQ
are random word passwords actually as secure as random character passwords
They can be, but it depends on the word list and word count. This tool draws from a 100-word list, so four words give about 27 bits of entropy — fine for low-stakes use but not strong on their own; six to eight words (plus the optional number) push it much higher. The classic xkcd example assumes a ~2,000-word list (~44 bits for four words), so for important accounts add more words. Selection uses a cryptographically secure random source (crypto.getRandomValues), so the entropy is genuine.
does this generator send my passwords to a server
No. Everything runs in your browser — no inputs, no generated words, and no results leave your device. You can go offline and it still works. That said, avoid generating passwords on shared or public computers where screen-capture tools might be running.
which separator should I pick for xkcd passwords
Hyphens are the safest default: readable and accepted by almost every site and system. Use underscores when a system rejects hyphens as special characters. Skip the separator entirely only when a site enforces a strict character limit, since it saves characters at the cost of readability.
What is the famous xkcd password comic about?
xkcd comic #936, "Password Strength", argues that a passphrase of four common words (the famous "correct horse battery staple") is both easier to remember and harder to crack than a short string of random characters with substitutions like "Tr0ub4dor&3". This generator builds passwords in that style; just use enough words, since a longer passphrase is what makes the approach genuinely strong.
How many words should I use for a strong passphrase?
More words means exponentially more entropy, so for anything important favor the maximum of eight words and keep the optional number on. With this tool's 100-word list, four words give only about 27 bits and eight words plus the number about 63 bits; for vault or disk encryption, use a passphrase tool with a much larger word list. The generator lets you set the word count, so dial it up for high-value accounts.
You might also like
Popular tools from other categories that share themes with this one.