Password Generator
Generate strong random passwords or passphrases from the EFF wordlist. Set the length and character types, see the entropy, and make up to 100 at once.
Generating…
Passwords are generated in your browser and are not sent to our server.
01 · Definition
What is a password generator?
A password generator creates passwords from random numbers instead of human choices, so they contain no names, dates or keyboard patterns for an attacker to guess. Its strength is measured in bits of entropy: each extra bit doubles the number of guesses needed. This one runs in your browser and uses the Web Crypto API as its randomness source.
02 · Overview
How the Password Generator works
The generator has two modes. Random passwords are 4 to 64 characters drawn from the character types you select (A-Z, a-z, 0-9, symbols), with at least one of each selected type. Passphrases are 3 to 10 words drawn from the EFF large wordlist of 7,776 words. Both use crypto.getRandomValues with rejection sampling, so every character or word is equally likely. A new password appears whenever you change a setting, with its entropy in bits. Passwords are generated in your browser and are not sent to our server.
03 · Guide
Password entropy by length and character set
Entropy is the base-2 logarithm of the number of passwords the generator could have produced. The figures below are what this tool reports: they count only passwords that contain at least one character of every selected type, which is why they sit slightly under length × log2(character set size).
The symbol set is 25 characters: !@#$%^&*()-_=+[]{};:,.<>? With all four types selected the character set has 87 characters, or about 6.4 bits each.
The strength label uses one scale across this site: under 40 bits is very weak, 40 to 59 weak, 60 to 79 fair, 80 to 127 strong, and 128 or more very strong.
| Length | Lowercase only (26) | Letters and digits (62) | All four types (87) |
|---|---|---|---|
| 8 | 37.6 | 47.2 | 50.5 |
| 12 | 56.4 | 71.3 | 76.9 |
| 16 | 75.2 | 95.2 | 102.8 |
| 20 | 94.0 | 119.0 | 128.7 |
| 24 | 112.8 | 142.9 | 154.6 |
| 32 | 150.4 | 190.5 | 206.1 |
04 · Guide
Passphrase vs random password
A passphrase is a sequence of words chosen at random from a fixed list. This tool uses the EFF large wordlist, which has 7,776 words, so each word adds log2(7776) = 12.9 bits no matter which separator or capitalisation you choose. The EFF recommends six words, about 77 bits, for most uses.
A random password packs more entropy into fewer characters: 12 characters from all four types (76.9 bits) is about as strong as a six-word passphrase that runs to 40 or more characters. A passphrase is easier to type and to remember. Use a passphrase for something you type by hand, such as a password manager's master password or a disk encryption key, and a random password for anything a password manager fills in for you.
| Words | Bits of entropy | Label on this site |
|---|---|---|
| 4 | 51.7 | weak |
| 5 | 64.6 | fair |
| 6 | 77.5 | fair |
| 7 | 90.5 | strong |
| 8 | 103.4 | strong |
05 · Use cases
When to use the Password Generator
- 01
Create a strong password for a new account
- 02
Build a six-word passphrase for a password manager's master password
- 03
Generate 100 passwords at once for test fixtures
- 04
Make a letters-and-digits password for a system that rejects symbols
06 · Examples
Password Generator examples
Random, 20 characters, all four character types
ex 01MY)Wi6+kXPWp2Z%$+g{n
About 129 bits, labelled very strong. It contains at least one uppercase letter, lowercase letter, digit and symbol.
Passphrase, 6 words, hyphen separator
ex 02uranium-activator-release-stooge-mumbling-spouse
Six words from the EFF large wordlist: about 78 bits, labelled fair.
Random, 32 characters, letters and digits only
ex 030ahdNknVnrnNWQ2GpPeGGMGju48iK5fn
For systems that reject or truncate symbols. About 191 bits.
Passphrase, 7 words, space separator
ex 04impulsive level uncounted dimmer undone impatient sevenfold
About 90 bits, labelled strong, and typeable on a phone or a TV remote.
07 · FAQ
Password: frequently asked questions
Are these passwords safe to use?
Should I use a random password or a passphrase?
How many bits of entropy do I need?
How is the entropy calculated?
Should passwords still mix symbols and cases, and be changed regularly?
Does the password I generate leave my browser?
Which wordlist do passphrases use?
08 · Guides
Password guides
- Password vs Passphrase: Which Is Stronger?→
A random 12-character password and a six-word passphrase are about equally strong. Entropy tables for both, and what NIST SP 800-63B says about length.
09 · Reference
Specs and further reading
These are the primary sources this tool follows. Where a specification defines the behaviour, we link the specification, not a summary of it.
- SP 800-63B: Digital Identity Guidelines, Authentication and Authenticator Management
NIST. The 2025 edition (SP 800-63-4 suite): password length requirements, no composition rules, and no periodic password changes.
- EFF's New Wordlists for Random Passphrases
Electronic Frontier Foundation. Source of the 7,776-word list used in passphrase mode, with the 12.9 bits per word figure and the six-word recommendation.
- Password Storage Cheat Sheet
OWASP. How a service should hash a password once it receives it.
- Crypto.getRandomValues()
MDN Web Docs. The randomness source used instead of Math.random().
10 · More
Tools that pair with Password
PIN Generator
Generate random 4, 6 or 8-digit PINs. Optional filters leave out obvious patterns like 1234 and 0000, and PINs that read as dates or years.
API Key Generator
Generate random API keys and secrets with an optional prefix such as sk_test_. Choose base64url, alphanumeric, base32 or hex, 8 to 96 characters, up to 100 keys.
Hash Generator
Hash text or a file with MD5, SHA-1, SHA-256 or SHA-512, and compare it with an expected checksum. Create and check bcrypt password hashes.
Random Word Generator
Generate 1 to 50 random English words from a list of 7,776 common words. Filter by length (3 to 9 letters) and by first letter.