Password and passphrase generator

Generate passwords from the characters you pick or passphrases from the EFF list, with strength in bits. A 75-bit password suits any account. Sends nothing.

Password type
Characters

The randomness comes from crypto.getRandomValues, the browser's cryptographic generator. Passwords are made on your device and sent nowhere.

Strength

Entropy tells you how many guesses it takes in the worst case: each bit doubles that number. It is computed from the settings, not from the result, because only that is honest.

5 passwords

    How to use it in four steps

    Step by step, with this page's example.

    1. 01

      Choose random characters or a passphrase. A passphrase is easier to remember and type, while characters are shorter for the same strength.

    2. 02

      Set the length and character groups, or the number of words. If a site rejects a symbol, remove it from the allowed field.

    3. 03

      Check the strength in bits. It comes from the settings and accounts for the one-from-each-group rule.

    4. 04

      Copy one password or all of them at once and save it in your password manager.

    What you enter

    A five-word passphrase, dashes, capital first letters

    What you get
    Cabbage-Relic-Unsealed-Starfish-Pacific
    This only shows the format, the tool draws new words every time. Five words out of 7772 give about 64 bits.

    Questions

    How long should a secure password be?
    For an online account a password of 75 bits or more is enough, which is about 12 random characters of letters, digits and symbols. A password manager's master password is better at 100 bits, about 16 characters.
    Characters or a passphrase?
    For the same strength a passphrase is longer, but easier to remember and type on a phone. Five words from the EFF list give about 64 bits, roughly as much as 10 random letters, digits and symbols. Characters are fine for a password manager, a passphrase is better for something you type from memory.
    How many bits are enough?
    A password rated Good, from 75 bits, is enough for any account. A password manager's master password or an encryption key is better rated Very good, from 100 bits, because that kind of password can be attacked with no limit on guesses.
    Are these passwords really random?
    Yes. Every character and every word is drawn by crypto.getRandomValues, the browser's cryptographic generator, not Math.random. Rejection sampling keeps the odds even, so no character comes up more often than the others.
    Why leave out look-alike characters?
    0 and O, or 1, l and I, look the same in many typefaces. When a password has to be copied from paper or read out, leaving them out saves mistakes. The pool gets smaller, so strength drops by a fraction of a bit per character, which the tool counts straight away.
    Where do the passphrase words come from?
    From the EFF long list, which the Electronic Frontier Foundation made for dice-generated passphrases. The words are short, easy to write and unlike each other. Here the list has 7772 words and is built into the page, so nothing is fetched from elsewhere.
    Do the passwords go anywhere?
    No. They are made in your browser and disappear when you close the tab. We neither store nor send them.
    Why are the passphrases in English?
    Because they use the EFF list, which is English and has 7772 words. The language does not weaken a passphrase: what counts is the number of words and the size of the list, and five words give about 64 bits.

    Tell us what you want to build.

    A free quote comes back within an hour during working hours. You talk to the person who writes the code.