A simple command-line password generator written in Python.
This program generates secure random passwords based on user preferences such as password length, uppercase letters, digits, and special characters. Every generated password is also saved to a password.txt file.
- Custom password length (minimum 8 characters)
- Optional uppercase letters
- Optional digits
- Optional special characters
- Randomized password generation
- Saves generated passwords to
password.txt
- Python 3.x
- Clone this repository:
git clone https://github.com/msXys-07/Password-Generator.git- Navigate to the project folder:
cd Password-Generator- Run the program:
python password_gen.pyEnter the length of the password: 12
Do you want to use uppercase letters? (y/n): y
Do you want to use digits? (y/n): y
Do you want to use special characters? (y/n): y
Password generated is T9@pF4h!zQ2a and saved to password.txt
Password-Generator/
│── password_generator.py
│── password.txt
└── README.md
- Password strength indicator
- Copy password to clipboard
- Generate multiple passwords at once
- Graphical User Interface (GUI)
- Custom character exclusions
Mayank Singh Chauhan [Yash]