The quick answer
A strong password is long, random and unique to one account. This generator builds passwords from a cryptographically secure random source on your own device — 16 characters by default, length and character sets fully under your control; click generate, and copy. Nothing is transmitted or stored; the password exists only in your browser until you copy it, and closing the tab erases it.
The single most important setting is length. A 12-character mixed password has about 78 bits of entropy — comfortable against online attacks but increasingly feasible for offline cracking rigs. 16 characters (roughly 103 bits) is the practical sweet spot for passwords you store in a manager, and 20+ for the master password itself.
How to generate a password
Set the length
16 is a good default; use 20+ for a password manager's master password or full-disk encryption.
Choose character sets
Uppercase, lowercase, numbers and symbols. More sets widen the alphabet; symbols are required by many services.
Exclude look-alikes (optional)
Removing I/l/1 and O/0 helps when a password must be typed or read aloud.
Generate and copy
Each click draws fresh randomness from the browser's cryptographic source. Regenerate as many times as you like.
Store it in a password manager
A unique password per account is the actual protection; reuse is how one breach becomes ten.
How strong is a password? The math, honestly
Password strength is measured in entropy — bits of unpredictability. For a random password it is length × log2(alphabet size). The common alphabets: lowercase only 26 characters (4.7 bits/char), mixed case 52 (5.7), mixed case + digits 62 (5.95), all printable ASCII 95 (6.57). Each additional bit doubles the work an attacker must do.
| Password | Length | Entropy (≈) | Offline crack estimate (fast rig) |
|---|---|---|---|
| password123 | 11 chars | ≈ 2 bits (not random) | Instantly — top-10 wordlist entry |
| Tr0ub4dor&3 | 11 chars | ≈ 28 bits if patterned | Minutes to hours |
| Random mixed-case + digits | 12 chars | ≈ 71 bits | Centuries at current consumer speeds |
| Random full ASCII | 16 chars | ≈ 105 bits | Longer than the age of the universe |
| Random full ASCII | 20 chars | ≈ 131 bits | Not practically crackable |
Two caveats keep this honest. First, these figures assume the password is truly random; humans substitute predictable patterns (a for @, 3 for e, a trailing year) that collapse entropy far below the naive calculation. Second, "centuries" applies to offline attacks against a properly hashed database; a password reused on a breached site is compromised instantly regardless of entropy. Length plus uniqueness plus a manager beats memorized cleverness.
The modern rules agree: NIST's SP 800-63B guidance says to allow at least 64 characters, to stop forcing arbitrary composition rules and periodic rotation, and to screen new passwords against known-breached lists. This generator follows that philosophy — length and randomness first, no forced rotation rituals.
Input
kX9#mQ2$vL7!pR4z (16 chars, full ASCII)
Output
Entropy ≈ 16 × 6.57 ≈ 105 bits — suitable for any account, stored in a manager
Passphrases: the memorable alternative
For passwords you must remember, a passphrase of four to six random common words beats a mangled 10-character string: "correct-horse-battery-staple" style. Five words drawn from a 7,776-word list (Diceware) carry about 64 bits — memorable, typeable on a phone keyboard, and stronger than most passwords people invent. The catch: the words must be genuinely random (dice or a generator), not a phrase you'd say.
Mistakes that undo a strong password
- Reusing one strong password across sites — the #1 real-world cause of account takeover. Give every account its own.
- Tweaking one character when a site forces a change (Winter2024 → Winter2025) — crackers try exactly this pattern.
- Storing passwords in a plaintext file named passwords.txt on the desktop.
- Using personal data (birthdays, pets, team names) in any form — social media makes these guessable.
- Trusting an online generator over HTTPS you don't control with your banking password. This one runs locally; you can pull your network cable and it still works.
- Believing a site's "very strong" meter — meters measure length and variety, not whether the string is in a breach list.
Frequently asked questions
What makes a password strong?
Length, randomness and uniqueness. A strong password is at least 12–16 random characters from a wide alphabet — or a passphrase of 4–6 random words — used on exactly one account and stored in a password manager.
How long should a password be?
16 random characters is a solid default for accounts saved in a password manager; 20+ for a master password or disk encryption. Length adds entropy exponentially, so every extra character matters more than extra symbol gymnastics.
Are passwords generated here ever uploaded?
No. The generator uses the browser's crypto.getRandomValues and runs entirely on your device. Nothing is transmitted, logged or stored — it works with your network disconnected.
Is Math.random good enough for passwords?
No. Math.random is a predictable pseudo-random generator. Passwords require a cryptographic source such as crypto.getRandomValues, which is what this tool uses.
What is a passphrase and why is it stronger?
A passphrase is several random common words, like cloud-trombone-mustard-lantern. Five random words from a 7,776-word list give about 64 bits of entropy — strong, memorable and easy to type, as long as the words are truly random and not a meaningful phrase.
Should I change my passwords regularly?
Current NIST guidance says no automatic rotation for user-chosen passwords — change immediately only if a password may have leaked. Forced rotation leads to weak predictable tweaks like Spring2024 → Summer2024.
Why do sites still ask for special characters?
Habit and legacy policy. Composition rules mostly produce predictable substitutions (a→@, e→3). Length and breach-list screening protect better, which is why NIST SP 800-63B deprecated strict composition rules.
Sources and further reading
Sources and further reading
- NIST SP 800-63B — Digital Identity Guidelines: Authentication and Lifecycle Management(pages.nist.gov)
- MDN Web Docs — Crypto.getRandomValues (cryptographically secure randomness)(developer.mozilla.org)
- OWASP Authentication Cheat Sheet(cheatsheetseries.owasp.org)
We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.