Password Generator
Generate strong random passwords with custom length and character sets.
About Password Generator
Generates a cryptographically random password with configurable length and character set options — uppercase, lowercase, digits, symbols. Randomness is generated using a secure random source rather than a predictable pseudo-random function. Adjustable character sets matter because some legacy systems still reject certain special characters or enforce a maximum length, so being able to tune the output saves a round of trial and error against a picky password policy field.
Current guidance, including NIST's, weighs length more heavily than character complexity — a longer password using fewer character types is generally stronger and easier to remember than a short one forced into a rigid symbol/number/case pattern.
Related Tools
How strong is the password?
Strength is measured in bits of entropy: length × log2(number of possible characters). The tool shows this value under the result. Rough guide: below 40 bits weak, 40–59 fair, 60–79 strong, 80 and above very strong.
| Character set | Bits per character | Length for ~80 bits |
|---|---|---|
| Digits only (10) | 3.3 | 24 |
| Lowercase (26) | 4.7 | 17 |
| Upper + lower + digits (62) | 5.95 | 14 |
| All four sets (88) | 6.46 | 13 |
Adding length raises entropy faster than adding symbol types, and long passwords survive picky "no symbols" rules.
Options
- Length: 8 to 128 characters. Use 16+ for accounts, 32+ for API keys and service passwords stored in a manager.
- Exclude ambiguous characters removes
0 O 1 l I, useful for passwords that people read aloud or type from paper. It lowers entropy slightly. - Count: several passwords at once, for example when setting up multiple accounts.
How it's generated
Characters come from crypto.getRandomValues(), the browser's cryptographic random source, not Math.random(). Generation happens entirely in your browser; passwords are never sent to or stored on our server. Close the tab after copying if you share the computer.
Good practice
- One unique password per site, kept in a password manager.
- Turn on two-factor authentication wherever possible; a strong password doesn't help against phishing.
- Store passwords server-side with bcrypt, scrypt or Argon2, never with plain MD5 or SHA.