Password Generator
Guide: How to Create a Strong Password (and Keep It Safe)
Nothing you enter or choose here leaves your device. This tool runs in your browser.
Picking the settings
The defaults are fine for most accounts, but each setting has a trade-off, and knowing it saves you from the "password rejected" message.
- Length. Longer is stronger, and length helps more than any other option. Sixteen is a good floor for ordinary accounts. Go to 24 or more for your email, your bank and your password manager, since you'll never type it by hand.
- Character types. Upper case, lower case, numbers and symbols all widen the pool. If a site refuses some symbols, turn symbols off and add four characters of length to make up for it.
- Exclude ambiguous. This drops characters like l, 1, I, O and 0. Use it if you'll ever read the password out loud or type it from a printout. It cuts the pool slightly, which is a tiny price.
- Passphrase mode. Random words joined by a separator. Pick this for a password you need to remember, such as the one that opens your password manager or signs you in to your laptop.
- Batch count. Generate several at once when you're setting up accounts or test users.
Password or passphrase?
| Password | Passphrase | |
|---|---|---|
| Looks like | k7#Qm2vL9xTe!4Rb | copper-lantern-tulip-orbit-fable |
| Easy to type | No | Yes |
| Easy to remember | No | Yes, after a few uses |
| Best for | Anything a manager fills in | The few you must type from memory |
| Typical length | 16 to 24 characters | 6 or more words |
What happens after you copy it
- Paste it into the site's password field.
- Save it in your password manager before you close the page. The tool doesn't keep it, so once the page is gone, so is the password.
- Check that the site accepted all of it. Some silently cut passwords at a maximum length, which means the saved version would no longer match.
- Turn on two-factor sign-in for the account.
Why it's safe to generate here
The page uses your browser's built-in secure random number source, the same one used for encryption keys. There's no server involved, so the password is never sent anywhere. Only settings such as the length are remembered on your device.
Not just for logins
- Wi-Fi passwords that guests can read off a QR code. Try the Wi-Fi QR code generator.
- Database and API secrets while you're building. Use the longest length and skip symbols that need escaping in config files.
- A throwaway password for a test account.
For more on why length wins and how sites should store passwords, read the guide to strong passwords, and see how stored passwords are protected with the bcrypt generator.
When a site pushes back
| The site says | What to do |
|---|---|
| Password too long | Lower the length to its limit. Anything over 12 still beats most choices. |
| Symbol not allowed | Turn symbols off and add four or five characters of length. |
| Must include a number and a symbol | Keep every character type on and generate again until the result has one of each. |
| Spaces not allowed | Choose a hyphen or no separator in passphrase mode. |
| Can't paste into the field | Paste into the address bar, copy again, or type a passphrase instead. |
Written by Akinrinmade Michael · Updated October 24, 2026 · General information, not professional advice
How to use
- 1Choose Password or Passphrase.
- 2Pick a length (16 characters or more) or a number of words (6 or more), and the options you want.
- 3Use the slider to generate several at once if you need a batch.
- 4Click Copy and save it in a password manager.
Frequently asked questions
Is this password generator safe?
Yes. Passwords are created in your browser using your device's cryptographically secure random number generator.
Are generated passwords stored or sent anywhere?
No. Passwords are never sent or saved. They exist only on this page until you close or refresh it. Only your settings, such as the length, are remembered on this device.
What is a passphrase, and is it as strong?
A passphrase is several random words, such as copper-lantern-tulip-orbit-fable. It is easier to type and remember. Each word adds about 9.5 bits of strength, so 6 or more words is a good choice, and the strength meter shows the estimate.
How long should my password be?
Use at least 16 characters for important accounts. Longer is stronger.
What does "exclude ambiguous characters" do?
It removes look-alike characters such as l, 1, I, O and 0 so the password is easier to read and type.
Read the guides
Learn how this works and how to get the most from it.
Security
How to Create a Strong Password (and Keep It Safe)
Why length beats complexity, how long a password should be, how passphrases work and how developers should store passwords.
4 min read
Security
How Password Encryption Works (AES) and When to Use It
What AES encryption does, why a password becomes a key, how to protect a message or file, and what you can't recover if you forget the password.
3 min read
Security
What Is a Hash Function? MD5, SHA-256 and Bcrypt Explained
Learn what hashing does, why the same input always gives the same hash, which algorithms are still safe, and why passwords need bcrypt.
3 min read
Security
How to Choose a Good Username (and Keep It Safe)
What makes a username memorable and safe, what personal details to leave out, and how to pair it with a strong password.
3 min read
Related tools
Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes and HMACs.
UUID & Random Number Generator
Generate secure UUIDs (v4, v7) and random numbers.
Base64 & URL Encoder / Decoder
Encode and decode Base64 and URL-encoded text instantly.
JWT Decoder
Decode a JSON Web Token and check its expiry and signature.