How to generate a strong password
- Choose random characters or a passphrase.
- Set the length. 16+ characters or 6+ words is strong for almost any account.
- Pick which character sets to include.
- Press Copy and paste it into the sign-up form or your password manager.
Features
- Uses crypto.getRandomValues with rejection sampling, so every character is equally likely
- Random-character mode with lowercase, uppercase, numbers and symbols
- Passphrase mode with a curated list of short, common words
- Hides look-alike characters (l, 1, O, 0) unless you allow them
- Live entropy estimate and strength meter
- Nothing is sent, logged or stored
Why this password generator is safe to use
A password generator is only as good as its randomness. Many simple generators use Math.random(), which is fast but predictable. This one uses crypto.getRandomValues(), the Web Crypto API that browsers use to create encryption keys. We also use rejection sampling so that every character is exactly as likely as every other, avoiding the small bias that a plain remainder operation introduces.
The password is created in your browser tab and never sent anywhere. It is not saved in local storage, cookies or logs. Close the tab and it is gone, unless you copied it into your password manager.
Choosing the right settings
Everyday accounts
16 random characters with all character sets ticked gives roughly 100 bits of entropy. That is far beyond what any attacker can brute-force, even if a site stores passwords badly.
Passwords you type often
Use passphrase mode with six or seven words. A phrase like Lamp-River-Quiz-Oak-Gold-42 is easy to type on a TV remote or phone keyboard and still strong. The word list avoids rare or easily misspelled words.
Sites with strict rules
Some sites reject certain symbols or cap length at 16 or 20. Untick Symbols, or lower the length, and generate again. The generator always includes at least one character from every set you tick, so you will not fail an “include a number” rule.
Random characters vs passphrase
| Random characters | Passphrase | |
|---|---|---|
| Strength per character | High | Lower |
| Easy to type and remember | No | Yes |
| Best for | Password manager entries | Master passwords, Wi-Fi, devices |
Common mistakes to avoid
- Reusing a password. Credential-stuffing attacks try leaked passwords on hundreds of other sites. Unique passwords stop that cold.
- Adding a pattern. Appending the site name or the year makes a “unique” password predictable.
- Storing passwords in a note or spreadsheet. Use a password manager, which encrypts them.
Want to check an existing password? Our password strength checker estimates crack time locally. Read more in how strong should a password be.
Frequently asked questions
Are passwords from this generator safe to use?
Yes. They are created in your browser with the Web Crypto random generator, the same source used for encryption keys. They are never sent over the network or stored.
How long should my password be?
For random characters, 16 or more is strong for everyday accounts and 20 or more for email, banking and your password manager. For passphrases, use at least six words.
Password or passphrase: which is better?
Both are strong at the default settings. Passphrases are easier to type on a phone or read aloud. Random characters reach the same strength in fewer characters.
What does entropy mean?
Entropy measures unpredictability in bits. Each extra bit doubles the number of guesses an attacker needs. Aim for 70 bits or more; the default settings give well over 100.
Why are some characters missing?
By default we skip characters that are easy to confuse, like lowercase l and the number 1, or capital O and zero. Tick “Allow look-alikes” to include them.
Should I reuse a strong password?
No. If one site is breached, a reused password unlocks every other account. Generate a new one for each site and keep them in a password manager.
Do I need symbols?
Not if the password is long. Length adds more strength than symbols. Keep symbols on if a site requires them.
Last updated