Password Generator
Choose a length and character set, then generate a random password.
Up to 1,000,000 characters. Review the settings before running.
Your result
How to use Password generator
- Enter the values you want to calculate and choose the relevant units or settings.
- Review the settings, then choose Run Password generator.
- Review the result, then use Copy result or a download link when available.
Useful next steps
How Password generator works
Choose a length and the character groups you want, and the generator builds a random password using your browser's cryptographically secure random source. Each character is drawn evenly from the combined set of uppercase letters, lowercase letters, digits and 22 symbols, 84 characters in all. If a password is missing any group you selected, it is thrown away and drawn again, so every selected group always appears. Length can be 4 to 256 characters, and the password is not saved or uploaded.
Before you start
Check the site's password rules first, such as maximum length and which symbols it accepts. If symbols cause problems, clear that option and add a few characters of length instead.
A worked example
With length 20 and all four groups on, one run produced $Gle86WWfNw#T]$z%1xy. From an 84 character set, a 20 character password has roughly 127 bits of entropy.
Continue your workflow: Passphrase generator, Wifi QR code, UUID generator.
Common questions
How long should a password be?
Longer is stronger. With all four character groups, each character adds about 6.4 bits of entropy, so a 16 character password has roughly 102 bits and a 20 character password about 127. The default of 20 is a sensible choice when you store passwords in a password manager.
Which symbols does the generator use?
The symbol group is ! @ # $ % ^ & * ( ) - _ = + [ ] { } : , . and ?. Some sites reject certain symbols. If yours does, turn off Symbols and generate again with a slightly longer length, or regenerate until the result fits the site's rules.
Why do I get an error with a short length?
The length must be a whole number from 4 to 256, and it must be at least the number of groups you selected so each group can appear. You also need at least one group checked. A blank or decimal length is rejected.
Is a random password better than a passphrase?
Both can be strong. A random password packs more entropy into fewer characters, which suits a password manager. A passphrase of random words is easier to type and remember. Whichever you use, make it unique for every account.