Strong Password Generator: Random Passwords and Passphrases
Create strong random passwords or easy-to-type passphrases with a strength meter. Nothing is sent anywhere, and nothing is saved.
Loading tool…
How to use the Password Generator
- Pick Random password or Passphrase.
- Set the length and the character types (and any characters to exclude), or the number of words.
- Click Generate, check the strength meter and click Copy.
- Need many? Set the bulk count and use Copy all.
About this tool
A password's strength is measured in bits of entropy: the length multiplied by the log base 2 of the number of possible characters. A 16-character password using lowercase, uppercase, digits and symbols has roughly 100 bits, which is far beyond what any attacker can brute-force. Length matters much more than clever symbols, so prefer longer passwords.
Passphrases join random words, such as river-mint-coal-fern. This tool draws from the 7,772-word EFF Large Wordlist (the Electronic Frontier Foundation's list for dice-based passphrases, licensed CC BY 3.0 US), which gives about 12.9 bits per word. Five words plus the optional 2-digit number is therefore about 70 bits and six words is about 83 bits, a strength the tool rates Good or Strong. They are easy to type and remember, but if a password manager will remember it for you, a long random password is stronger per character.
Randomness comes from crypto.getRandomValues, your browser's cryptographically secure generator, with rejection sampling so no character is favoured. Each selected character type is guaranteed to appear at least once. Use a different password for every account, turn on two-factor authentication, and store them in a password manager rather than a note or spreadsheet.
Strength formula
Bits = length x log2(pool size)
Passphrase bits = words x log2(word list size) + 6 (if the 2-digit number is added)
Example: 16 characters from lowercase, uppercase, digits and symbols (89 characters) gives 16 x log2(89), about 103 bits. Five words from 7,772 gives 5 x 12.9, about 64.6 bits, plus 6 bits for the number.
Frequently asked questions
Is this password generator safe?
Yes. Passwords are created in your browser using the secure random generator built into it. They are never sent to a server or saved.
How long should a password be?
At least 14 characters for normal accounts and 20 or more for important ones such as email and banking, ideally stored in a password manager.
Passphrase or random password?
Use a passphrase for something you must type from memory, such as a device login or password manager master password. Use a random password for everything else.
What do look-alike characters mean?
Characters such as l, 1, I, O, 0, o, the pipe sign and quote marks are easy to confuse when reading aloud or from paper. Turn the option on to leave them out; this slightly lowers the strength shown, which accounts for the smaller character pool.
How is passphrase strength calculated?
Each word is chosen uniformly from 7,772 words, so it adds log2(7772), about 12.9 bits. The optional two digits (each 2 to 9) add 6 bits. The meter shows the sum, which assumes an attacker knows the word list and the method.
Can I stop certain characters appearing?
Yes. Type them in the Exclude box (for example { } [ ] / \) and they are removed from every character type. The strength meter updates for the smaller pool.
Need a custom tool or website?
IDM Valley builds web apps, calculators, AI chatbots and automation for businesses. Fixed prices, code in your name.









