Live tool · CSPRNG

Random Password Generator

Cryptographically secure random passwords with crypto.getRandomValues() — generated locally in your browser, free and online. Default: 20 characters, all character types.

Your password

Estimated entropy
20
Uppercase (A–Z)
Adds 26 characters to the pool
Lowercase (a–z)
Adds 26 characters to the pool
Numbers (0–9)
Adds 10 characters to the pool
Symbols (!@#…)
Adds 33 characters to the pool
Exclude ambiguous characters
Removes I, l, 1, O, 0 — useful when read aloud or transcribed

Generated locally in your browser — nothing is sent anywhere, and the clipboard is the only place it goes when you choose to copy.

Why getRandomValues matters

Math.random() is a predictable pseudo-random generator — its future outputs can be reconstructed from observed ones. crypto.getRandomValues() draws from the operating system's CSPRNG, the same source browsers use for TLS keys. OMP additionally uses rejection sampling and a secure Fisher–Yates shuffle, so output is unbiased.

How OMP builds each password

  • One guaranteed character from every selected type
  • Remaining positions drawn uniformly from the combined pool
  • Everything shuffled with CSPRNG randomness

Need something memorable?

Random words beat random characters for memorization. A 5-word passphrase from a 1,296-word list carries ~52 bits; 7 words ~72 bits.

Try the passphrase generator
FAQ

Random password generator — common questions

Is this random password generator free and online?

Yes — free, no account, and it runs in your browser on crypto.getRandomValues(). Nothing is transmitted, so the generator keeps working even if your connection does not.

How many characters should a random password have?

12 characters is a practical floor, 15–16 is the current sweet spot, and 20 is the default here. Every extra character multiplies the search space, so length beats every other trick.

Can I generate a random password with special characters?

Yes — uppercase, lowercase, numbers and symbols are included by default, and every character type is enforced before a secure shuffle. Sites that reject symbols can be served with the type toggles.

What is an easy-to-remember strong password?

A passphrase: several random words strung together, like the Passphrase Generator builds. Randomness — not cleverness — is what makes it strong, and 5–7 words is both memorable and slow to crack.