How to Generate a Secure Password
Choose password length and character types: uppercase, lowercase, numbers, and symbols.
Click Generate to create a cryptographically random password.
Click Copy and store it in a password manager — never in plain text files.
How strong is a generated password?
Strength comes from two things only: how long the password is and how many different characters each position could be. With all four boxes ticked, this generator draws from 88 characters — 26 capitals, 26 small letters, 10 digits and 26 symbols — which gives about 6.5 bits of randomness per character.
Number of possible passwords (all character types on)
| Length | Bits of randomness | Verdict |
|---|---|---|
| 8 | 52 | Too short for anything important |
| 12 | 78 | Acceptable minimum |
| 16 (default) | 103 | Strong; a good standard |
| 20 | 129 | More than any realistic attack can try |
| 32 | 207 | For keys and secrets that machines store |
- Length beats complexity. A 16-character password of small letters only (75 bits) is far stronger than an 8-character one with every symbol (52 bits). If a site forbids symbols, switch them off and add a few characters.
- Every extra character multiplies the work for an attacker by 88. Going from 12 to 16 characters makes guessing about 60 million times harder.
- The randomness comes from your browser's cryptographic generator (
crypto.getRandomValues), not from a formula that could be predicted. The password is created on your device and is not sent to or stored on our server.
Practical notes
- A character type can be missing by chance. The generator picks every position freely, so a short password may happen to contain no digit or no symbol. If a site insists on one of each, click Generate New until it does.
- Some sites reject certain symbols or cut passwords at 16 or 20 characters without saying so. If a new password does not work at the first login, that is the usual reason — generate one without symbols.
- Do not try to remember these. Random passwords belong in a password manager; you only memorise the one that unlocks it.
- One password per account. Reuse is how one leaked site turns into ten broken accounts.
More background, including two-factor authentication and passphrases, is in our password security guide.
Frequently Asked Questions
How long should my password be?
At least 16 characters for important accounts. For critical accounts (banking, email), consider 20+ characters.
Are special characters necessary?
They significantly increase security. However, a longer password with fewer character types can be equally secure — length matters more than complexity.
How does this generator create random passwords?
We use the Web Crypto API (crypto.getRandomValues), which provides cryptographically secure random numbers from your operating system.
Should I use a passphrase instead?
Passphrases need to be at least 4-5 random words (20+ characters) to match a 16-character random password. For most people, a password manager with random passwords is more practical.