How it works
The generator builds a character pool from the options you enable, then draws each character using the Web Crypto API, the same cryptographically secure random source browsers use for encryption. Strength is estimated from entropy: the number of bits of randomness in the password.
entropy (bits) = length × log₂(pool size)
< 40 bits weak · 40–60 fair · 60–80 strong · 80+ very strong
- Use 12–16+ characters with several character types for everyday accounts.
- Never reuse passwords, a manager lets you use a unique one everywhere.
- Nothing here is transmitted; the password exists only in your browser.
How strong is strong enough?
Strength comes mainly from length. Each extra character multiplies the number of possible passwords by the size of the character set, so entropy grows linearly with length:
Around 80 bits or more is out of reach of offline guessing attacks for the foreseeable future, which means at least 13 random characters from the full set, or 16 or more letters and digits. Use a different password for every account and store them in a password manager; the passwords here are created in your browser and are not sent anywhere.
How long would it take to crack?
Estimated time to try every possibility in an offline attack at 10 billion guesses per second, a realistic rate for a fast password-cracking rig against weakly hashed passwords:
Real attacks start with leaked passwords, dictionary words and common patterns, so a human-chosen password is far weaker than its length suggests. Random passwords like the ones generated here have no such shortcuts.
Passphrases
A passphrase of random words is easy to remember and type. With the Diceware list of 7,776 words, each word adds about 12.9 bits: five words give about 65 bits and six words about 78 bits.
Current best practice
- Length first: US NIST guidelines favor long passwords and passphrases over complex short ones.
- No forced changes: change a password only if there's a sign it has been compromised.
- Check for breaches: avoid any password that has appeared in a known data breach.
- Use a password manager so every account has a unique password.
- Turn on multi-factor authentication, ideally an authenticator app or passkey rather than SMS.
Frequently asked questions
Are the passwords secure?
Yes, generated locally with crypto.getRandomValues and never sent anywhere.
How long should a password be?
At least 12 to 16 random characters for important accounts. Length adds more strength than extra symbol types.
Are passphrases secure?
Yes, if the words are chosen randomly. Five or six random dictionary words give strength comparable to a long random password and are easier to type.
How long does it take to crack a 12-character password?
A truly random 12-character password using all printable characters (about 79 bits) would take millions of years to brute-force offline. A predictable 12-character password can fall in minutes to a dictionary attack.
Is a passphrase better than a password?
A passphrase of five or six randomly chosen words is as strong as a long random password and much easier to remember. Words must be random, not a quote or song lyric.