Password Generator
Get a strong, random password in one click. Choose the length and the kinds of characters, then copy it into your password manager.
Loading the tool…
Generated on your device and never stored.
How to use it
- Set the length. 16 or more characters is a good minimum for important accounts.
- Choose which kinds of characters to include, and avoid look-alikes if you will ever type it by hand.
- Copy it and save it in your password manager.
Good to know
Passwords are made with your browser's built-in secure random generator. They are not saved, logged or sent anywhere.
Length matters most. Use a different password for every account, and turn on two-step sign-in where you can.
Guide by Kepler Oates · Updated
What this password generator is for
The weakest passwords are the ones people invent themselves, because people are predictable: names, dates, favorite words, a capital at the start and a "1!" at the end. Password-guessing software is built around exactly those habits. A generator removes the human pattern and gives you characters chosen purely at random.
Use it whenever you create a new account, change an old reused password, or need a strong Wi-Fi or admin password for a small business.
How it works
Your options
- Length: a slider from 8 to 64 characters. It starts at 20.
- Capital letters (A–Z): 26 characters.
- Small letters (a–z): 26 characters.
- Numbers (0–9): 10 characters.
- Symbols: 24 characters:
! @ # $ % ^ & * ( ) - _ = + [ ] { } ; : , . ? / - Avoid look-alikes: removes characters that are easy to mix up when reading or typing: capital I, small l, the digit 1, capital O, the digit 0, and small o.
A new password appears every time you change an option. The New password button makes another with the same settings, and Copy password copies it.
Where the randomness comes from
The tool uses your browser's built-in cryptographic random number generator (the Web Crypto crypto.getRandomValues function), the same kind of source security software relies on. It does not use the ordinary Math.random, which is not designed for security. Each character is picked so that every character in the pool is equally likely, with no subtle bias toward some characters.
The tool also makes sure your password contains at least one character from each kind you ticked, then shuffles the result so those guaranteed characters are not in predictable spots. Nothing is saved, logged or sent anywhere.
Password strength in plain words: entropy
The strength meter shows "bits of randomness", also called entropy. Here is what that means.
The pool is how many different characters each position could be. With all four kinds ticked, the pool is 26 + 26 + 10 + 24 = 86 characters. If every position is chosen at random, the number of possible passwords is:
pool size multiplied by itself once for each character, or pool^length.
Bits are just a more convenient way to write that huge number:
bits = length × log2(pool size)
log2(86) is about 6.43, so each character adds about 6.43 bits. Every extra bit doubles the number of possible passwords.
The meter uses these bands: under 50 bits is Weak, 50 to 74 is Fair, 75 to 99 is Strong, and 100 or more is Very strong. (Because every chosen kind is guaranteed to appear, the true figure is a hair lower than the number shown, but the difference is tiny.)
A worked example
With all four kinds of characters (pool of 86):
| Length | Bits (length × 6.43) | Meter |
|---|---|---|
| 8 | 8 × 6.43 ≈ 51 | Fair |
| 12 | 12 × 6.43 ≈ 77 | Strong |
| 16 | 16 × 6.43 ≈ 103 | Very strong |
| 20 | 20 × 6.43 ≈ 129 | Very strong |
To feel the difference, imagine an attacker who has stolen a password database and can test one trillion guesses per second, and must try every combination. The numbers below are simple arithmetic for that imagined scenario, not a prediction about any real attacker.
- 8 characters: 86^8 is about 2.99 quadrillion combinations. At a trillion per second, that is about 2,992 seconds, or roughly 50 minutes.
- 12 characters: 86^12 is about 1.64 × 10^23. That is about 1.64 × 10^11 seconds, or roughly 5,200 years.
- 16 characters: roughly 284 billion years.
Going from 8 to 12 characters did not make the password 50% stronger. It made it about 86^4, or 55 million, times stronger. That is why length matters most.
What about turning off kinds of characters? Small letters only gives a pool of 26, or about 4.70 bits per character. A 16-character lowercase password has 16 × 4.70 ≈ 75 bits, which the meter rates Strong. Ticking Avoid look-alikes with all four kinds shrinks the pool from 86 to 80 (6.32 bits per character), so a 20-character password drops from about 129 to about 126 bits. Both are small costs you can make up with a few more characters.
Practical uses
- Every online account: one unique generated password each, saved in a password manager.
- Your password manager's master password and your email: these protect everything else, so give them extra length. Your email account can reset most of your other passwords.
- Small business logins: shop admin, payment processor, domain registrar and website hosting.
- Wi-Fi: a long password with Avoid look-alikes ticked is easier to read off a card for guests.
Common mistakes
- Reusing a password. When one site leaks, attackers try the same email and password everywhere else. A strong password reused is still a weak setup.
- Tweaking a generated password to make it memorable. Adding your name or a year back in brings the human pattern back.
- Storing it in an unprotected note or a screenshot. Use a password manager instead.
- Relying on the password alone. Turn on two-step sign-in (an authenticator app or security key) wherever it is offered.
Tips
- Use 16 or more characters for important accounts. Your password manager does the remembering.
- Tick Avoid look-alikes for anything you will read aloud or type on a TV or game console.
- For the few passwords you must memorize, consider a passphrase of several random words. If each word is picked at random from a list of 7,776 words, each word adds about 12.9 bits, so six words give about 77 bits.
- Generate a fresh password whenever a service tells you it had a breach.
Frequently asked questions
How long should a password be?
For important accounts, 16 or more random characters is a sensible minimum, and longer costs you nothing if a password manager stores it. Length adds strength faster than anything else, because each extra random character multiplies the number of possible passwords by the pool size. Some sites cap length, so use the longest they allow.
What does bits of entropy mean for a password?
It measures how many possibilities an attacker would have to try, written as a power of 2. For a random password, bits equal the length times log2 of the number of possible characters. Each extra bit doubles the possibilities, so 80 bits is about a million times harder to guess than 60 bits.
Is it safe to use an online password generator?
It can be, if the password is made on your own device and never sent anywhere. This tool generates passwords inside your browser using its cryptographic random number generator and does not save, log or transmit them. As with any website, only use generators you trust, and copy the result straight into a password manager.
Are symbols or length more important?
Length usually matters more. Adding symbols raises the pool from 62 to 86 characters, which adds about 0.47 bits per character, while adding one more character adds over 6 bits. Symbols still help, so keep them on unless a site rejects them.
Why avoid look-alike characters?
Characters like capital I, small l and the digit 1, or capital O and the digit 0, are easy to confuse when you read a password off a screen or a card. Removing them prevents typing errors when you have to enter a password by hand. It shrinks the pool slightly, so add a character or two to make up the difference.
Should I use the same strong password on several sites?
No. If any one of those sites is breached, attackers can try that password on your other accounts. Use a different generated password for every account and keep them in a password manager.