Security

Password Generator

Generate strong random passwords with control over length, character sets and ambiguous characters.

Privacy: This tool runs entirely in your browser. Your data never leaves your device and is never uploaded to any server.

…

None

How to use this password generator

  • Set the length and choose which character sets to include.
  • Decide whether to allow ambiguous characters such as l, 1, O and 0.
  • Generate and copy the result.
  • Passwords are created with the Web Crypto API and never leave your device.

How length changes the search space

Assuming the full set of 95 printable ASCII characters, and an attacker who can try a billion combinations every second:

LengthCombinationsTime to exhaust them
8 characters6.6 × 10^15About two months
12 characters5.4 × 10^23About 17 million years
16 characters4.4 × 10^31Longer than the Earth has existed
20 characters3.6 × 10^39Effectively forever

What actually makes a password strong

Strength comes from unpredictability, and unpredictability comes from length multiplied by the size of the pool you draw from.

That is entropy, measured in bits. A short password full of symbols can be weaker than a long one built from a larger alphabet.

Length beats complexity

Adding characters grows the search space far faster than adding exotic symbols does. Going from 12 to 16 characters multiplies the effort enormously, while swapping one letter for a symbol barely moves it.

This is why current guidance favours long passphrases and generated random strings over elaborate substitution rules.

Why ambiguous characters are skipped

When someone has to read a password aloud or retype it from a screen, l, I and 1 blur together, as do O and 0.

Excluding them costs a little entropy and removes a class of support tickets. It is almost always the right trade.

Generating is easy; storing is the hard part

A generated password is only useful if you can retrieve it later. Store it in a password manager rather than memorising it or writing it down.

And whatever you do, do not store the password itself on a server. Store a bcrypt, scrypt or Argon2 hash of it.

Frequently asked questions

How are passwords generated?

Passwords are created locally using the Web Crypto API, so they are never sent to a server.

What makes a password strong?

Length and a mix of lowercase, uppercase, numbers and symbols. The strength meter reflects this entropy.

Are ambiguous characters really a problem?

Characters like l, I, 1, O and 0 are easy to confuse when typing or reading. Excluding them can reduce mistakes.

How long should a generated password be?

Sixteen characters is a comfortable default for a normal account. Go longer for anything protecting a master key, a server or a recovery account.

Does the strength meter measure real entropy?

It reflects the size of the search space your settings create — the length multiplied by the number of possible characters. It cannot know whether a password was reused elsewhere.

How am I supposed to remember these?

You are not. Generated passwords belong in a password manager, which types them for you. That is what makes a different password per site practical.

More Security tools