How to use the generator
A new password appears as soon as the page loads. Use the Password tab for a random string of characters, or the Passphrase tab for a sequence of random words. Change any option and a fresh value is generated immediately; press Generate new (or Ctrl/⌘ + Enter) for another. Copy places it on your clipboard, ready to paste into a sign-up form or your password manager. If someone can see your screen, press Hide to mask it.
Need several at once, for example when setting up accounts for a team? Choose a number from How many and each extra password appears in a list with its own copy button.
Password or passphrase: which should you use?
Both are strong when generated randomly; they suit different situations.
- Random passwords pack the most strength into the fewest characters. A 20-character password using upper and lower case letters, digits and symbols has about 128 bits of entropy. They are ideal for anything stored in a password manager, where you never type them yourself.
- Passphrases such as
canyon-plank-unbent-sprout-reflexare much easier to remember and to type on a phone or TV remote. Each word from the 7,776-word list adds about 12.9 bits, so five words give roughly 64 bits and six words about 78 bits. Use them for the few secrets you must remember: your password manager’s master password, your computer login, or a full-disk encryption key.
What “bits of entropy” means
Entropy measures how many possibilities an attacker would have to try. Each extra bit doubles that number. A password chosen at random from a pool of N characters with length L has L × log2(N) bits. For example, 12 characters from the 88-character pool gives 12 × 6.46 ≈ 77.5 bits, while 16 lowercase letters gives 16 × 4.7 ≈ 75 bits. Length matters more than complexity: adding characters increases strength faster than adding symbol types.
The meter grades results roughly as follows:
| Entropy | Rating | Suitable for |
|---|---|---|
| under 40 bits | Very weak | Nothing important |
| 40–59 bits | Weak | Low-value accounts protected by rate limiting |
| 60–79 bits | Good | Most online accounts |
| 80–99 bits | Strong | Email, banking, master passwords |
| 100+ bits | Very strong | Encryption keys and anything long-lived |
The “time to guess” figure assumes an attacker has stolen a password database and can test ten billion guesses per second, a realistic speed for modern GPUs against fast, unsalted hashes. Websites that store passwords properly with slow algorithms such as bcrypt or Argon2 are far harder to attack, and online login forms are slower still, so the estimate is deliberately pessimistic.
Important: entropy only describes passwords that are randomly generated, like the ones here. A password you invent yourself, such as Summer2024!, might look complex but follows patterns attackers try first, so its real strength is far lower than its length suggests.
How the randomness works
KeySmith uses crypto.getRandomValues, the browser’s cryptographically secure pseudo-random number generator, seeded by your operating system. It does not use Math.random(), which is predictable and unsuitable for secrets. Each character or word is chosen with rejection sampling: random numbers that would make some characters slightly more likely than others are thrown away and redrawn, so every option has exactly the same probability. When “at least one of each type” is enabled, one character from each selected group is placed first and the final password is shuffled with a secure Fisher–Yates shuffle, so the guaranteed characters do not sit in predictable positions.
Practical tips
- Use a different password for every site. Reuse is the main way accounts get taken over: when one service leaks its database, attackers try the same email and password everywhere else.
- Store them in a password manager. Built-in managers in Apple, Google and Microsoft accounts, or dedicated apps, can fill unique passwords for you, so you only need to remember one strong passphrase.
- Turn on two-factor authentication for email, banking and social accounts. Even a perfect password can be phished; a second factor stops most of those attacks.
- Dealing with strict rules. Some sites reject certain symbols or cap the length. Use Exclude these characters to remove the symbols they reject, or switch symbols off and add length to compensate.
- Reading passwords aloud or from paper? Tick Avoid look-alikes to remove characters such as I, l, 1, O and 0 that are easily confused.
- Do not modify a generated password to make it “more memorable”. Changing it by hand reintroduces human patterns. Pick a passphrase instead.
- Change a password when there is a reason, such as a breach notification or suspected compromise. Current NIST guidance (SP 800-63B) no longer recommends routine forced changes for strong, unique passwords.
Common password myths
- “Swapping letters for symbols makes it strong.” Replacing a with @ or o with 0 is one of the first tricks cracking tools try.
P@ssw0rdis still one of the most commonly breached passwords. - “A long password is enough even if I reuse it.” Strength does not protect you when another site leaks the password in plain text. Uniqueness matters as much as length.
- “Password managers are risky because everything is in one place.” Reputable managers encrypt your vault with a key derived from your master passphrase, on your own device. For most people that is far safer than reusing a handful of memorable passwords.
- “Security questions are a backup.” Answers such as your first school or pet’s name are often public. Treat them like passwords: generate a random answer and store it in your manager.
Examples
Here is what different settings produce (these examples are public, so do not use them):
- 16 characters, all types:
q7#Rk]m2Vz!eT9p_— about 103 bits. - 24 characters, letters and digits only:
hW4tN8qLz2YbR6vKm3XcP9dS— about 143 bits. - Five-word passphrase:
gravy-tumble-oxford-mutt-plaza— about 65 bits. - Six capitalised words with a digit:
Ruby.Sprawl.Quilt7.Elbow.Widget.Mosaic— about 83 bits.
Frequently asked questions
Are the generated passwords sent to your server?
No. They are created by JavaScript in your browser using crypto.getRandomValues and exist only on your screen and clipboard. Nothing is transmitted, logged or saved, and the generator works offline once the page has loaded.
How long should my password be?
For a random password with mixed character types, 16 characters or more is a strong choice for most accounts and 20+ for critical ones. For passphrases, use at least five words, or six or more for a master password.
Is a passphrase really as secure as a random password?
Yes, as long as the words are chosen randomly and you use enough of them. Six random words from the 7,776-word EFF list give about 78 bits of entropy, comparable to a 12-character random password with all character types, while being much easier to remember.
Why do you use the EFF wordlist?
The Electronic Frontier Foundation designed its large wordlist for passphrases: the words are common, easy to spell, avoid offensive terms and have unique first three letters, which reduces typing mistakes. Its 7,776 entries also match five dice rolls, so the entropy is easy to calculate.
What does “avoid look-alikes” remove?
It removes characters that are easily confused when read or written down: uppercase I and O, lowercase l and o, the digits 1 and 0, plus the pipe, backtick and quote characters. This slightly reduces entropy per character, so consider adding a character or two of length.
How accurate is the time-to-crack estimate?
It is a deliberately pessimistic estimate: the average time to find the password by trying half of all possibilities at ten billion guesses per second. It applies only to randomly generated passwords like the ones here, not to passwords people make up.
Should I write my passwords down?
A password manager is the best option. If you must write one down, such as an emergency copy of your master passphrase, keep the paper somewhere physically secure and not with the device it unlocks.