A new password for every account.

The safest password is long, random and used for one account only. People are poor at inventing random strings, so let your device do it.

Choose a length and the kinds of characters a site allows, and a fresh password appears straight away, with an honest strength score. Then save it in your password manager and let it do the remembering.

Runs in your browser. Nothing is uploaded.

More security tools · All 54 tools

How to use it

  1. Drag the Length slider. 16 characters or more suits most accounts.
  2. Keep Lowercase, Uppercase, Digits and Symbols on, unless a site rejects one of them.
  3. Leave Avoid look-alikes (I, l, 1, O, 0) ticked if you may ever need to read or type the password by hand.
  4. Set How many if you want several to choose from.
  5. Press Copy first password and save it straight into your password manager, or Generate again for a new one.

Good to know

How the passwords are made

Every character comes from crypto.getRandomValues, the browser’s cryptographic random source. Each draw uses rejection sampling, so no character is more likely than another. When you choose more than one type, the tool also makes sure each type appears at least once: it simply throws away any password that misses a type and draws again. That keeps every valid password equally likely.

The character sets

SetCountWithout look-alikes
Lowercase a–z2625 (no l)
Uppercase A–Z2624 (no I, O)
Digits 0–9108 (no 1, 0)
Symbols !@#$%^&*()-_=+[]{};:,.?/2424

What the strength score means

Entropy counts, in bits, how many passwords the generator could have produced. Each extra bit doubles the guessing work. For a password of length L from a pool of N characters:

bits ≈ L × log2(N)

Because at least one of each type is required, the tool counts the valid passwords exactly (by inclusion and exclusion) and shows log2 of that number, which is slightly lower. Worked example: 20 characters, all four types, look-alikes avoided, gives N = 81 and 20 × log2(81) ≈ 126.8 bits. The exact count gives about 126.6, shown as 127 bits. At 8 characters the same settings give about 50 bits.

The labels are: under 60 bits Weak, 60 to 79 Reasonable, 80 to 99 Strong, 100 or more Very strong.

What the guidance says

NIST SP 800-63B favours length over complicated rules, asks services to accept long passwords and pasting from password managers, and recommends checking new passwords against lists of leaked ones. A long random password from here passes all of that. The score applies only because the password is random: the same length chosen by a person is far weaker.

The one thing a generator cannot fix

Reusing a password. If one site leaks, attackers try the same password everywhere else. One password per account, kept in a password manager, matters more than any extra bits.

Questions.

Are these passwords stored or sent anywhere?

No. They are created on your device, shown on this page and forgotten when you leave. Nothing is saved or sent.

How long should my password be?

At least 16 random characters for everyday accounts, and longer for email and banking logins, which protect everything else. A password manager makes the length painless.

Why does the score drop when I untick a type?

A smaller pool gives each character fewer possibilities. Twelve lowercase letters give about 56 bits; twelve characters from all four types give about 75.

A site says my password has an invalid character. What do I do?

Untick Symbols, or try again until you get one the site accepts, and add a few characters to make up the strength. Some sites reject particular symbols.

Why avoid look-alikes?

I, l and 1, and O and 0, are easy to confuse in many fonts. Leaving them out costs a fraction of a bit per character and saves mistakes when typing a password on a TV or a second device.

Is a passphrase better?

A passphrase of several random words is easier to type and remember, and can be just as strong if it is long enough. For passwords you never type, random characters from a manager are simplest.