Password Generator: Create Strong Random Passwords

Strong random passwords with crypto randomness.

Include

Generated with your browser's secure random generator. Nothing is stored or sent anywhere.

This password generator creates strong, random passwords in your browser. Choose a length from 4 to 128 characters, select uppercase letters, lowercase letters, numbers and symbols, and optionally remove characters that look alike. A strength meter shows the estimated entropy. Passwords are created with the browser's cryptographic random number generator and are never stored, logged or sent anywhere.

How to use the random password generator

  1. Move the slider to set the length. 16 or more is recommended.
  2. Tick the character types you want. Some websites do not allow symbols; untick them if needed.
  3. Tick Avoid look-alikes if you will type the password by hand.
  4. Press Generate new until you are happy, then Copy password and save it in your password manager.

Why this is a strong password generator

Many simple generators use Math.random(), which is predictable and not designed for security. This tool uses crypto.getRandomValues(), the same cryptographically secure source used by password managers and browsers for encryption keys. It also avoids "modulo bias" by rejecting random values that would make some characters slightly more likely than others. The password always contains at least one character from each type you selected, and the order is shuffled randomly.

How strength is measured

Strength is shown as entropy in bits:

Entropy = length × log2(pool size)

With all four types the pool has 87 characters, so each character adds about 6.4 bits. A 16-character password has about 103 bits of entropy. Every extra bit doubles the number of guesses an attacker needs. Roughly, under 40 bits is weak, 60–80 is good and 80 or more is strong for online accounts.

Worked example

For a bank login that allows symbols, choose 20 characters with all four types: about 129 bits, shown as Strong. For a Wi-Fi password that guests will type on a TV remote, choose 16 characters, letters and numbers only, with look-alikes removed. The pool shrinks to 54 characters, giving about 92 bits, still strong and much easier to type without mistakes.

Password safety tips

  • One account, one password. Reused passwords let one leak unlock many accounts.
  • Use a password manager to store passwords instead of a notebook or a notes app.
  • Turn on two-factor authentication for email, banking and social media.
  • Never share OTPs or passwords on calls or messages, even if the caller claims to be from your bank.
  • Length beats complexity. Adding characters raises strength faster than adding symbol types.

Making a QR code for your Wi-Fi network or a link? Use the QR code generator. For counting characters in a password policy or bio, try the word counter.

Last updated:

Password Generator FAQ

Is this password generator secure?

Yes. It uses crypto.getRandomValues, the browser's cryptographic random source, and never Math.random.

How long should my password be?

Use at least 16 characters for important accounts. Longer is stronger.

What are look-alike characters?

Characters such as 0 and O or 1, l and I that are easy to confuse when typing. You can exclude them.

Are generated passwords saved or logged?

No. They exist only on your screen until you close the page.

Should I reuse a strong password on many sites?

No. Use a different password for each account and store them in a password manager.