Password Generator
Create strong random passwords.
Options
Result
Nothing to build from. Turn on a character type, or remove some of the characters you left out.
A password generator that shows how strong it is
Make a strong password, passphrase or PIN in one click, see how hard it would be to crack, and check it has not already leaked. It all runs in your browser.
- Passwords, passphrases and PINs. Switch between a random password of up to 128 characters, a passphrase of 3 to 12 words, or a numeric PIN.
- Real strength, not a guess. Every result shows its entropy in bits and how long a fast offline attack would take, worked out from how it was actually made.
- Rules for fussy sites. Choose which character types to use, skip look-alikes such as I, l, 1, O and 0, start with a letter, ban repeats or leave out any characters a site rejects. Presets cover the common cases.
- Check against known leaks. One click checks a password against the Have I Been Pwned list. Only the first 5 characters of its SHA-1 hash are sent, so the password stays private.
- Make a batch. Generate up to 50 at once, hide them on screen, copy them all or download them as a text file.
Uses of a password generator
A random secret is better than one a person makes up. These are the most common times to reach for one.
- New accounts. Make a unique 16 to 20 character password for every account and save it in a password manager, so one leak never opens your other accounts.
- A master password you can remember. A six-word passphrase is strong and far easier to type and recall than a random string. It is a good fit for a password manager, disk encryption or a Wi-Fi network.
- Sites with odd rules. Use No symbols allowed when a site rejects punctuation, or add a number to a passphrase when a digit is required.
- Passwords you must read or type by hand. Turn on Skip look-alike characters for a Wi-Fi key on a router label or a code read out over the phone.
- Shared and temporary logins. Generate a batch of one-time passwords for new staff, test accounts or guest access, and download them as a list.
- Device and app PINs. Make a random PIN for a phone, SIM or door code. Avoid birthdays and patterns, which are the first thing an attacker tries.
- Secrets for development. Create a long random value for a database password, an API token or a local .env file. Use 32 or more characters for anything a server will check.
- Replacing a leaked password. If a site tells you your password was breached, make a new one here and run the leak check before you save it.
Password generator questions
Is this password generator safe?
Yes. Passwords are made in your browser using its secure random number source, and nothing is sent or stored. Even so, never use a password someone else sent you, and save yours in a password manager right away.
How long should a password be?
Use at least 16 characters for accounts and 20 or more if you can. Length matters more than complexity, and a manager remembers it for you. For something you must type from memory, use a passphrase of six or more words.
What is entropy?
Entropy measures how many guesses an attacker would need. Each bit doubles the number of possibilities. Around 60 bits is fair, 80 or more is strong, and 100 bits is far beyond any realistic attack.
Are passphrases as secure as passwords?
Yes, when the words are picked at random, as here. Each word from the 1,296-word list adds about 10.3 bits, so six words give about 62 bits and eight give about 83 bits. A phrase you make up yourself is much weaker.
Is the leak check private?
Yes. Your browser hashes the password, then sends only the first 5 characters of that hash to Have I Been Pwned. It returns every match for that prefix and your browser looks for the rest locally. A random password is almost never found, but a hit means you should pick another.
Does removing characters make it weaker?
Slightly, because there are fewer possible characters. Dropping look-alikes costs very little, and adding a few characters of length makes up for it. The strength shown already accounts for your choices.