Password Generator

Generate cryptographically secure random passwords. Nothing is sent to any server.

Length16

Characters

Weak

What makes a strong password?

A strong password combines length (16+ characters), mixed character types (uppercase, lowercase, numbers, symbols), and true randomness. This tool uses crypto.getRandomValues() — the browser's cryptographically secure random number generator — ensuring unpredictability.

Length ≥ 12

Longer passwords are exponentially harder to brute-force.

Mixed characters

Combining character sets dramatically increases the search space.

Unique per site

Use a password manager so each account gets a different password.

How to generate a strong password

  1. Set the length with the slider. 16 is a sensible minimum; the tool goes from 4 to 128.
  2. Keep all four character types on unless the site you're signing up to forbids some.
  3. Need several, say for a batch of test accounts? Set the count (up to 50).
  4. Click Generate, copy, and save it straight into your password manager.

What makes a password strong

Strength is about how many guesses an attacker would need, which security people measure as entropy, in bits. For a randomly generated password, it's easy to calculate: length × log₂(size of the character pool). This generator draws from up to 88 characters (26 uppercase, 26 lowercase, 10 digits, 26 symbols), which gives about 6.5 bits per character.

LengthLowercase onlyAll character types
838 bits52 bits
1256 bits77 bits
1675 bits103 bits
2094 bits129 bits

Every extra bit doubles the work. Around 80 bits, a password is out of reach even for an attacker with a large cluster of GPUs attacking a fast, poorly chosen hash. Notice in the table that adding length helps more than adding character types. We walk through the maths and the crack-time estimates in How long should a password be?

One important caveat: these numbers only hold for randompasswords. A human-chosen "P@ssw0rd2026!" has all four character types and still falls in seconds, because cracking tools try common words with predictable substitutions first.

How this generator works

Each character is picked with crypto.getRandomValues(), the browser's cryptographically secure random number generator, which is seeded by the operating system. We use rejection sampling to map random numbers onto the character pool, so no character is ever slightly more likely than another. A naive random % 88 would have a tiny bias. Nothing is stored: refresh the page and the passwords are gone for good.

Good password habits

  • One password per site. Reuse is how a breach at one service turns into access to your email and bank. Credential-stuffing attacks depend on it.
  • Use a password manager. It's what makes unique, random passwords practical.
  • Turn on two-factor authentication for email, banking and anything that can reset other accounts. Passkeys are even better where offered.
  • Don't rotate for the sake of it. Current NIST guidance (SP 800-63B) advises against forced periodic changes. Change a password when there's a reason to, such as a breach.

Frequently asked questions

Is it safe to generate a password on a website?+

It is with this one, because the password is created by your own browser and never transmitted: there's no server-side code involved at all. You can check by opening your browser's network tab while clicking Generate. Nothing is sent.

How long should my password be?+

For a random password like the ones generated here, 16 characters with all four character types gives about 103 bits of entropy, far beyond what any attacker can brute-force. Go to 20 or more for things like a password manager's master password or disk encryption keys.

Does every password include a number and a symbol?+

Yes. Each password contains at least one character from every type you've selected, so it passes the usual 'must contain a digit and a symbol' rules. Passwords that miss a type are thrown away and redrawn, which keeps them fully random.

What should I do if a site rejects some symbols?+

Some sites only allow a subset of symbols. Untick Symbols and add a few characters of length instead: a 20-character password of letters and digits is still stronger than a 16-character one with symbols.

How do I remember a password like this?+

You don't. Store it in a password manager such as Bitwarden, 1Password or the one built into your browser or phone. The only password worth memorising is the one that unlocks the manager, and for that a long passphrase of random words is easier to type.

Last updated October 16, 2026