Password Generator

Strong random passwords and passphrases, made in your browser.

Runs in your browser. Nothing is uploaded.

Updated

SettingsRuns in your browser

Symbols used: !@#$%^&*()-_=+[]{};:,.<>/?~

Very strong 129 bits · guessing half of all possibilities at 100 billion tries a second takes about 139441675577 billion years

    Made in your browser with its secure random numbers. Nothing is sent or saved.

    How to use Password Generator

    1. Choose a password or a passphrase.
    2. Pick the length and the kinds of characters, or the number of words.
    3. Copy the result into your password manager.

    Password Generator at a glance

    Typical use: Make a 16-character password with letters and numbers only: about 95 bits.

    Made with your browser’s cryptographic random numbers; nothing is sent or saved.

    How the passwords are made

    Every character or word is picked with your browser’s cryptographic random number generator (crypto.getRandomValues), the same source browsers use for encryption keys. Numbers that would make some characters slightly more likely are thrown away and drawn again, so every character is exactly as likely as the others.

    The passwords are made on your device and never sent or saved: reload the page and they are gone, so copy the one you want into your password manager.

    How strong is strong enough?

    Strength is measured in bits: each extra bit doubles the number of guesses an attacker needs. The page counts them exactly from your settings, and shows how long guessing would take at 100 billion tries a second, roughly a big cluster of graphics cards attacking a stolen database with a fast hash.

    • Under 40 bits (weak): a 6-character password. Fine only where the number of tries is limited, like a phone PIN.
    • 60–80 bits (strong): 12 random characters, or a 5–6 word passphrase. Good for most accounts.
    • Over 80 bits (very strong): 16 characters or more, or 7 words. Use this for your password manager and e-mail.

    Passwords or passphrases?

    Random characters pack the most strength into a short password, which suits a password manager that types it for you. A passphrase such as quench-ladle-ambush-viral is longer but far easier to remember and type, which is better for the few passwords you must know by heart: your computer login and your password manager. Each word from the 7,776-word EFF list adds about 12.9 bits, so six words give about 77 bits.

    Password Generator example

    A website limits passwords to 16 characters and rejects some symbols. Choose 16 characters, keep lower case, upper case and numbers, and untick symbols: the page shows about 95 bits, “Very strong”, and every password it makes contains at least one of each kind, which many sign-up forms require.

    Prefer the terminal?

    The same in a terminal:

    openssl rand -base64 18

    Gives 24 random characters from letters, digits, + and /. On Linux and macOS, LC_ALL=C tr -dc "A-Za-z0-9!@#%" < /dev/urandom | head -c 20 picks from your own set of characters.

    Frequently asked questions

    Is it safe to use a password made on a website?

    This page makes passwords entirely in your browser with its built-in secure random numbers; nothing is sent to our server or stored. You can check it: once the page (and, for passphrases, the word list) has loaded, it keeps working with your internet connection turned off.

    How long should my password be?

    At least 12 random characters for ordinary accounts and 16 or more for important ones. Length matters more than symbols: each extra character multiplies the guesses needed by the size of the character set.

    Why does “at least one of each kind” lower the bits slightly?

    It rules out the passwords that happen to miss a kind, so there are a few fewer possibilities. The page counts that exactly; for passwords of 12 characters or more the difference is tiny.

    What are look-alike characters?

    I, l and 1, and O, 0 and o are easy to confuse when you read a password aloud or type it from paper. Leaving them out costs a little strength, which the page includes in its count.

    Where does the passphrase word list come from?

    It is the Electronic Frontier Foundation’s long word list for dice passphrases: 7,776 common, distinct English words, chosen to be easy to type and remember. It is published under a Creative Commons Attribution licence.