🔐 Random Password Generator
Cryptographically secure passwords generated entirely in your browser. Zero data leaves your device.
A password generator is only worth using if the randomness is real. This one uses the browser's cryptographic random source rather than Math.random, generates locally, and never transmits or stores the result. You choose the length and which character classes to include, and it shows an entropy estimate so you can see what the settings actually buy you.
What entropy actually tells you
Entropy is measured in bits and depends on both the length and the size of the character pool. A 16-character password drawn from 26 lowercase letters has about 75 bits. The same length drawn from the full 94 printable ASCII characters has about 105 bits. Each additional bit doubles the number of guesses an attacker needs, so length multiplies while character variety adds. This is why length usually beats complexity.
Why composition rules are weaker than they look
Rules like must contain a symbol and a digit feel secure but reduce the effective search space in a subtle way: attackers know the rule too, so they can skip every candidate that does not satisfy it. Worse, people satisfy such rules predictably — capital first letter, digit at the end, exclamation mark last. A 20-character passphrase of ordinary words routinely beats a 10-character string of forced symbols.
Where to store what you generate
Generate a different password for every account and let a password manager remember them. The manager's master password is the one you actually memorize, and it should be long rather than complicated. For anything that supports it, a hardware key or passkey removes the password from the equation entirely and is strictly better than the strongest password you can type.
Frequently asked questions
Is this generator cryptographically secure?
It uses the browser's crypto.getRandomValues, which draws from the operating system's cryptographic random source. That is the same class of randomness used for key generation, not the predictable Math.random.
How long should a password be?
For a random password, 16 characters is a reasonable default and 20 or more is comfortable. For a passphrase made of ordinary words, five or six words gives comparable strength and is far easier to remember.
Are generated passwords sent anywhere?
No. Generation happens in your browser. There is no network request carrying the output, and nothing is logged.
Should I reuse a strong password?
No. Reuse is what turns one breached site into a compromised account everywhere. A unique password per site means a breach stays contained.