The Password Generator creates random passwords from 4 to 128 characters, with switches for uppercase, lowercase, digits, and symbols, an optional fixed prefix or suffix, and up to 20 passwords per click. It is for anyone setting up a new account, rotating a shared password, or filling a password manager with unique entries.
Input
Length 16, A-Z + a-z + 0-9 + !@#$ (default)
Output
f7g90dqWQt{C-i*p · very strong
Input
Length 24, A-Z + a-z + 0-9, prefix app_
Output
app_umraEybIdCzWOWqTDXX08Tge · very strong
Input
Length 6, 0-9 only
Output
459579 · weak
Every character is picked independently from the pool of enabled sets: 26 uppercase letters, 26 lowercase letters, 10 digits, and 26 symbols (!@#$%^&*()_+-=[]{}|;:,.<>?), for 88 characters when all four are on. The random values come from crypto.getRandomValues, the operating system's cryptographically secure generator, never from Math.random. Each 32-bit random value is reduced to a position in the pool; with a pool under 100 characters the resulting bias is smaller than one part in 40 million, far below anything an attacker could use. If you switch every set off, the generator falls back to lowercase letters and digits rather than produce nothing.
The strength label is an entropy estimate: length × log2(pool size). With all four sets each character adds about 6.46 bits, so the default 16 characters gives about 103 bits. The labels map to these thresholds: under 40 bits is weak, 40 to 63 is fair, 64 to 99 is strong, and 100 or more is very strong. A 6-digit PIN carries only about 20 bits, which is why it shows weak. The prefix and suffix are not counted, because they are fixed text an attacker could know.
Because characters are drawn independently, a password is not forced to include one of every enabled set. A 16-character password from 88 characters will almost always contain all four types, but a short one might not, and some sites reject a password without a digit or symbol. Press Generate again in that case; adding a required character by hand to a fixed position would make the password more predictable. Some sites also reject particular symbols such as < or ; in which case turn !@#$ off and add a few characters of length instead.
Length matters more than character variety. Each extra character multiplies the number of possibilities by the pool size, so 20 lowercase-and-digit characters (about 103 bits) are as strong as 16 characters with symbols, and easier to type on a phone. For a password you need to remember, use the passphrase generator instead; to see how an existing password holds up against real cracking patterns, try the password strength checker. Generated passwords live only in this page until you copy them.
More Generators