Password generator
Make a strong random password, or a memorable passphrase of real words, in one click. Choose the length and the characters, and see how strong it really is. Free, made in your browser, never stored.
- No account
- Never sent or stored
- Cryptographic randomness
Your password
Turn on JavaScript to generate a password.
Very strong
With no separator, turn on Capitalize so the words stay easy to tell apart. Without either, a few word runs can spell the same text, so the real strength is slightly lower than shown.
Made in your browser. Passwords are never sent or saved; only your options are remembered here.
Options
A new password is made every time you change something.
How it works
How to make a strong password
Pick a type
Random for the strongest password per character, or Passphrase for words you can remember and type on a phone.
Set the options
Choose the length or the number of words, and the characters a site asks for. A new one appears with each change.
Copy and keep it
Copy it straight into the sign-up form, then save it somewhere encrypted. Generate again until you like one.
Under the hood
What makes it random
The same rules every time, and strength numbers worked out from those rules rather than guessed from the result.
Cryptographic randomness
Every pick comes from your browser's crypto.getRandomValues, the generator meant for keys and secrets. Math.random is never used.
crypto.getRandomValues(new Uint32Array(1))No modulo bias
A random number is only turned into a character when it falls below the largest multiple of the pool size that fits in 32 bits; others are thrown away and drawn again, so no character comes up more often.
88 characters → every one exactly 1 in 88Every set you choose
If a set you turned on is missing, the whole password is drawn again. You always get one of each, and every valid password stays equally likely.
Uppercase · lowercase · numbers · symbolsNo look-alikes
Turn on “Avoid look-alikes” to drop characters that are easy to misread when you type a password from a screen or a note.
0 O 1 l I |Real words, at random
Passphrases use the EFF large word list: 7,776 common, easy-to-type words, each about 12.9 bits. Credit: Electronic Frontier Foundation, CC BY 3.0 US.
cactus-velvet-harbor-pebble-lanternHonest strength
Entropy counts what the generator could have made. Time to guess assumes an offline attack at 10 billion guesses a second, finding it halfway through on average.
16 × log2(88) ≈ 103 bitsFAQ
Questions about strong passwords
How does this password generator work?
Each character is picked at random from the sets you turn on, using your browser's cryptographic random number generator (crypto.getRandomValues), never Math.random. The picks are unbiased, so every character in the pool is equally likely. If a set you chose is missing, the whole password is drawn again, so you always get at least one of each.
How long should a random password be?
For most accounts, 16 characters with all four character sets is a good default: about 103 bits, far beyond what an offline attack can search. 12 characters gives about 77 bits, which is still strong. Go shorter only when a site forces you to, and use a longer password for anything important.
What is a passphrase, and is it as secure as a random password?
A passphrase is a few random words, like cactus-velvet-harbor-pebble-lantern. Each word from the 7,776-word list adds about 12.9 bits, so 5 words give about 65 bits and 6 words about 78 bits, as much as 12 random characters. The words must be picked at random, as they are here; a phrase you think up yourself is much easier to guess.
What is diceware?
Diceware is a way to make a passphrase by rolling five dice for each word and looking the result up in a list of 7,776 words, one for every possible roll. This tool uses the Electronic Frontier Foundation's large word list, made for exactly that, and does the rolls with your browser's cryptographic random number generator.
How are the strength and the time to guess worked out?
From how the password was made, not from how it looks. Entropy counts the equally likely passwords the generator could have made, in bits: about length × log2(pool size) for a random password and words × log2(7,776) for a passphrase. The time to guess assumes an offline attack trying 10 billion guesses a second, which on average finds the password halfway through.
Are the passwords I generate stored or sent anywhere?
No. Passwords are made in your browser and never sent to Trezio or anyone else, and they are not saved in this browser either, so a refresh makes them gone for good. Only your options, like the length and the character sets, are kept in this browser's local storage so the page opens the way you left it. A copied password stays on your clipboard until you copy something else.
Where should I keep a generated password?
Somewhere encrypted, not in a plain note. Trezio's browser extension and Android app can save a login with a screenshot of its sign-in page, encrypted on your device with AES-256-GCM before it is uploaded, and your master password never leaves your device. There's a free plan.
More free tools
More tools and reading
- Free tool
Password strength checker
See how strong a password you already use really is.
- Free tool
Link cleaner
Remove utm, fbclid and other tracking codes from any link before you share it.
- Free tool
List alphabetizer
Sort any list A to Z, by last name or ignoring “the”, with duplicates removed.
- Blog
How Trezio protects vault credentials
What is actually encrypted, what the master password does, and what zero-knowledge covers.