How to use it
This password generator creates random passwords that are practically impossible to guess. Choose any length from 8 to 128 characters, with 16 as the default, and decide which character types to use: upper-case letters, lower-case letters, digits and symbols are all switched on at first, and every type you keep appears at least once. The randomness comes from your browser's cryptographic generator, crypto.getRandomValues, and the password is created on your device, so it is never sent to our server.
How to use the password generator
- Set Length to a value between 8 and 128 with the box or the slider; 16 to 20 suits most accounts.
- Under Include, tick the character types you want and enter How many passwords to make, up to 20 at once; the strength line below updates as you change the settings.
- Press Run tool or hit Ctrl + Enter.
- If a site rejects a character type, usually symbols, untick it and run the tool again.
- Click Copy output and paste the password straight into your password manager or the sign-up form.
Password strength in plain numbers
Strength is about how many possibilities an attacker must try, usually expressed as bits of entropy; every extra bit doubles the work. With the default settings this tool draws from a pool of 65 characters: 24 upper-case letters, 25 lower-case letters, 8 digits and 8 symbols. Each random character therefore adds about 6 bits, so a 16-character password sits in a search space of roughly 96 bits. Switching a type off shrinks the pool: with look-alikes excluded, digits alone leave 8 characters worth about 3 bits each. The strength line under the options does this arithmetic for your own settings.
The table uses the default settings and assumes a bad case: a leaked database where passwords were stored with a fast hash, attacked offline at one trillion guesses per second. Well-run services use deliberately slow hashing, which makes real attacks far slower than this.
| Length | Approximate entropy | Time to try every combination |
|---|---|---|
| 8 characters | ~47 bits | About 2 minutes |
| 12 characters | ~72 bits | About 110 years |
| 16 characters | ~96 bits | About 2.5 billion years |
| 20 characters | ~120 bits | Millions of times the age of the universe |
| 32 characters | ~193 bits | Beyond any meaningful timescale |
The rule that every selected group must appear trims the number of possible short passwords slightly, and the figures above account for that. On average an attacker would find a password after searching about half of the space.
Why length beats complexity
Widening the character set multiplies the number of possibilities, while adding length raises it to a higher power. A random 16-character password made only of lower-case letters (about 75 bits) is stronger than a random 10-character password using all four groups (about 60 bits). If a site lets you, adding characters does far more than adding symbols.
All of this only holds for truly random passwords. Human-chosen passwords such as Summer2024! tick every complexity box yet sit near the top of every attacker's guessing list, because a capital letter first and digits plus an exclamation mark last is exactly what people do when rules are forced on them.
What current NIST guidance recommends
The US National Institute of Standards and Technology publishes digital identity guidelines, SP 800-63B, that many password policies now follow. The key points:
- Length first: the current revision requires at least 15 characters when a password is the only authentication factor, and asks systems to accept passwords of at least 64 characters.
- No forced composition rules: requirements such as one capital letter and one symbol should not be imposed.
- No scheduled resets: passwords should change when there is evidence of compromise, not on a fixed calendar.
- Screen against breaches: new passwords should be checked against lists of leaked and commonly used passwords.
- Allow paste and password managers: blocking paste only pushes people toward short, easily typed passwords.
By default this tool still puts all four groups into every password. That is for compatibility, not strength: it means the result is accepted first time by sites that still enforce composition rules. If a site refuses symbols, untick them and add a few characters instead. Length and randomness are what actually protect you.
Look-alike characters are left out
By default, generated passwords contain no 0 (zero), O, 1 (one), lower-case l or upper-case I. In many fonts these are almost impossible to tell apart, which causes errors whenever you read a password off a screen or a sheet of paper and type it on another device, such as a TV or a games console. Symbols are limited to !@#$%^&*, a set that most sites accept and that is easy to find on phone keyboards. Dropping the look-alikes costs a tiny amount of entropy per character, which one extra character more than makes up for. If you only ever paste your passwords and never type them, untick Exclude look-alikes to use the full alphabet.
Storing what you generate
Nobody is expected to memorise a random 20-character string. A password manager makes unique passwords for every account practical: it keeps them in an encrypted vault, recognizes sites, fills in the right password and asks you to remember a single master password. For that master password, a long passphrase of five or six unrelated words is both strong and memorable. Turn on two-step verification for the password manager and for your email account, since email is the reset key for almost everything else.
Reusing a password undoes all of this. When one site leaks, attackers try the same email and password pair everywhere else, a technique known as credential stuffing. The guide on strong passwords and secure identifiers goes deeper into length, randomness and storage habits.
Choosing a length
| Use | Suggested length | Notes |
|---|---|---|
| Everyday website accounts | 16–20 | Keep them in a password manager |
| Email and banking | 20–24 | Add two-step verification |
| Wi-Fi network (WPA2/WPA3 personal) | 16–20 | The standard allows 8 to 63 characters; guests may have to type it |
| API keys, database and service passwords | 32–64 | Never typed by hand, so length costs nothing |
| Legacy systems capped at 8 | 8 | Only when forced; enable extra protection if possible |
Privacy and how the randomness works
Passwords are generated entirely in your browser and never sent to our server; the page only increments an anonymous counter recording that the tool was used. Characters are picked with rejection sampling to avoid modulo bias: random numbers that would favour some characters over others are discarded, so every character in the pool is exactly as likely as any other. That is the key difference from simple generators built on non-cryptographic functions such as Math.random. Need unique identifiers rather than secrets? Try the UUID generator. To check a password against a site's length limit, the character counter helps. Everything on this site that deals with passwords and identifiers is collected under security tools.