Trình tạo chính sách mật khẩu

Tạo quy tắc xác thực mật khẩu và mẫu regex cho yêu cầu bảo mật

Mọi xử lý diễn ra trong trình duyệt của bạn. Không có dữ liệu nào được tải lên.
Offline Ready

Password Policy Generator

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

🔒Mọi xử lý diễn ra trong trình duyệt của bạn. Không có dữ liệu nào được tải lên.
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