Generate strong, random passwords with tunable character classes.
Last updated
StrengthWeak0 bits
PasswordsRuns in your browser using window.crypto
Click Generate to produce passwords.
What is a password generator?
A password generator creates random passwords that are far harder to guess than human-made ones. Developers and learners use them for test accounts, admin panels, database credentials, dashboard sign-ups, CI secrets, and personal security practice.
The key idea is *entropy* — how unpredictable a password is. Longer, less predictable passwords are dramatically stronger, even when both look random to a human. A unique password per account, stored in a trusted password manager, removes most of the risk that comes with reused passwords.
A real password generator should pull randomness from a secure source — window.crypto.getRandomValues in the browser, secrets in Python, crypto.randomBytes in Node.js. Anything based on Math.random() or a simple time-seeded RNG is predictable enough to attack.
What you'll learn while generating passwords
Length usually matters more than clever substitutions like @ for a — a 20-character lowercase password beats a 10-character one with symbols.
Randomness must come from a cryptographically secure source like window.crypto, not from Math.random().
A unique password per account limits the blast radius if one website or database is compromised.
How to generate a strong password step by step
1
Choose your length
Aim for at least 16 characters for important accounts, 20+ for admin or root credentials. Longer beats every other tweak.
2
Pick character classes
Enable lowercase, uppercase, numbers, and symbols for the strongest result. If you'll dictate the password by voice or copy it across systems, you can disable symbols.
3
Exclude ambiguous characters (optional)
Turn on the option to skip O / 0 and l / 1 / I if the password might be read aloud or typed manually.
4
Generate and check the strength meter
The meter estimates how long it would take to brute-force the password. Anything in the strongest band is fine for personal accounts.
5
Save it in a password manager
Copy the password into a trusted password manager — never paste it into chat, email, or a sticky note. Don't reuse it for another account.
Password strength quick reference
Approximate brute-force time assuming 10 billion guesses per second — modern offline cracking. Use it as a rough guide when choosing length. Authoritative guidance: NIST SP 800-63B and the OWASP Authentication Cheat Sheet.
Length
Character set
Approximate strength
8
lower + digits (36 chars)
Cracked in seconds
10
lower + upper + digits (62)
Cracked in hours
12
lower + upper + digits + symbols (94)
Days to weeks
16
lower + upper + digits + symbols
Centuries
20
lower + upper + digits + symbols
Effectively unbreakable today
4 words
Random word passphrase (correct horse battery staple)
Centuries — easier to memorize
Password examples to try
Strong default for a regular account
Settings
Length: 20 · Lowercase: on · Uppercase: on · Numbers: on · Symbols: on
Sample output
B7$kP2wM!hG9eV4rT&xQ
A practical default for dashboards, web apps, and most personal accounts. 20 characters across all four classes is currently considered effectively unbreakable.
Length-only comparison
8 chars (weak)
f7Bk2pQz
24 chars (strong)
f7Bk2pQzM!eV9rT&hG3wXn$L
The shorter password uses the same character classes but is many orders of magnitude weaker. Length almost always wins.
Easy-to-read passphrase
Passphrase
lantern-vivid-comet-nimbus-quartz
Five random unrelated words is roughly as strong as a 16-character random password but much easier to type, say, and remember.
Common password mistakes
Reusing the same generated password across multiple accounts — a leak on one site cascades to all of them.
Choosing a short password because it has symbols, then assuming the symbols alone make it strong. Length is the bigger lever.
Saving production credentials in source code, screenshots, chat messages, or lesson notes — use environment variables and a secret manager.
Password Generator FAQ
How do I generate a strong password?
Use a password generator and pick a length of at least 16 characters with all four character classes (lowercase, uppercase, digits, symbols). Save the result directly into a password manager — don't memorize or type it manually.
What makes a password strong?
Length, randomness, and uniqueness. A long random password from a secure RNG, used on exactly one account, is the gold standard.
Should I use a password generator for every account?
Yes. Generated, unique passwords stored in a trusted password manager are the simplest and strongest defense against credential-stuffing attacks.
Are symbols required for a strong password?
Symbols help, but length and randomness matter more. A long random passphrase (tower-citrus-bronze-quay-pear) can be as strong as a shorter symbol-heavy password and easier to handle.
Is this password generator safe to use?
Yes — Coddy's generator runs entirely in your browser using window.crypto.getRandomValues. The password is generated locally and never sent to a server.
Can I use generated passwords in my own code?
Use environment variables, a secrets manager, or an encrypted vault. Don't hardcode real credentials in source files, even in private repositories.