Strong Password Generator

Create strong, random passwords with cryptographic randomness, generated on your device and never sent anywhere.

Was this tool helpful?

How to use the Password Generator

  1. 1Choose the password length (16+ characters recommended).
  2. 2Select which character types to include.
  3. 3Copy the password and save it in a password manager.

What makes a password strong?

Length matters most. A random 16-character password using upper and lower case letters, numbers and symbols has over 100 bits of entropy and would take longer than the age of the universe to brute-force. Never reuse passwords across sites; use a password manager to remember them.

How strong is a random password?

Strength is measured in bits of entropy: length × log₂(number of possible characters). Each extra character multiplies the guesses needed by about 94 when you use letters, numbers and symbols.

Random passwordEntropy (bits)Verdict
8 lowercase letters38Weak: crackable offline
8 mixed characters52Fair
12 mixed characters79Strong
16 mixed characters105Strong
20 mixed characters131Strong

Current best practice

  • Length beats complexity: the US NIST guidelines (SP 800-63B, 2025 revision) recommend at least 15 characters for passwords used on their own.
  • Use a different password for every account, so one leak doesn't unlock the rest.
  • Store them in a password manager rather than a note or spreadsheet.
  • Turn on two-factor authentication or passkeys for email, banking and social accounts.
  • Change a password when there is a breach, not on a fixed schedule.

How strength is measured

Strength depends on length and on how many different characters each position can be. With upper and lower case letters, digits and the 25 symbols this generator uses, every character has 87 possibilities, which adds about 6.4 bits of entropy. The meter shows Weak below 50 bits, Fair below 70, Strong below 100 and Very strong from 100 bits.

The generator uses your browser's cryptographic random source, guarantees at least one character from each type you select, and then shuffles the result so the guaranteed characters aren't always at the start.

Worked example: how long a guess attack would take

Assume an attacker has stolen a database with a fast password hash and can test a trillion (10^12) guesses per second, a well-equipped offline attack. On average they search half of all possibilities before hitting yours:

LengthEntropyAverage time to crack
8 characters52 bitsabout 27 minutes
12 characters77 bitsabout 2,979 years
16 characters103 bitsabout 2 × 10^11 years
20 characters129 bitsabout 1 × 10^19 years

Habits that matter more than any generator

  • Use a different password for every account. Reuse, not weakness, is how most accounts get taken over after another site is breached.
  • Store passwords in a password manager instead of memorising them.
  • Turn on two-factor authentication for email, banking and anything with payment details.
  • "Avoid look-alike characters" removes I, l, 1, O, 0 and o: handy for passwords you'll type by hand, at a tiny cost in strength.

Frequently asked questions

Is it safe to generate passwords online?

Here, yes. Passwords are created with your browser's cryptographically secure random generator (crypto.getRandomValues) and are never transmitted or stored.

How long should my password be?

At least 12 characters, and 16 or more for important accounts like email and banking.

Are passphrases better than random passwords?

A passphrase of 5–6 random words (like "maple-orbit-tunnel-quiet-lemon") is about as strong as a 12–14 character random password and much easier to type and remember, as long as the words are truly chosen at random.

How long should a password be?

At least 12 characters, and 16 or more for important accounts. A random 16-character password has about 103 bits of entropy, which would take about 2 × 10^11 years to crack at a trillion guesses per second.