Most people do not lose an account because someone "hacked" them. They lose it because a password they used on a small site years ago leaked, and an attacker tried it on their email or bank. This is often called credential stuffing. It works because people reuse passwords.
The fix is boring but effective: a long, random, different password for every account. Humans are bad at making those up, so we use a generator. This post explains what makes a password strong, and how our Strong Password Generator works.
Is it safe to use an online generator?
It is a fair question. If a generator made your password on its own server, the owner could in theory log it. So you should know where the password is created.
Our generator makes the password in your browser. It uses window.crypto.getRandomValues(), which is built into browsers for secure random numbers. The page does not send the generated password to our server, and it is gone when you close or reload the tab.
You can test this yourself. Open the page, turn off your internet, and press the regenerate button. It will still work, because nothing needs the network. Like any website, our server keeps ordinary technical logs of page visits, but those logs do not contain the password you generated, because it never leaves your device.
Length matters more than symbols
Old rules asked for eight characters with one capital, one number and one symbol. That produced passwords like P@ssword1, which are hard to remember and easy to guess. Current NIST guidance puts length ahead of strict symbol rules.
Strength is measured in bits of entropy. Each extra bit doubles the number of guesses needed. For a random password, entropy is the length multiplied by log2 of the number of possible characters.
The table below assumes an attacker who can try 100 billion guesses per second against a fast, unsalted hash. Passwords stored with a slow method such as bcrypt are much harder to attack, so treat these as estimates.
- 8 digits only: about 26.6 bits. Gone in about a millisecond.
- 8 characters from a pool of 94: about 52 bits. Roughly 17 hours.
- 12 characters from a pool of 62 (letters and numbers): about 71 bits. Roughly 1,000 years.
- 16 characters from a pool of 94: about 105 bits. Around 11 trillion years.
The point is the jump. Going from 8 to 16 characters does not make a password twice as strong. It makes it astronomically stronger.
What the generator lets you choose
- Length: from 8 to 64 characters.
- Character sets: uppercase, lowercase, numbers and symbols, each on or off. Some websites still limit which characters they accept, so this helps.
- Strength meter: it shows the bits of entropy for your current settings and labels the result weak, fair or strong.
- Copy button: one click copies the password.
The tool does not make word-based passphrases, and it does not have a setting to hide look-alike characters. If you type a password by hand on a phone, choose a longer length and avoid reading it out letter by letter.
Why not Math.random()?
The Math.random() function in JavaScript is made to be fast, not secret, so its output can be predicted. The generator uses the browser's secure random source instead. It also avoids a small bias when picking characters, so every character in your set is equally likely.
Four habits to drop
- Seasonal changes. Changing
CompanySpring!toCompanySummer!adds almost nothing. Attackers try those patterns first. - Plain text files. A
passwords.txtfile on your desktop is easy to steal. Use a password manager. - Sharing in chat. Avoid sending passwords over WhatsApp or email. If you must share, use a manager's secure sharing feature.
- Skipping two-step login. A strong password can still be stolen by malware or a fake login page. Turn on two-step verification for your email and bank first.
A simple routine
- Install a password manager if you do not have one.
- Generate a 16 or more character password for each important account.
- Save it in the manager, not in a note.
- Turn on two-step login on your email, bank and social accounts.
Related tools
If you build websites, our Bcrypt Generator creates and checks bcrypt hashes. Please note that this tool sends what you type to our server over HTTPS to do the hashing, so never enter a real password from a live account. Use test values only. The JWT Debugger decodes JSON Web Tokens.
No password is unbreakable in every situation. A long random password plus two-step login makes you a much harder target than most people, and that is a realistic goal.
Comments
No comments yet — be the first to share your thoughts.