Password generator

A strong random password, a passphrase you can remember, or a PIN, made on your device and never saved.

  • Never stored
  • Strength in bits
Kind of password
••••••••••••••••

Strength: Very strong · 99 bits

Length
Characters

Made on this device with crypto.getRandomValues. Not sent and not saved, not even in this browser.

Settings length up to 128, symbols, similar characters, how many
16 characters

The password appears as soon as the page opens and changes with every setting. Pick Password, Passphrase or PIN, set the length, then Copy. The bar under it shows the strength in bits: how many tries a full search would take, written as a power of two.

How to make a strong password

  1. Pick the kind.

    Password for a password manager or a login you paste, Passphrase for one you type from memory, such as the password manager’s own, PIN for a phone, a card or a door code.

  2. Set the length.

    8, 12, 16, 20 and 32 are one tap away. The slider in Settings goes from 4 to 128 characters, for a site that wants exactly 14.

  3. Match the site's rules.

    The four kinds of characters are switches. At least one of each kind in Settings is on, so a site that demands a capital, a digit and a symbol accepts the result.

  4. Copy it into the sign-up form.

    Copy puts it on the clipboard; New makes another one. Save it in your password manager straight away, since this page keeps nothing.

How many characters, and how strong

Strength depends on two numbers: how many characters the generator can pick from, and how many it picks. With lowercase, uppercase, digits and the 13 default symbols there are 75 characters, and each one adds 6.2 bits. A full search of 99 bits means trying 2^99 passwords, which no attacker can do. Shorter or simpler passwords come down fast.

Strength in bits of a random password by length and kinds of characters
Length 8 12 16 20
Lowercase a–z Weak · 38 bits Fair · 56 bits Strong · 75 bits Very strong · 94 bits
Lowercase a–z, Uppercase A–Z Fair · 46 bits Strong · 68 bits Very strong · 91 bits Very strong · 114 bits
Lowercase a–z, Uppercase A–Z, Digits 0–9 Fair · 47 bits Strong · 71 bits Very strong · 95 bits Very strong · 119 bits
Lowercase a–z, Uppercase A–Z, Digits 0–9, Symbols !@# Fair · 49 bits Strong · 74 bits Very strong · 99 bits Very strong · 124 bits
Bits of a random password, with at least one character of each chosen kind. Each row adds one kind.

The label next to the bits is a rule of thumb: under 40 bits Weak, 40 to 59 Fair, 60 to 79 Strong, 80 and more Very strong. Online, a site that limits wrong tries makes even 40 bits hard to guess; the higher bands are for the day a site’s password database leaks and someone tests guesses offline at full speed.

We do not show a “time to crack”. It depends on how the site stores the password and on the attacker’s hardware, and neither is known here. Bits are the part that is certain.

What NIST SP 800-63B says about passwords

The US guidance for login systems, NIST SP 800-63B, was revised in 2025. Its rules for the services that check passwords:

  • at least 15 characters when the password is the only factor, at least 8 with a second factor;
  • a maximum of at least 64 characters allowed;
  • no composition rules, such as “one capital and one symbol”;
  • no forced changes on a schedule, only after signs of a breach;
  • every new password checked against a list of common and leaked ones.

Many sites still ask for a mix of characters, which is why At least one of each kind is on by default. It costs less than a bit: a 16-character password with the rule has 99.4 bits, without it 99.7.

Passphrases: words you can remember

A passphrase picks words at random from the EFF large wordlist, 7,776 English words chosen to be easy to spell and tell apart. The list loads only when you pick Passphrase.

Words Strength Example shape
4 51.7 bits stamp-oxidize-fiddle-curry
5 (the default) 64.6 bits crane-velvet-outing-sprig-plaza
6 77.5 bits lunar-kettle-mosaic-unpaid-ivy-sneer

In Settings, Between words sets the separator (hyphen, space, dot or underscore), Capital first letters changes the look but not the strength, and Add a digit puts one digit at the end of one random word for sites that insist on a number; it adds 5.6 bits for five words. The words must come from the generator, not from you: a phrase you thought of yourself is far easier to guess than its length suggests.

PINs without the obvious ones

A 4-digit PIN has 10,000 possible values, which is 13.3 bits. It is safe only because a phone or a card locks after a few wrong tries. People make that worse by picking the same few PINs: in DataGenetics’ analysis of 3.4 million leaked four-digit codes, the 20 most common made up about a quarter of all of them.

Avoid obvious PINs is on and leaves out repeats such as 0000 and 1212, runs such as 1234 and 9876, those 20 common codes, and the years 1900 to 2099. For four digits that is 314 codes, so 9,686 remain. For six and eight digits the repeats and runs are left out.

A site rejects the password: invalid characters and other problems

The site says the password contains an invalid character

Open Settings and delete the refused symbols from Symbols to use, or switch Symbols off. The new password follows at once.

I have to type the password on a TV or read it out

Turn on Leave out similar characters to drop I, l, 1, |, O, 0 and o, or use a passphrase, which is plain words.

The site has a maximum length

Pick a shorter pill or set the exact length with the slider. If the maximum is under 12, use all four kinds of characters to keep the strength up.

I need passwords for a whole class or team

Set How many at once in Settings to up to 50. They show under the first one, each with its own copy button, and Copy all copies them one per line.

Privacy

The password is made by your browser’s cryptographic random generator, crypto.getRandomValues, and nothing on this page uses the weaker Math.random. A choice that would favour some characters (the “modulo bias”) is avoided by drawing again. The page sends nothing and stores nothing: no history, no cookies, no saved settings. To lock a document with the new password, open Protect PDF; the password is not passed on, so paste it there yourself. For a fair draw between names, the Spin the wheel tool uses the same random generator.

Questions about Password generator

How long should a password be?

At least 15 characters if the password is the only thing protecting the account, which is the minimum in NIST SP 800-63B (2025). Where you also use a second factor, such as a code from an app, 12 is plenty. A password manager does not care about length, so 20 costs you nothing.

Is a 12-character password strong enough?

A random one, yes, for most accounts: 12 characters from letters, digits and 13 symbols give about 74 bits. That is out of reach of guessing as long as the site stores passwords properly. For a password manager, email or banking login, take 16 or more.

Can this site see the passwords it makes?

No. The password is made by your browser with crypto.getRandomValues and shown on your screen. It is not sent to a server, not written to the address, and not stored in this browser. Close the tab and it is gone.

What is a passphrase, and is it as strong as a password?

A passphrase is a few random words, such as crane-velvet-outing-sprig-plaza. Each word from the 7,776-word EFF list adds 12.9 bits, so five words give 64.6 bits and six give 77.5. It is longer to type than a password of the same strength but much easier to remember and say aloud.

Why does a site reject the password?

Some sites refuse certain symbols or cap the length at 16 or 20. Open Settings, take the refused symbols out of Symbols to use, or pick a shorter length. If a site demands a digit and a symbol, keep At least one of each kind on.

Should I change my passwords every few months?

Not on a schedule. NIST tells services not to force periodic changes, because people then pick weaker, predictable passwords. Change a password when the service reports a breach or you suspect someone knows it.

Updated November 20, 2026