Password generator

Generate secure passwords in batches, choose character groups, exclude confusing characters and copy or download.

  • Runs locally
  • Free

Use the tool

Your files are processed in your browser and are not uploaded to a server.

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

  1. Choose length, count and character groups; optionally exclude ambiguous or custom characters.

  2. Generate, show or hide results, copy one or all, or download. Clear them when finished.

Good to know

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:

SetCharactersCountRemoved as ambiguousLeft
Lowercaseabcdefghijklmnopqrstuvwxyz26l o24
UppercaseABCDEFGHIJKLMNOPQRSTUVWXYZ26I O24
Digits0123456789100 18
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:

SetsPool812162032
Digits only1026.639.953.266.4106.3
Lowercase only2637.656.475.294.0150.4
Lowercase + digits3641.261.982.7103.4165.4
Letters + digits6247.171.295.1119.0190.5
All four sets (default)8550.276.4102.2128.0205.0
All four, ambiguous excluded7949.275.0100.5125.8201.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 requirementWhat it means here
At least 15 characters when the password is the only factor; at least 8 when it is part of multi-factor authenticationThe 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 charactersThe 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 typesThe “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 compromiseRegenerate when an account may have leaked, not on a timer
Services shall allow password managers and autofill, and should allow pastingStore 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.