Tool
Generate a password nothing has ever seen
Randomness comes from crypto.getRandomValues in this tab. No request is
made, nothing is stored, and the page works offline once loaded.
— —
Every character is drawn from the OS random source, and every chosen type appears at least once, so the result satisfies sites that demand a digit and a symbol.
Why these defaults
Length, not punctuation, is what makes a password expensive to guess. At 24 characters drawn from letters, digits and symbols there are roughly 1047 possibilities — about 156 bits — which is past the point where guessing stops being a strategy. The slider goes down to 8 because some sites still refuse anything longer; treat that as a limit of the site, not a recommendation.
How the randomness works
The generator asks the browser for 32-bit values from the platform's cryptographic random number generator and converts them to indexes with rejection sampling. The obvious shortcut — take the random number modulo the alphabet size — biases the result toward the first characters of the alphabet, because the range of a 32-bit number is not divisible by 94. Rejection sampling discards the values that would cause that bias, so every character is equally likely.
If a character set is chosen, one character from each chosen set is placed first and the rest are drawn from the combined pool, then the whole string is shuffled — again with the same random source. That is why a password from this page always contains a digit when you ask for digits, without weakening the rest.
How much entropy do you need?
| Length | Entropy | Good for |
|---|---|---|
| 12 | 78 bits | minimum for a site that caps length |
| 16 | 104 bits | ordinary accounts |
| 24 | 156 bits | the default — email, banking, work |
| 32+ | 208 bits | password manager master password |
Entropy is calculated as length × log₂(alphabet). It assumes the password is actually random, which is exactly the assumption human-chosen passwords fail. More on that in how long a password should be.
Using what you generate
- Store it in a password manager rather than memorising it — that is what makes long random passwords practical.
- One password per site. Reuse is what turns a single breach into ten compromised accounts.
- Check the result against breach data if it came from anywhere but this page: the scanner does it without uploading the password.
- Turn on two-factor authentication wherever it is offered, so a password is not the only lock.
Questions
Is this generator safe to use?
The password never leaves the tab. The page loads two same-origin scripts and makes no other requests while generating; the source is public at github.com/btwfrost/breachbeam if you would rather read it than trust it.
Password or passphrase?
Random passwords for anything stored by a manager, random passphrases for the few you type yourself. Six words chosen at random from a large list is about 77 bits and easier to type on a phone than 24 mixed characters. The words have to be random — see passphrases vs passwords.
Can I reuse a password this strong?
No. Strength protects against guessing; it does nothing against a database dump. If the same string is on two sites, one breach compromises both — the reason credential stuffing works.