Password Generator
Create a strong, random password in one click — long, unpredictable, and made with secure cryptographic randomness.
For important accounts, leave this blank. A name is predictable and does not count toward the strength estimate.
Privacy: this generator runs entirely in your browser using your device's secure random number generator. Passwords are never uploaded, saved, or sent anywhere.
Why Length Matters More Than Cleverness
Most people try to make passwords "clever" — swapping letters for numbers, like writing "P@ssw0rd" instead of "Password". The problem is that attackers know every trick. Password-cracking software tries the common substitutions first, so a clever-looking short password is often no stronger than a simple one. What actually stops an attacker is length, because every extra character multiplies the number of possible passwords.
Here is the maths. A password made of 8 lowercase letters has 26⁸ possible combinations — about 209 billion. That sounds like a lot, but a modern computer can try billions of guesses per second, so an 8-character lowercase password can fall in minutes. Add uppercase letters, numbers, and symbols, and an 8-character password has roughly 95⁸ combinations — about 6.6 quadrillion — which takes far longer. But go to 16 characters with the full set, and the number of combinations is 95¹⁶, a number so large that no computer on Earth could try them all in a human lifetime. That is why security experts now say: make it long first, and varied second. A 16-character random password is a good default for most accounts; for important accounts like email and banking, 20 characters or more is better.
This generator measures strength in bits of entropy — a count of how unpredictable the password is. Roughly, each character adds log₂ of the pool size in bits: about 4.7 bits per lowercase letter, 5.95 per mixed letter, 6.57 per full character set. A password with under 40 bits is weak, 40–60 is fair, 60–80 is good, and over 80 bits is strong. A 16-character password from the full set has about 105 bits — comfortably strong.
Password Best Practices
- Use a different password for every account. If one site is breached, the same password must not open your email, bank, or social accounts. A password manager makes this painless.
- Make it at least 16 characters for important accounts, and 12 as an absolute minimum anywhere.
- Use all four character types — upper, lower, digits, symbols — unless a site forbids some of them.
- Never reuse a password you have used before, and never base it on personal facts: your name, birthday, pet, or favourite team are the first things an attacker tries.
- Turn on two-factor authentication (2FA) wherever it is offered. Even if someone steals your password, they still cannot log in without your phone.
- Do not share passwords by email or chat. If you must share one, use a password manager's secure sharing feature.
- Change a password immediately if a service tells you there was a breach, or if you used the same password anywhere else.
Worked Example: Weak vs Strong
sunshine123 — a dictionary word plus a common number pattern. Crackable in seconds.Fair:
Tr4v3l!ng — 9 characters with substitutions, but built from a dictionary word. Crackable in hours.Strong:
9$mQz!vLp2#xRw7@k — 18 random characters from the full set, about 118 bits of entropy. Not crackable by brute force in any realistic timeframe.
Frequently Asked Questions
Yes, when the generator uses the browser's cryptographic random number generator — which this one does (crypto.getRandomValues). It never uses Math.random, which is predictable. And because everything runs locally in your tab, the password is never sent to any server. The only risk would be malware on your own device, which no website can protect you from.
16 characters is a solid default for most accounts. For your email, banking, and password manager itself, use 20 or more. Below 12 characters, even a fully random password is weaker than it should be, because the total number of combinations drops sharply.
Yes, if the site allows them. Symbols expand the character pool from 62 (letters + digits) to about 95, which adds roughly one bit of entropy per character. The gain is real but modest — length still matters more. If a site rejects symbols, a longer all-letter password is a fine substitute.
Ambiguous characters are ones that look alike in many fonts: the digit 0 and the letter O, the digit 1 and the letters l and I. Excluding them makes a password easier to read aloud or type from a printed note. It slightly reduces the character pool, so only use the option when you need to read or copy the password by eye.
Math.random is designed for games and animations, not security. Its output is predictable if an attacker can observe enough of it. crypto.getRandomValues uses the operating system's secure random source, which is designed to be unpredictable even to someone who knows how it works.
You don't have to — that is what password managers are for. Use a reputable password manager (many have good free plans), store the random password there, and remember one strong master password. Writing passwords in a notebook kept at home is a reasonable backup, but never store them in an unprotected file or email.
More free tools
- Privacy Policy — how we protect your privacy; your passwords never leave your browser.
- Application Pack — resize your photo and signature to exact pixels and KB for exam forms.
- Case Converter — change text to UPPERCASE, lowercase, Title Case and more.