Skip to content

Generate strong passwords

Create strong random passwords and passphrases and check how long any password would take to crack; everything runs on your device and nothing you type is sent anywhere.

    Very strong130.9 bits of entropy

    Options

    Length20 characters

    Remove any symbols a site doesn’t accept.

    94 possible characters × 20 positions = 130.9 bits.

    Time to crack (average)

    Online, rate-limited (100 guesses/hour)far longer than the age of the universe
    Online, no rate limit (10 guesses/s)far longer than the age of the universe
    Stolen database, slow hash like bcrypt (10,000/s)far longer than the age of the universe
    Stolen database, fast hash on GPUs (10 billion/s)far longer than the age of the universe

    Assumes the attacker knows exactly how the password was generated and tries half of all possibilities on average.

    Check my password

    Checked on this device with zxcvbn — the password is never sent, saved or logged.

    Runs in your browser · no uploadHow it works

    How to use Password generator

    1. 1

      Choose password or passphrase

      Random characters suit a password manager; a passphrase of words is easier to type and remember.

    2. 2

      Set the rules

      Pick the length and character sets, or the number of words, separator and capitalisation.

    3. 3

      Read the strength

      Check the entropy in bits and the crack-time table; aim for at least 80 bits for important accounts.

    4. 4

      Copy it into your manager

      Copy the result and save it in your password manager before closing the page.

    5. 5

      Test an existing password

      Type a password you already use into Check my password to see how quickly it could be guessed.

    Limits and Pro

    Free with no sign-up: passwords of 4 to 128 characters, passphrases of 3 to 12 words, and up to 50 generated at once; the checker's 800 KB dictionary downloads once, the first time you use it.

    Pro removes the ads; the generator and checker are identical on every plan. See Pro

    About Password generator

    This generator makes two kinds of secrets. Random passwords draw from lowercase and uppercase letters, digits and a symbol set you can edit, from 4 to 128 characters long, with options to leave out look-alike characters such as I, l, 1, O and 0 and to guarantee at least one character from every chosen set for sites with composition rules. Passphrases string together 3 to 12 words from the EFF Large Wordlist — 7,776 everyday words, each worth 12.9 bits — with your choice of separator, capitalisation and an optional number, so they are easy to type on a phone and to remember.

    Every character and word is picked with the browser's cryptographic random generator using rejection sampling, which removes the small bias a simple modulo would add. The entropy shown is exact for the settings you chose, including the effect of the at-least-one-of-each rule, and the crack-time table turns it into average guessing times for four attack scenarios, from a rate-limited login form to a stolen database hashed with a fast algorithm on GPUs.

    The separate checker rates a password you already use with zxcvbn, the open-source estimator that looks for dictionary words, names, keyboard walks, dates, repeats and l33t substitutions the way real cracking tools do, and explains what makes it weak.

    Passphrase words come from the EFF Large Wordlist by the Electronic Frontier Foundation, used under the Creative Commons Attribution 3.0 United States licence. A generator can't store or sync passwords; keep them in a password manager.

    Privacy

    Passwords and passphrases are generated on your device with the Web Crypto API, and the checker runs zxcvbn locally in a Web Worker; nothing you generate or type is sent, logged or saved. Only your settings (length, character sets, word count) are remembered in local storage.

    Features

    Unbiased randomness

    Web Crypto with rejection sampling, so every character and word is equally likely.

    EFF passphrases

    7,776-word list designed for memorable, typeable passphrases.

    Realistic checker

    zxcvbn spots words, names, dates and keyboard patterns in passwords you already use.

    Password generator: frequently asked questions

    How long should my password be?
    For a random password from this generator, 16 characters using all four character sets give about 105 bits, which no realistic attack can guess. For accounts protected by rate limits, 12 characters are already strong. Passphrases reach similar strength with six or seven words. Longer is always safer, so use the maximum length a site allows when a password manager types it for you.
    Are passphrases really as secure as random passwords?
    Yes, when the words are chosen randomly. Six words from the 7,776-word EFF list give 77.5 bits, comparable to a 12-character random password, and seven words give 90 bits. What makes a passphrase weak is choosing the words yourself, quoting a song or using a famous phrase, because attackers try those first. Let the generator pick.
    Why does the checker rate a generated password lower than its entropy?
    zxcvbn estimates how attackers guess passwords people invent, and for unpredictable strings it falls back to a cautious rule of thumb of about ten guesses per character. The generator knows exactly how its passwords were made, so entropy is the more accurate measure for them. Use the checker for passwords you created yourself.
    Is it safe to type my real password into the checker?
    The check runs entirely in your browser: the zxcvbn library and its dictionaries are downloaded to the page, and no request contains your password, which you can confirm in the network panel. The field isn't saved or autofilled. Even so, if you're worried about anyone seeing your screen, test a similar password rather than the exact one.
    What does “exclude look-alikes” do to the strength?
    It removes seven characters that are easy to misread, which slightly reduces the pool: a 20-character password from all four sets drops from about 131 to 129 bits. That loss is negligible compared with adding a single character, so switch it on whenever a password may be read aloud, written down or typed from another screen.
    All developer tools