A simple and interactive Python tool to check the strength of a password based on common security criteria and give suggestions to improve it.
- β
Checks for:
- Minimum length (8+ characters)
- Lowercase letters
- Uppercase letters
- Numbers
- Special characters
- π§ Provides:
- Strength rating: Weak, Medium, or Strong
- Suggestions to improve weak/medium passwords
- π¦ Pure Python β no external libraries required
git clone https://github.com/chiragdhawan07/password-strength-checker.git
cd password-strength-checker
python3 password_strength_checker.pyπ‘ On Windows, you can replace python3 with python.
- Open any Python IDE or text editor (e.g., VS Code, IDLE).
- Create a new file: password_checker.py.
- Paste the full code from this repo: password_checker.py.
- Run the file using:
python3 password_strength_checker.pyWorks in any Python 3 environmentβno cloning or setup required.