How to use:
Enter one or more constraints (one per line) that your password must satisfy.
Each constraint is a JavaScript regular expression.
Click "Generate Passwords" to create 5 random passwords that match all constraints simultaneously.
Example Constraints:
^.{16,32}$ - must be between 16 and 32 characters long
^[\x21-\x7E]*$ - contains only printable ASCII characters
[0-9] - must contain at least one digit
[A-Z] - must contain at least one uppercase letter
[a-z] - must contain at least one lowercase letter
[-_!@#$%^&*] - must contain at least one special character
Powered by:
📦 @gruhn/regex-utils
- TypeScript library for regex equivalence, intersection, complement and other utilities