Generate strong, random passwords
Choose the length and character types and your password appears instantly. Creating many accounts? Generate up to 500 at once.
How to use
- Choose a length. 16 characters is a good starting point for everyday accounts.
- Tick the character types: uppercase, lowercase, digits, symbols. At least one of each is guaranteed.
- If you'll be typing the password by hand, turn on exclude similar characters so 0/O and 1/l can't be confused.
- Click the password to copy it. For bulk, raise the count — up to 500 at once — and download them as TXT.
How the passwords are generated
Your passwords come from the browser's cryptographic randomness source (crypto.getRandomValues), which draws on the operating system's secure random number generator. It is not Math.random, the function web pages usually reach for: that one is fast but its output is predictable, which makes it unfit for passwords.
Modulo bias, and why it matters
Taking a random number and reducing it with a remainder (%) to the size of the character list is the easy route — but it picks the first characters in the list more often than the rest. That's modulo bias, and it quietly lowers a password's real strength. This tool uses rejection sampling instead: a number that falls outside the clean range is thrown away and a new one drawn. The result is that every character is exactly equally likely.
Passwords are generated entirely on your device. Nothing is sent to a server or stored — close the page and no trace is left.
How long is long enough?
A password's strength is measured in entropy: how many bits of guessing space it has. Each bit doubles the number of attempts needed. That's the entropy figure the tool shows.
| Length | Character set | Entropy | Brute force (offline, a trillion guesses per second) |
|---|---|---|---|
| 8 | letters + digits | ~48 bits | Minutes |
| 12 | letters + digits | ~71 bits | Centuries |
| 16 | letters + digits | ~95 bits | Not feasible |
| 16 | letters + digits + symbols | ~103 bits | Not feasible |
| 20 | letters + digits + symbols | ~128 bits | Not feasible |
The times assume the worst case: an attacker running a leaked database on their own hardware. The figures are approximate and vary enormously with the hashing scheme — a well-built system (bcrypt, Argon2) slows that rate down by a factor of millions. Either way the arithmetic makes one thing plain: length beats complexity.
Practical advice: 16 characters for everyday accounts, 20 or more for critical ones such as email and banking.
Three rules for a good password
- Make it long. A plain 16-character password is far stronger than an 8-character one stuffed with symbols — the entropy table shows exactly that.
- Make it different on every account. Reuse is what does the real damage in a breach: a password leaked on one site gets tried everywhere else you used it. That's called credential stuffing.
- Keep it in a password manager. The only problem with random passwords is that you can't remember them, and this is the answer. You end up memorising one master password.
For the handful of passwords you genuinely must memorise — a master password, say — a passphrase beats random characters: five or six unrelated words ("brick-lantern-ivy-ledger-wind") are both memorable and very high entropy.
Generating passwords in bulk
You can produce up to 500 passwords at once. That saves time when setting up many accounts, preparing test data, or handing temporary passwords to a team.
- Download them as TXT and match each password to its account in your own sheet.
- Keep that file safe. A plaintext password list hands those accounts to anyone who sees it — delete it when you're done, or move the entries into a password manager.
- To tidy account lines, see the account parser; to clean a list, the text tools.
- If you need a password's digest, the hash generator will do it.
Four pieces of advice that no longer hold
"Change your password every three months"
Forced rotation pushes people into predictable patterns like Password1! → Password2!. Security agencies have walked this advice back: change a password when there's reason to think it leaked, not on a timer.
"Swap a for @ and o for 0"
Cracking software has known substitutions like P@ssw0rd for decades, and dictionary attacks try them automatically. Real protection comes from randomness, not wordplay.
"Never write a password down"
That advice predates the internet. The threat today isn't the note on your desk, it's automated remote guessing. Using a password manager is far safer than reusing one weak password everywhere.
"Nobody will guess it if I mix in my birthday"
Personal details sit at the top of every guessing list. Combinations of a name, a birth year, a team and a phone number are already in off-the-shelf dictionaries.
Glossary
- Entropy
- A measure in bits of how unpredictable a password is. Each extra bit doubles the possibilities to try.
- crypto.getRandomValues
- The browser's cryptographic random number generator. This tool builds passwords with it.
- Modulo bias
- Some characters being picked more often when a random number is narrowed with a remainder. Rejection sampling avoids it.
- Credential stuffing
- Trying an email and password leaked from one site automatically on others. This is the real danger of reuse.
- Passphrase
- A password made of several unrelated words: memorable, and high in entropy.
Frequently asked questions
How are the passwords generated?
Your browser's cryptographic random number generator (crypto.getRandomValues) is used, and every character type you select is guaranteed to appear at least once.
How long should my password be?
For most accounts, 16 characters with all character types is strong enough. For important accounts, go for 20 or more.
What is bulk generation for?
To give every account its own password when you create many accounts. Copy up to 500 passwords in one click or download them as a TXT file.
Are the generated passwords stored anywhere?
No. They're generated on your device from the browser's cryptographic randomness source, never sent to a server and never saved. Close the page and no trace is left.
Is 16 characters enough?
For everyday accounts, yes. A 16-character letters-and-digits password carries roughly 95 bits of entropy, which is not brute-forceable in practice. We'd suggest 20 for critical accounts like email and banking.
Can I use the same password on several accounts?
Don't. Reuse is what causes the real damage in a breach: a password exposed on one site gets tried automatically everywhere else you used it.
What does the exclude similar characters option do?
It removes easily confused characters like 0/O and 1/l/I. That helps when you'll type the password by hand, read it out, or write it down. It shortens the alphabet slightly without meaningfully weakening the password.
Where should I keep my passwords?
In a password manager. The only hard part about random passwords is remembering them, and a manager solves it — leaving you one master password to memorise.