Password Policy Generator

Generate password validation rules and regex patterns for security requirements

All processing happens in your browser. No data is uploaded.
Offline Ready

Password Policy Generator

Configure password requirements, generate a matching regex pattern, and get a human-readable policy description.

🔒All processing happens in your browser. No data is uploaded.
Policy Configuration
minimum
minimum
minimum
minimum
Generated Regex Pattern
^(?=.*[A-Z])(?=.*[a-z])(?=.*\d)(?=.*[!@\#\$%\^&\*\(\)_\+\-=\[\]\{\}\|;:\,\.<>\?])[A-Za-z0-9!@\#\$%\^&\*\(\)_\+\-=\[\]\{\}\|;:\,\.<>\?]{8,128}$
Policy Description
  1. Password must be between 8 and 128 characters long.
  2. Must contain at least 1 uppercase letter (A-Z).
  3. Must contain at least 1 lowercase letter (a-z).
  4. Must contain at least 1 digit (0-9).
  5. Must contain at least 1 special character (!@#$%^&*()_+-=[]{}|;:,.<>?).
  6. Spaces are not allowed.
  7. Must not be a commonly used password.
Test a Password
Enter a password to test against the policy