Skip to main content

Password Generator

Generate secure passwords with customizable options

Estimated search-space strength:
Excellent
Entropy: 129.19 bits•Character pool: 88•CSPRNG (Web Crypto)

Generator Settings

20 characters (4–128)

Each character is sampled uniformly from the combined enabled character set. A selected character group is allowed, but is not forced to appear in every password.

Was this Password Generator helpful?

Help us keep tools reliable, fast, and bug-free.

What you can do with Password Generator

  • Generate strong password

How this security utility works

Generate random passwords or multiword passphrases with Web Crypto, selectable character sets, batch output, and theoretical search-space entropy.

Example input

Length: 20 characters, Include: Uppercase, Lowercase, Digits, Symbols, Exclude Ambiguous

Example output

k9#mP$2vL!9xQ@7wR&4t

Practical workflow

  1. Adjust the password length from 4 to 128 characters, or switch to passphrase mode for 3–10 random words (8 words by default).
  2. Toggle uppercase letters, lowercase letters, numbers, and special symbol character sets.
  3. Enable Exclude Ambiguous Characters to remove easily confused glyphs (0, O, o, 1, l, I, and |).
  4. Review the real-time theoretical entropy estimate and copy the generated password. Enabled character groups form one combined uniform pool; no group is forced into every result.

Common use cases

  • Creating unique master passwords and passphrases for password managers.
  • Generating random database credentials, API secret tokens, and server passwords.
  • Provisioning secure temporary passwords for employee onboarding.

Important notes and limitations

  • Each password character is selected uniformly from the enabled combined character pool. Passphrase words are selected uniformly without replacement; entropy is log2 of the resulting permutation count, including the random two-digit number and its position when enabled.
  • Passwords exist only in transient browser state and are never logged, tracked, or saved to local storage.

Terminal cryptographically secure password generators

Generate random alphanumeric password with openssl

openssl rand -base64 24 | tr -dc 'a-zA-Z0-9!@#$%^&*' | head -c 20; echo

Derives a 20-character high-entropy password from cryptographic pseudo-randomness.

Generate memorable passphrase using Diceware / pwgen

pwgen -s -y 24 1

Generates a 24-character secure random password with symbols, lowercase, uppercase, and digits.

Entropy calculation & character set troubleshooting

Cryptographically insecure randomness in custom scripts

Cause: Using 'Math.random()' which relies on predictable PRNG algorithms (Xoroshiro128+) vulnerable to state reconstruction.

Solution: Always use 'crypto.getRandomValues()' in the browser or 'crypto.randomBytes()' in Node.js for secrets.

Password rejected by enterprise policy despite high entropy

Cause: Random generation occasionally omits required character categories (e.g. at least 1 symbol, 1 uppercase).

Solution: Guarantee at least one character from each required pool before filling remainder from combined pool.

Continue your workflow

Frequently asked questions

How is password entropy calculated and what score is considered secure?

For a password, entropy is length × log2(the enabled combined character count). A passphrase uses the permutation count of distinct words selected without replacement; when enabled, the estimate also includes the two-digit number and its randomly selected word position. This tool labels estimates below 45 bits Weak, 45–under 65 Fair, 65–under 85 Strong, 85–under 110 Very Strong, and 110 bits or more Excellent. These labels describe the configured search space, not a universal security guarantee or resistance to reuse, leaks, or every attack.

Why should I exclude ambiguous characters like 0, O, o, 1, l, I, and |?

Excluding visually ambiguous characters prevents human transcription errors when reading or typing passwords on mobile keyboards or terminal screens.

Are the generated passwords logged or transmitted anywhere?

No. Password generation occurs exclusively in your browser memory via the Web Crypto API without any network requests.