A strong password is one an attacker can’t guess, and the only reliable way to get one is to let a computer pick it at random. People are bad at randomness: we choose words, dates and patterns that cracking tools try first. This generator draws every character from your browser’s cryptographic random number generator, so there is no pattern to find.
When to use it
- New accounts. Generate a fresh, unique password for every sign-up and store it in your password manager.
- After a breach. If a service tells you to reset your password, replace it with a new random one rather than a small variation of the old one.
- Wi-Fi and device setup. Create a long Wi-Fi key, a router admin password or a database password for a server.
- Shared and team logins. Bulk mode gives you a batch of temporary passwords to hand out, each different.
If you need a password you can remember and type easily, try a passphrase of several random words instead.
How to use the Strong Password Generator
- Drag the Length slider. For most accounts, 16 to 20 characters is plenty; for a password manager’s master password, go longer or use a passphrase.
- Tick the character types you want. If a site rejects symbols, untick Symbols; if you’ll type it on a TV remote, tick Avoid look-alikes.
- If a site bans specific characters, type them into Never use these characters.
- Click Copy and paste the password straight into the sign-up form or your password manager. Click New password for another.
- Need several? Pick 5, 10 or 25 from How many and use Copy all.
Features
- Uses
crypto.getRandomValues(), the same cryptographically secure random source browsers use for encryption keys — notMath.random(). - Rejection sampling removes “modulo bias”, so every allowed character is exactly equally likely.
- Guarantees at least one character from each type you selected, placed at a random position.
- Live strength meter showing entropy in bits and an estimated offline cracking time.
- Bulk mode for up to 25 passwords at once.
- Runs fully offline. Passwords exist only in this page’s memory until you copy them.
Frequently asked questions
Is it safe to generate a password on a website?
It is safe when the password is created on your device and never transmitted, which is how this tool works. You can confirm it by opening your browser’s Network tab: generating a password makes no requests. For extra assurance, load the page, disconnect from the internet, then generate.
How long should my password be?
With all four character types, 16 characters gives about 103 bits of entropy, which is far beyond what any attacker can brute-force. Use at least 12 for low-value accounts and 20 or more for email, banking and your password manager.
What does “bits of entropy” mean?
It measures how many guesses a random password would take to find. Each extra bit doubles the work. A 60-bit password needs about a quintillion guesses; an 80-bit password needs a million times more than that.
How is the crack time estimated?
We assume an attacker who has stolen a password database and can test ten billion guesses per second offline, and we show the time to search half of all possible passwords. Real attacks against well-protected sites are much slower.
Should I reuse a strong password on several sites?
No. If one site is breached, attackers try the same email and password everywhere else. Use a different generated password for each account and keep them in a password manager.
Written by Dewan Razib