Password generator

Generate strong random passwords in one click, with optional length and character types, plus a strength rating and estimated brute-force crack time. Passwords are generated locally and never uploaded.

Your password (click the password to copy)
Generating…
Generating…
Generation options
Tip: the longer the password, the safer it is; symbols may not be accepted by some older systems, so uncheck them if needed.
Strength analysis

Length beats cleverness

Password strength is measured in entropy — the number of guesses an attacker would need on average. It depends on the size of the character set and, critically, on the length:

KindCharacter setEntropy per character
Digits only10~3.3 bits
Lowercase letters26~4.7 bits
Letters and digits62~5.95 bits
Mixed case, digits, symbols~94~6.55 bits

The arithmetic favours length. A 16-character passphrase of ordinary words can easily beat an 8-character jumble of symbols, and it is far easier to remember. Roughly, each additional character multiplies the search space, while adding a symbol class only multiplies it by a constant.

Patterns that destroy entropy

What to do instead

  1. Use a password manager and let it generate a long random string for every account.
  2. For the few passwords you must memorise, use a multi-word passphrase of four to six unrelated words.
  3. Turn on two-factor authentication wherever it is offered — it defeats a stolen password outright.
  4. Never reuse a password across sites, and change any that appears in a breach notification.

Security questions are a workaround

Account recovery questions are often weaker than the password: answers like a mother's maiden name or a first school are discoverable. The common defence is to store the answer as a second random string in the manager — it does not need to be true, only consistent.

Related tools

Hash generator UUID generator Encrypt / decrypt

FAQ

How long should a password be to stay safe?
With upper case, lower case, digits and symbols, 12+ characters is a reasonable baseline and 16+ is recommended for important accounts. Length matters more than complexity.
Are generated passwords recorded anywhere?
No. Passwords are generated locally in your browser using the built-in cryptographically secure random number generator (crypto.getRandomValues). They never pass through a server and disappear when you refresh the page.
Why exclude look-alike characters?
0 vs O, and 1 vs l vs I are hard to tell apart in handwriting or certain fonts, so copying or typing a password by hand often goes wrong. Excluding them means fewer mistakes.
How is the estimated crack time calculated?
It estimates the keyspace from the entropy "password length × log2(character-set size)", then assumes an attacker trying 100 billion attempts per second (a high-end offline brute-force assumption) and takes the average — the time to try half the keyspace.