Password Generator
Generate secure passwords
About Password Generator
Password Generator makes random passwords from the character types you check, or passphrases built from the EFF Large Wordlist (7,776 words), from 1 to 50 per click. Every character or word is drawn with crypto.getRandomValues, without the small bias of a plain modulo. Each checked type appears at least once in a password, and an option removes look-alike characters (0 O 1 l I |). After each click the page estimates the strength in bits from the length and the size of the alphabet or word list. Nothing is saved: the results disappear when you reload.
Example
Two runs of the page's generation code on October 5, 2026. Results are random each time, so never reuse these.
Settings
Password, Length: 16, all four types, Avoid look-alike characters Passphrase, Number of words: 6, Hyphen, Capitalize, Include a number
Generated
._]PrGBJ8M4ntD,m Strength: about 101 bits — excellent Reliant0-Prowess-Commerce-Unseated-Decal-Diagnosis Strength: about 83 bits — very strong
How to generate a strong password or passphrase
- 1Choose "Password" or "Passphrase" at the top.
- 2For a password, set "Length" and check "Uppercase", "Lowercase", "Numbers", and "Symbols"; for a passphrase, set "Number of words", "Word separator", "Capitalize", and "Include a number".
- 3Optionally check "Avoid look-alike characters" and enter a count in "How many".
- 4Click "Generate password" or "Generate passphrase", then "Copy"; when you made several, "Copy all" puts them all on the clipboard, one per line.
Formats and limits
- Password length
- 8 to 64 characters
- Passphrase
- 3 to 20 words from the EFF Large Wordlist (7,776 words), five separators or none, optional capitals and digit
- Symbols used
- !@#$%^&*()_+-=[]{}|;:,.<>?
- Results per click
- 1 to 50
- Strength labels
- Excellent from 100 bits, very strong from 80, strong from 60, fair from 45, weak below
- Bits, password
- 12 characters: 77, 16: 103, 20: 129 with all four types; 71, 95, 119 with letters and digits only
- Bits, passphrase
- 6 words: 77, 8: 103, 10: 129; about 6 more with "Include a number"
- Random source
- crypto.getRandomValues, one 32-bit value per character or word, rejection sampling instead of a plain modulo
Common uses
- A new account with composition rules
- A site asks for at least one capital letter, one digit, and one symbol. With the four types checked, every generated password already contains each of them, so none has to be fixed by hand, as long as the site accepts the symbols drawn.
- A Wi-Fi key that guests read from a card
- Check "Avoid look-alike characters" so nobody mistakes 0 for O or 1 for l when typing the key from paper; with all four types, 16 characters still give about 101 bits.
- A master password typed every day
- Choose "Passphrase", set 7 words and "Space" as the separator: about 90 bits from words you can picture, with no symbol to hunt for on a phone keyboard.
- Temporary passwords for a group
- An administrator setting up 20 accounts enters 20 in "How many" and gets 20 random passwords in the list box in one click, ready to paste into an import sheet.
Which tool to use
- UUID Generator: for an identifier that must be unique rather than secret, such as a database key: version 4 or 7 UUIDs, up to 1000 per click.
- Hash Generator: computes a fixed digest of text or a file, for example to check a download against its published SHA-256; it does not create passwords.
- Text Encryptor: when the secret is a whole message: it encrypts the text with AES-256-GCM under a password you choose, which can be one generated here.
Where your passwords are created
Passwords and passphrases are created in your browser with crypto.getRandomValues; they are never sent to our servers, logged, or stored. The word list is part of the site's code and loads the first time you generate a passphrase. Nothing is kept after a reload, so copy a password into your password manager before you leave.
Frequently asked questions
How many bits does a 6-word passphrase have?
77 bits: each word drawn from the 7,776-word list adds about 12.9 bits, and 8 words give 103. With "Include a number", one digit placed after one random word adds a few bits more, for example 83 in total for six words.
Does every password contain each type I checked?
Yes. A password missing one of the checked types is drawn again, so each selected type appears at least once, as sites with composition rules expect. Every password that qualifies stays equally likely.
What does Avoid look-alike characters remove?
6 characters: zero, capital O, one, lowercase l, capital I, and the vertical bar, which are easy to confuse in many fonts. The alphabet gets smaller, so the strength shown drops slightly for the same length.
Are generated passwords stored or logged?
No. They exist only in the page while it is open: no request carries them to our servers, and a reload clears them. Copy a password before generating again, because a new click replaces the list.
How long should a password be?
With all four types checked, 12 characters give about 77 bits, rated strong, and the default 16 give about 103, rated excellent; at 8 characters the page rates it fair and tells you to make it longer. When the password goes into a password manager, use the longest length the site accepts.
How long would it take to guess a password with that many bits?
Each bit doubles the number of possible results. For an attacker testing a trillion guesses per second against a stolen database protected by a fast hash, trying every possibility takes about 38 minutes at 51 bits (the figure shown for 8 characters with all four types), about 4,800 years at 77 bits (12 characters or a 6-word passphrase), and about 320 billion years at 103 bits (16 characters); on average the right one turns up halfway. A site that limits login attempts or stores passwords with a slow hash makes each guess far slower.
How is each character picked, and why does it matter?
Each character comes from a 32-bit value of crypto.getRandomValues, the browser's cryptographic generator. A common shortcut, one random byte modulo 88, would make 80 of the 88 characters 1.5 times as likely as the other 8, because 256 is not a multiple of 88. The page instead discards the rare values above the last full multiple of 88 (about 1 draw in 89 million) and draws again, so every character has the same chance; words are picked from the 7,776-word list the same way.
Is the strength figure exact?
It is the length times log2 of the alphabet size, rounded down: 88 characters with all four types, 82 with "Avoid look-alike characters". Drawing again when a checked type is missing removes a few possibilities; we counted them exactly for every length from 8 to 64 and every combination of types, and the figure shown is never more than 1 bit off, for example 51 shown for 8 characters with all four types, against 50.6 exactly.
Is a passphrase stronger than a random password?
Only with as many bits: 6 words give 77, about the same as 12 random characters, and 8 words give 103, like 16 characters. A passphrase takes longer to type but is easier to remember and to read out, which is why it suits a master password.
What if a site refuses some symbols?
The symbol set cannot be edited, so uncheck "Symbols" and add length instead: 16 letters and digits give about 95 bits, and 20 give about 119. Each password then still holds at least one uppercase letter, one lowercase letter, and one digit.
Does Copy take every password I generated?
Yes. When "How many" is above 1, the button reads "Copy all" and puts every result on the clipboard, one per line, as they are listed in the box above it.
Can it test the strength of a password I already use?
No. The strength line is computed from the settings of each draw (the length and the size of the alphabet or word list), and the page has no field for typing an existing password.
Can it make a 4- or 6-digit PIN?
No: the shortest password is 8 characters. With only "Numbers" checked, 8 digits give about 26 bits, rated weak, which only suits a code protected by an attempt limit, such as a phone or door PIN.
Tips and tricks
- ✓For a master password you type by hand, a passphrase of six words gives 77 bits using only letters and the separator you pick.
- ✓Need an identifier rather than a secret? UUID Generator makes random version 4 IDs.