Random password generator
Choose the length and which characters to use, and get a truly random password: every character picked fairly by your browser's secure random generator.
Generator
Made on this device with your browser's secure random generator. Never saved, never sent, no history.
Options
Site rules PRO
Make a list PRO
Password strength checker
Checked as you type, on this device. It isn't saved and is cleared when you leave.
Has this password leaked?
Tap Check to look it up in Have I Been Pwned's list of hundreds of millions of leaked passwords. Only the first 5 characters of its SHA-1 hash are sent, never the password.
Five rules for strong passwords
- Length beats tricks.Four or more random words, or 16+ random characters. Swapping a for @ adds almost nothing.
- One password per site.Reuse is how one leak opens every account.
- Let a password manager remember them.Your phone or browser has one built in.
- Turn on two-step sign-in.Use a passkey or an authenticator app where you can.
- Skip names, dates and patterns.Birthdays, pets, teams and qwerty are tried first.
Settings
How random it is
Every character comes from crypto.getRandomValues, the random source browsers use for encryption, never Math.random. Picking a character from a list of, say, 87 means turning a random 32-bit number into a choice from 87, and the simple way (the remainder after dividing) makes a few characters slightly more likely. This generator throws away the numbers that would cause that bias and draws again (rejection sampling), so every character is exactly as likely as any other.
With "Use every type" on, a password that happens to miss one of your chosen types is thrown away and redrawn too. The meter counts the possible passwords exactly, including that rule, so the bits it shows are the real figure, not an estimate.
What each character type adds
| Characters | How many | Bits per character | 12 characters |
|---|---|---|---|
| Numbers only | 10 | 3.3 | 39 bits |
| Lowercase only | 26 | 4.7 | 56 bits |
| Lowercase and numbers | 36 | 5.2 | 62 bits |
| Upper, lower and numbers | 62 | 6.0 | 71 bits |
| Upper, lower, numbers and symbols | 87 | 6.4 | 76 bits |
| Upper, lower and numbers, no look-alikes | 56 | 5.8 | 69 bits |
The symbols are ! @ # $ % ^ & * ( ) - _ = + [ ] { } ; : , . ? / ~ (25 of them). "Avoid look-alikes" leaves out I, l, 1, O, 0 and o, which are easy to misread on paper or a screen.
How to make a random password
- Set the length with the slider, or type a number from 4 to 128.
- Under Options, turn uppercase, lowercase, numbers and symbols on or off, and Avoid look-alikes if someone will read it.
- Tap Copy. Tap the arrows, or press R, for another.
Questions
Are these passwords really random?
Yes. They come from your browser's cryptographic random generator with rejection sampling, so there is no pattern and no bias towards any character. Nothing about you or the time affects them.
A site won't accept symbols. What should I do?
Turn Symbols off and add length instead: each extra letter or number adds about 6 bits, so 14 letters and numbers are stronger than 12 characters with symbols.
What does "bits of entropy" mean?
It counts how many equally likely passwords your settings could make: 60 bits means 2 to the power 60 possibilities. Each extra bit doubles the work for anyone trying to guess.