Cryptographic · Client-side · Private

Password Generator

Create strong random passwords and memorable passphrases. Uses your browser's built-in cryptographic random number generator — everything happens on your device. Nothing is uploaded.

16
Advanced options
—
— —
Time to crack: — (assumes 10 billion guesses per second)
Five alternatives click any to copy
    How It Works

    Randomness and Entropy

    Cryptographic randomness

    Many simple password generators use Math.random(), which is predictable enough that an attacker who sees a few outputs can sometimes work out the next ones. This generator uses crypto.getRandomValues() instead — the browser's cryptographic random number source. It is the same source used to generate encryption keys, and it is designed to be unpredictable.

    Entropy — the real measure of strength

    Password strength is not about how complex the password looks. It is about how many possibilities an attacker has to try. That is measured in bits of entropy:

    Entropy = log₂ (charset size) × length

    Each extra bit doubles the search space. A password with 40 bits has about 2⁴⁰ ≈ 1 trillion possible combinations. A password with 80 bits has about 2⁸⁰ ≈ 1 octillion.

    Entropy categories

    • Under 28 bits — Very weak. Cracked instantly.
    • 28–35 bits — Weak. Minutes to hours.
    • 36–59 bits — Fair. Hours to years.
    • 60–79 bits — Strong. Years to centuries.
    • 80–111 bits — Very strong. Millennia.
    • 112+ bits — Excellent. Longer than the age of the universe.

    Crack-time estimate

    The estimate assumes an attacker can try 10 billion passwords per second. That is the realistic speed of a modern GPU-based cracking rig against a fast hash. Against strong hashes like bcrypt or Argon2, the real number is far slower — so treat these estimates as a worst case.

    Guaranteed character classes

    When "guarantee at least one of each" is enabled, the generator places one character from each selected set first, then fills the rest randomly, then shuffles the whole password. This ensures the result always contains at least one lowercase, uppercase, digit and symbol — as many sites require — without weakening the randomness.

    Passphrases

    A passphrase is a sequence of random words. The entropy depends on how many words are chosen and how big the word list is:

    Entropy = log₂ (word list size) × word count

    The word list used here has 256 entries, so each word contributes 8 bits. A 6-word passphrase has about 48 bits of entropy — enough for most personal accounts but not for high-value targets. A 10-word passphrase reaches 80 bits. For critical accounts like email or banking, add extra words or combine a passphrase with a stored password manager.

    Reference

    Strength by Length

    LengthCharsetEntropyStrength
    8lowercase only37.6 bitsFair
    8full ASCII (95)52.5 bitsFair
    12lower + upper + digits71.4 bitsStrong
    16lower + upper + digits95.3 bitsVery strong
    16lower + upper + digits + symbols104.9 bitsVery strong
    20lower + upper + digits + symbols131.1 bitsExcellent
    24lower + upper + digits + symbols157.3 bitsExcellent
    4-word passphrase256-word list32 bitsWeak
    6-word passphrase256-word list48 bitsFair
    8-word passphrase256-word list64 bitsStrong
    10-word passphrase256-word list80 bitsVery strong
    Everyday Uses

    When You'll Need This

    Email accounts

    Your email is the master key to every other account. Give it 20+ characters or a 6+ word passphrase.

    Banking & finance

    Use a unique password for each financial account. Never reuse a password across banks.

    Password managers

    Most password managers have a built-in generator. Use this one when you need to generate a master password, or when you want to generate one without signing in anywhere.

    Wi-Fi passwords

    Generate a strong Wi-Fi password and hand it out on paper or in person. The "exclude similar" option makes it easy to read aloud.

    Server & database

    Long random strings for API keys, database credentials, JWT secrets and other machine-to-machine passwords.

    Shared accounts

    Team accounts, streaming services, shared inboxes. Generate once, share via a secure channel, change periodically.

    Questions

    Password FAQ

    Is this password generator safe to use?

    Yes. The generator uses the browser's built-in cryptographic random number generator (crypto.getRandomValues). Passwords are never uploaded, logged or shared. The entire calculation runs on your device.

    How long should my password be?

    For most accounts, 16 characters with mixed character sets is very strong. For high-value accounts like email or banking, use 20+ characters or a 6-word passphrase.

    What is a passphrase?

    A passphrase is several random words strung together, like correct-horse-battery-staple. They are easier to remember than random characters but still provide strong security if the words are truly random.

    What is entropy?

    Entropy is a measure of unpredictability, measured in bits. Each extra bit doubles the number of possible combinations. 80 bits is considered strong; 100 or more is very strong.

    Is a passphrase better than a password?

    Both can be equally strong — it depends on length and randomness. A 6-word passphrase from a large word list has more entropy than an 8-character password, and it is easier to remember. But for the strongest protection, use a password manager with a randomly generated password.

    Are these passwords stored anywhere?

    No. Passwords are generated in your browser and never leave your device. Nothing is uploaded, saved or logged.

    What does "exclude similar characters" do?

    It removes characters that are easily confused, such as l (lowercase L), 1 (one), I (uppercase i), and 0 (zero) versus O (uppercase o). This makes passwords easier to read aloud or type from paper.

    Should I reuse passwords?

    Never. If one site is breached, attackers try the same email/password combination on hundreds of other sites. Use a unique password for every account, and a password manager to remember them all.

    Related Tools

    You Might Also Need

    Last updated: .