Password Generator
Generate cryptographically secure random passwords. Customize length, character types, and batch generate.
Why Use a Random Password?
Random passwords are significantly harder to crack than human-chosen ones. A 16-character password with mixed character types has over 10^30 possible combinations, making brute-force attacks infeasible.
Cryptographically Secure
This tool uses the Web Crypto API (crypto.getRandomValues()) to generate truly random values, not the predictable Math.random(). Safe for security-sensitive use cases.
How to Generate Secure Passwords
- 1. Set the Password Length using the slider or input field (8-128 characters).
- 2. Select the Character Types you want: uppercase, lowercase, numbers, and/or symbols.
- 3. Optionally enable Exclude ambiguous characters to avoid confusing characters like 0/O and 1/l/I.
- 4. Choose the Count (1, 5, or 10) to batch generate multiple passwords at once.
- 5. Click Generate, then hover over any password and click Copy or use Copy All.
Frequently Asked Questions
How long should my password be?
For most accounts, 16 characters is a solid minimum. For high-security use cases like master passwords or encryption keys, use 20-32 characters or longer. The longer the password, the exponentially harder it is to crack.
Is this password generator safe to use?
Yes. All password generation happens entirely in your browser using the Web Crypto API (crypto.getRandomValues). No passwords are ever sent to a server, stored, or logged. You can verify this by checking the network tab in your browser's developer tools.
What are ambiguous characters and why exclude them?
Ambiguous characters are visually similar characters like 0 (zero) vs O (letter O), 1 (one) vs l (lowercase L) vs I (uppercase i). Excluding them helps avoid typos when manually entering passwords, especially in monospaced fonts.
Should I include special characters in my password?
Yes, when possible. Adding special characters (!@#$%^&* etc.) dramatically increases the character pool, making the password harder to crack. However, some systems restrict which characters are allowed, so adjust accordingly.