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
- Move the slider to set the length. 16 or more is recommended.
- Tick the character types you want. Some websites do not allow symbols; untick them if needed.
- Tick Avoid look-alikes if you will type the password by hand.
- 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: