Random Password Generator
Generate a strong, random password instantly, with control over length and character types.
Generated with crypto.getRandomValues(), a cryptographically secure source, entirely in your browser. Nothing is sent anywhere or stored.
Need the opposite? Bcrypt Generator
What is Random Password Generator?
Pick a length and which character types to include (uppercase, lowercase, numbers, symbols), and get a random password instantly. Uses crypto.getRandomValues(), the same cryptographically secure randomness source browsers use for security-sensitive operations, not the weaker Math.random(). Everything happens in your browser. The password is never sent anywhere, logged, or stored. Copy it and it's yours alone.
How to Use the Random Password Generator
- 1
Set the Length: Use the stepper to choose a password length between 4 and 128 characters.
- 2
Choose Character Types: Toggle uppercase, lowercase, numbers, and symbols on or off to control the character pool.
- 3
Generate a New Password: Click Generate New for a fresh password any time, or toggling an option regenerates automatically.
- 4
Copy the Password: Use the copy button, then store it in a password manager rather than memorizing or reusing it.
How It Works
You choose a length and which character types to include: uppercase letters, lowercase letters, numbers, and symbols. Each enabled type is added to a pool of allowed characters, and the password is built by picking randomly from that pool using crypto.getRandomValues(), the browser's cryptographically secure random source (the same one used for security-sensitive operations like generating session tokens), not the weaker Math.random(). Disabling a character type shrinks the pool, which reduces the total number of possible passwords at a given length. That's reflected honestly in the strength indicator rather than hidden.
Password Strength Guidance
Length matters more than complexity: going from 12 to 16 characters increases the number of possible combinations far more than adding one more character type at a fixed length. If you have to choose between a longer password with fewer character types and a shorter, more "complex" one, favor length. When length isn't a constraint, enabling all four character types (uppercase, lowercase, numbers, symbols) maximizes the character pool and strengthens every position in the password. A generator producing genuinely random output is only half of password security. Reusing the same password across sites, or storing it somewhere insecure, undermines even a strong one. Use a password manager to store what this tool generates rather than memorizing or reusing it.
Common Use Cases
Generating a new password when signing up for an account or resetting one.
Creating temporary or one-time passwords for a shared account, test environment, or onboarding a new team member.
Generating recovery or backup codes where you need a random string with specific length and character constraints.
Frequently Asked Questions
Common questions about Random Password Generator.