Password Generator
Generate secure random passwords or word-based passphrases. They are made on your device and never leave it.
Result
Generating on your device…
Entropy: 104.6 bits (strong)
How to use the password generator
Choose Password or Passphrase. For a password, set the length and the character types. For a passphrase, set the number of words and a separator. A new batch appears as soon as you change an option, and Generate again makes another. Use the copy button next to the one you want.
How it works
Randomness comes from crypto.getRandomValues, the browser’s cryptographically secure generator. To pick a character uniformly the tool uses rejection sampling, so no character is slightly more likely than another (the bias that a simple “random number modulo pool size” would add). If a password misses a selected character type, the whole password is drawn again, which keeps every valid password equally likely.
Entropy measures how hard the result is to guess. For a password drawn uniformly from N symbols with length L it is L × log₂(N). For a passphrase of W words from a list of 2,048 words it is W × 11 bits.
Worked example
Choosing all four character types gives a pool of 94 symbols. A 16-character password has 16 × log₂(94) = 16 × 6.5546 = 104.9 bits. Excluding look-alike characters shrinks the pool to 89 symbols, which is still about 103.6 bits. A four-word passphrase from the 2,048-word list is 4 × 11 = 44 bits.
Limits
- Strength labels are rule-of-thumb bands. Entropy only applies to the generated, unedited result.
- Some sites limit length or the allowed symbols. Turn off symbols if a site rejects them.
- The word list is a built-in list of common English words, chosen for easy typing. It is not a standard published list.
- Use a different password for every account, and enable two-factor authentication where you can.
Frequently asked questions
Are the passwords sent to a server or stored?
No. They are generated in your browser with the Web Crypto random number generator and exist only on this page. Nothing is transmitted, logged or saved, and a new password appears each time you generate or reload.
How long should a password be?
For online accounts, 14 to 16 random characters from a mixed set is strong. For a master password or disk encryption key, use a passphrase of six or more random words or a longer password. A password manager means you only need to remember one.
Are passphrases or random characters better?
Entropy decides. Five random words from a 2,048-word list give 55 bits and are easier to type and remember. A 16-character mixed password gives about 105 bits. Both are strong when chosen at random and not edited by hand.
Sources and methodology
Last reviewed 2026-12-04