Password Generator

Create strong, random passwords with secure cryptography. Pick a length and character sets — everything runs locally in your browser.

PasswordClick generate
Strength
Advertisement

How to use the password generator

  1. Drag the length slider to choose a password between 8 and 64 characters. Longer is stronger.
  2. Check or uncheck the character sets — uppercase letters, lowercase letters, numbers and symbols.
  3. Click Generate password to create a fresh, random password.
  4. Read the strength hint and copy the password into your password manager or account form.

How the randomness works

This tool uses the browser's cryptographic random number generator, crypto.getRandomValues, rather than the ordinary Math.random that most quick password scripts use. Math.random is not designed for security — it is predictable enough that a determined attacker can narrow down the possible values. The cryptographic generator is seeded from a source of genuine entropy supplied by your operating system, which makes the output suitable for real passwords.

The generator also uses rejection sampling when picking each character. This avoids the subtle bias that appears when a naive script reduces a large random number into a smaller range with a modulo operation, ensuring every character is equally likely to be chosen.

What makes a password strong

Password strength comes from two things: length and variety. Every additional character multiplies the number of possible passwords, so a 16-character password is vastly harder to guess than an 8-character one. Using several character sets — especially symbols — multiplies the possibilities further. The strength hint below the password estimates the entropy based on both factors.

Privacy you can trust

Because the entire generator runs in your browser, the passwords you create are never sent to a server, logged, or stored. You can generate passwords for sensitive accounts without worrying about where they might end up.

Frequently asked questions

No. The entire generator runs in your browser using local cryptography. Passwords are never transmitted, logged or stored.
At least 12 characters for everyday accounts. Use 16 or more for anything important, and 20 or more for master passwords.
Yes. It uses crypto.getRandomValues, a cryptographically secure generator backed by your operating system, not the predictable Math.random.
Yes, completely free with no signup and no limits.