Password Generator

Strong random passwords from the character sets and rules you choose, generated with a cryptographically secure source.

Settings

Length

Character types & minimum counts

min
min
min
min

Rules

Passwords

    How it works

    • Every character is chosen with crypto.getRandomValues. Random numbers are drawn with rejection sampling, so no character is more likely than another (no modulo bias). Math.random is never used.
    • Required characters (minimum counts and "include every type") are placed first, the rest is filled from the whole pool, and the result is shuffled with a secure Fisher–Yates shuffle.
    • Strength is estimated as length × log₂(pool size) bits: under 28 very weak, under 36 weak, under 60 fair, under 100 strong, otherwise very strong. Rules that remove choices lower the real entropy slightly.
    • "No sequences" rejects three letters or digits in a row that go up or down by one, such as abc, CBA or 789.

    Privacy

    Passwords are generated in your browser and are not sent, stored or logged. Copy them into a password manager rather than a plain text file.