Password Generator
Generate a strong, random password with your choice of length and character types — uses your browser's cryptographically secure random number generator, not a weaker predictable one.
About the Password Generator
A password's strength comes from two things: length, and how many possible characters could appear at each position. Both matter more than most people expect — adding four characters to a password can increase the number of possible combinations by a larger factor than adding an entire extra character type.
Why the randomness source matters
Many simple password generators use JavaScript's basic Math.random(), a fast but predictable algorithm never intended for security purposes. This tool uses the Web Crypto API instead (crypto.getRandomValues) — a cryptographically secure random source, the same category used to generate actual encryption keys, which is the appropriate standard for something meant to resist guessing.
Practical guidance
- 12 characters is a commonly cited modern minimum; longer is generally better, and length matters more than complexity past a certain point.
- Using all four character types (upper, lower, numbers, symbols) maximizes the possible combinations for a given length.
- A password manager that generates and stores a unique password per site is stronger in practice than memorizing one strong password reused everywhere — reuse is a bigger real-world risk than password strength itself.
Frequently Asked Questions
Is this actually secure, or just random-looking?
It uses your browser's Web Crypto API (crypto.getRandomValues), which is a cryptographically secure random number generator — the same category of randomness used for actual security purposes, not the weaker, predictable Math.random().
Are generated passwords stored or sent anywhere?
No — everything happens locally in your browser. Nothing is transmitted or logged.
What length password should I use?
12 characters or more is a common modern minimum recommendation; longer is generally stronger. Using all four character types (upper, lower, numbers, symbols) increases the number of possible combinations significantly.