Developer Tools

Password Generator

Create strong random passwords and passphrases in your browser with a cryptographically secure generator.

20
Very strong · 129.5 bits of entropyBrute force at 10 billion guesses/s: 1,520,000,000,000,000,000,000 years

    Passwords are generated with crypto.getRandomValues on your device. They are never sent or stored; only your settings are remembered.

    About this tool

    A strong password is long and random. Humans are bad at randomness: we pick words, dates and patterns that password-cracking tools try first. This generator uses your browser's cryptographically secure random number generator (crypto.getRandomValues), the same source used to create encryption keys, to build passwords no one can predict.

    Choose the length and character types, avoid look-alike characters if you will type the password by hand, or switch to passphrase mode for several random words that are easier to remember. The strength meter shows the entropy in bits and how long a brute-force attack would take. Passwords are created on your device and never sent anywhere.

    How to use Password Generator

    1. Choose Password or Passphrase.
    2. For a password, set the length (16 or more is a good default) and the character types. Leave out symbols a website rejects with the "Characters to leave out" box.
    3. For a passphrase, choose the number of words (5–6 is a good balance), a separator, and whether to capitalize words or add a digit.
    4. Check the strength bar and entropy, then copy one password or the whole list. Click Generate for new ones.
    5. Store the password in a password manager rather than reusing it or writing it down.

    Examples

    16 characters, letters and digits

    Input
    A–Z, a–z, 0–9 · length 16
    Result
    95.3 bits of entropy – very strong

    62 possible characters per position: 16 × log2(62) ≈ 95.3 bits.

    8 lowercase letters

    Input
    a–z only · length 8
    Result
    37.6 bits – cracked in about 10 seconds at 10 billion guesses/s

    This is why short passwords are unsafe even when random.

    Six-word passphrase

    Input
    6 words · separator "-" · capitalized + digit
    Result
    e.g. Lamp-Coral-Brick7-Tune-Wise-Frost · 61.2 bits

    What makes a password strong

    • Length matters most. Each extra character multiplies the number of possibilities; 16 random characters are far stronger than 8 with every symbol type.
    • Randomness, not complexity. "P@ssw0rd!" has all character types but is in every cracking dictionary. Generated passwords have no pattern to exploit.
    • One password per site. Most accounts are breached through passwords leaked from another site. A password manager makes unique passwords practical.
    • Turn on two-factor authentication where available; it protects you even if a password leaks.

    How entropy and crack time are calculated

    Entropy is length × log2(number of possible characters) for a password, or number of words × log2(word-list size) for a passphrase (the word list here has 595 words, about 9.2 bits each). Every extra bit doubles the work for an attacker.

    The crack time assumes an offline attack at 10 billion guesses per second, roughly a GPU rig against a fast hash such as MD5, and that on average half the possibilities must be tried. Websites that store passwords with slow hashes like bcrypt or Argon2 are millions of times harder to attack, while online login forms are limited to a few attempts.

    Frequently asked questions

    Everything you need to know about this tool and data security.

    Is it safe to generate a password on a website?

    Here the password is generated entirely in your browser by JavaScript and never sent over the network or stored; only your chosen settings are remembered in local storage. You can disconnect from the internet after loading the page and it still works.

    How long should my password be?

    At least 12 random characters for ordinary accounts and 16 or more for email, banking and password-manager master passwords. NIST guidelines recommend allowing long passwords and favouring length over forced complexity.

    Password or passphrase?

    For anything a password manager fills in, use a long random password. For the few passwords you must type or remember, such as the manager's master password, a passphrase of 6 or more random words is easier to type and still strong.

    Why avoid look-alike characters?

    Characters such as I, l, 1, O and 0 are easy to confuse when reading a password aloud or typing it from paper. Excluding them slightly reduces entropy, so add a character or two to compensate.

    Is my data safe when using this tool?

    Yes, 100% safe. This tool operates entirely inside your web browser using client-side JavaScript and WebAssembly. Your data never touches any external server.