About this tool
Generate secure random passwords in bulk: set length and count, choose upper and lower case, digits and symbols, and exclude ambiguous or custom characters. Passwords are generated in your browser and never saved or uploaded.
Typical uses
- Create a strong password for a new account
- Generate initial passwords for a team
- Avoid look-alike characters such as 0/O and 1/l
How to use
Choose length, count and character groups; optionally exclude ambiguous or custom characters.
Generate, show or hide results, copy one or all, or download. Clear them when finished.
Length 8–128, count 1–100; each password includes every selected group. Groups left empty after exclusions are rejected. Uses secure browser randomness without saving passwords or settings; protect clipboard contents and downloads.
How each password is built
When you press “Generate passwords”, the tool validates the settings and then builds every password the same way: one character from each selected set, the remaining positions drawn from the combined pool of all allowed characters, and finally a Fisher–Yates shuffle of the whole string. The guaranteed characters therefore do not sit at the start.
- All randomness comes from the browser's crypto.getRandomValues (a cryptographically secure generator); Math.random is never used. If the browser does not offer it, the tool does not fall back to weaker randomness and shows “Secure randomness is unavailable. Use HTTPS and a recent browser.”
- Turning a 32-bit random number into a character index uses rejection sampling: values at or above ⌊2³²/n⌋·n are thrown away and redrawn, so the remainder step introduces no bias. With the default 85 characters, 2³² leaves a remainder of just 1 when divided by 85, so a draw is redrawn with probability 1/4,294,967,296.
- Random numbers are read in batches of 256 32-bit integers, and the buffer is zeroed after generation.
- Passwords in one batch are independent and are not deduplicated; at the default length a repeat is negligibly unlikely.
Character sets and exclusions
These are the four groups under “Character sets”. Ticking “Exclude ambiguous characters” removes the six characters I l 1 O 0 o:
| Set | Characters | Count | Removed as ambiguous | Left |
|---|---|---|---|---|
| Lowercase | abcdefghijklmnopqrstuvwxyz | 26 | l o | 24 |
| Uppercase | ABCDEFGHIJKLMNOPQRSTUVWXYZ | 26 | I O | 24 |
| Digits | 0123456789 | 10 | 0 1 | 8 |
| Symbols | !@#$%^&*()-_=+[]{};:,.? | 23 | — | 23 |
- The symbol set is exactly these 23 characters. Space, quotes, backslash and the other printable symbols (␠ " ' / < > \ ` | ~) never appear; they are the ones that often need escaping in a shell, a CSV file or a config file. If a site insists on one of them, add it by hand.
- “Additional excluded characters (optional)” applies to every set at once, takes up to 128 characters and is case-sensitive.
- If an exclusion empties a selected set (for example lowercase and digits with 0123456789 excluded), you get “Exclusions leave a selected character set empty. Adjust your options.”
- If fewer than two characters remain in total (for example digits only with 012345678 excluded), you get “Keep at least two different characters.”
- “Password length (8–128)” and “Count (1–100)” accept whole numbers only; out-of-range values are reported rather than silently corrected.
Strength: entropy from the real character counts
The strength of a random password is measured in bits of entropy: each extra bit doubles the number of guesses an exhaustive search needs. The table gives the exact entropy of this generator's procedure; column headings are password lengths:
| Sets | Pool | 8 | 12 | 16 | 20 | 32 |
|---|---|---|---|---|---|---|
| Digits only | 10 | 26.6 | 39.9 | 53.2 | 66.4 | 106.3 |
| Lowercase only | 26 | 37.6 | 56.4 | 75.2 | 94.0 | 150.4 |
| Lowercase + digits | 36 | 41.2 | 61.9 | 82.7 | 103.4 | 165.4 |
| Letters + digits | 62 | 47.1 | 71.2 | 95.1 | 119.0 | 190.5 |
| All four sets (default) | 85 | 50.2 | 76.4 | 102.2 | 128.0 | 205.0 |
| All four, ambiguous excluded | 79 | 49.2 | 75.0 | 100.5 | 125.8 | 201.6 |
- The usual estimate is length × log₂(pool). Because the tool forces one character from each set, the real figure is slightly lower: 128.0 bits at the default 20 characters from 85, against 128.2 from the formula. The gap is largest at 8 characters and is still only 1.1 bits.
- Each extra character adds about 6.4 bits. Excluding ambiguous characters costs only 2.2 bits at 20 characters, less than half a character, so it is a sensible choice for passwords that will be typed from paper or read aloud.
- With all four sets you need 13 characters for 80 bits and 21 for 128 bits; letters and digits need 22, digits alone 39, to reach 128 bits.
- Entropy describes a password that was generated randomly and is used once. Reusing it across sites or storing it carelessly undoes the benefit.
How it lines up with NIST SP 800-63B
NIST SP 800-63B (revision 4), section 3.1.1, sets rules for how services accept passwords. The rules bind the service, not you, but they are a useful guide to what to generate:
| NIST requirement | What it means here |
|---|---|
| At least 15 characters when the password is the only factor; at least 8 when it is part of multi-factor authentication | The default of 20 is above 15; the tool's minimum of 8 suits only accounts protected by a second factor |
| Services should allow at least 64 characters | The tool goes up to 128; if a site caps length lower, regenerate at its limit |
| Services shall not impose composition rules such as mixing character types | The “every selected set” rule exists for sites that still demand it; at 20 characters it costs 0.2 bits |
| No forced periodic changes; force a change only on evidence of compromise | Regenerate when an account may have leaked, not on a timer |
| Services shall allow password managers and autofill, and should allow pasting | Store long random passwords in a password manager instead of typing them |
- Results are hidden until revealed, and the downloaded TXT is plain text with one password per line. To send a batch of initial passwords to colleagues, encrypt the list with the text encryption tool first and share its password through another channel.
Sources
Frequently asked questions
Are the passwords secure?
They use secure browser randomness, and neither passwords nor settings are saved or uploaded. Protect what you copy or download.
Is every character group included?
Yes, each password contains at least one of every selected group.
Length and count limits?
Length 8–128 characters, 1–100 passwords per run.
Suggest an improvement to this tool
Missing an option, something awkward to use, or a wrong result? Let us know.