Password generator

Length
Characters to use
Rules

    Last updated October 27, 2026 · How this tool is checked · Works without an internet connection once opened

    Related guides: Staying safe with QR codes and passwords

    How it works

    Choose what to make. Password builds a random string from the characters you allow. Passphrase joins several random everyday words, which is easier to remember and type. PIN makes a random number for a phone or card. Check strength estimates how strong a password you already have is. Everything is created in your browser with its built-in secure random number generator, and nothing is sent anywhere or stored. Your options, but never your passwords, are remembered in your browser so they are ready next time.

    How the strength is measured

    Strength is shown as bits of randomness. Each bit doubles the number of guesses an attacker needs. A password of length L chosen at random from a pool of N characters has about L x log2(N) bits. A random 20-character password using all four character types has about 128 bits, and a six-word passphrase from this list has about 67 bits. As a rough guide, under 40 bits is weak, 60 bits or more is reasonable for ordinary accounts, 80 bits or more is very strong, and 100 bits or more is excellent. The time estimates assume an attacker has stolen a database of protected passwords and is guessing offline, at 100 billion guesses per second for a fast method and 10,000 per second for a deliberately slow one. Real attackers vary, so treat the times as a comparison, not a promise.

    What makes a password strong

    Passwords, passphrases and PINs

    When to use a passphrase

    A long random password is ideal for sites where a password manager fills it in. For the few passwords you must remember and type, such as your password manager, your computer login or your email, a passphrase of six or more random words is easier to type and still very hard to guess. The words must be chosen at random by the generator. A phrase you invent, a song lyric or a quote is much easier to guess. The word list here has 2,284 everyday words, so each word adds about 11 bits.

    When a PIN is enough

    A PIN only protects you when the device or service locks after a few wrong tries, as phones and bank cards do. Six digits is better than four. Avoid birthdays, years, repeated digits and runs such as 1234, which the generator avoids by default.

    Look-alike characters and site rules

    If you will read a password aloud or type it from paper, avoid look-alike characters such as 0 and O or 1, l and I. Some sites limit length or reject certain symbols. If a site refuses a password, turn symbols off or exclude the characters it rejects, and increase the length to make up for it.

    Optional rules

    Rules such as no repeated characters or starting with a letter slightly reduce the number of possible passwords, so use them only when a site demands them. The strength shown accounts for them. Requiring one of each type has a tiny effect at normal lengths and is ignored in the calculation.

    A simple password routine

    1. Use a different password for every account, generated and stored in a password manager.
    2. Choose one strong passphrase for the manager itself and for your main email.
    3. Turn on two-factor authentication for email, banking and anything important.
    4. Change a password at once if a service reports a breach, and anywhere else you used it. Go to the site directly instead of following links in emails.

    What to avoid

    Common questions

    How long should a password be?

    Sixteen random characters or more is a common choice for important accounts, subject to each site's limits. For passphrases, use six words or more.

    Is it safe to generate passwords online?

    This tool runs entirely in your browser and does not transmit what it creates. You can confirm this by disconnecting from the internet after the page has loaded. For important accounts, also turn on two-factor authentication.

    Should I include symbols?

    Symbols add variety, but some sites reject certain ones. Length adds more strength than symbols do. If a site refuses the password, try turning symbols off and increasing the length.

    Is a passphrase as strong as a random password?

    Per character, no, but per effort to remember, often yes. A six-word passphrase has about 67 bits, which is about as strong as a random 10-character password using all character types, and much easier to remember.

    Does the generator remember my passwords?

    No. Nothing is saved except your option settings, so copy the password into your password manager before leaving the page.

    How accurate is the strength checker?

    It is a rough estimate. It looks at length, the kinds of characters, repeats, sequences, common passwords and everyday words. It cannot know whether a password appeared in a past breach, so a password that scores well can still be unsafe if it was exposed.

    Why does the generator use a different random source than other tools?

    It uses the browser's cryptographic random number generator, the same source used for encryption keys, rather than the ordinary random function, which is not designed to be unpredictable. It also avoids a subtle bias that appears when random numbers are scaled down to fit a character set.

    More free tools