Secure Password Generator

Generate strong, random passwords with customizable length and character types.

Free Runs in your browser
Strong

How to use

  1. 1 Set the desired password length using the slider or number input.
  2. 2 Toggle character sets: uppercase letters, lowercase letters, numbers, and symbols.
  3. 3 Click Generate to create a new cryptographically random password.
  4. 4 Click Copy to store it in your password manager.
  5. 5 Use the Strength indicator to ensure the password meets your security requirements.

Key features

  • Configurable length (4–128 characters) with granular character set controls
  • Uses the Web Crypto API for cryptographically secure randomness
  • Visual strength indicator shows estimated entropy and security level
  • Generate one or multiple passwords in a single click

What Makes a Password Strong?

Password strength comes down to entropy — the number of possible combinations an attacker needs to try. Entropy is measured in bits: each extra bit doubles the search space. A 72-bit password takes roughly 10 billion times longer to crack than a 40-bit one.

NIST SP 800-63B (the US federal password guideline) recommends at least 8 characters for user-set passwords, and at least 6 characters for system-generated ones — but for any account worth protecting, 16+ random characters with mixed types is the practical target. Length matters far more than complexity rules like "must contain !@#".

Common Use Cases

Account creation

Generate a strong random password for a new account and save it directly in your password manager.

Database credentials

Create long random passwords for MySQL, PostgreSQL, or Redis root users and service accounts.

API keys and secrets

Generate random strings for application secrets, JWT signing keys, or webhook verification tokens.

Wi-Fi and router passwords

Set a strong passphrase for your router that is random enough to resist dictionary attacks.

Test data and seed scripts

Populate test users with realistic-looking random passwords in database seeders or fixtures.

Rotating compromised credentials

Quickly generate a replacement password after a data breach notification or a forced reset.

Entropy by Character Set

Bits of entropy per character, depending on which characters you allow.

Character setPool sizeBits/charBits at 16 chars
Lowercase only264.7075
Lower + Uppercase525.7091
Lower + Upper + Digits625.9595
+ Symbols (~32 extra)946.55105