A simple desktop password generator built with Python and Tkinter.
I originally created this project as a way to generate strong passwords quickly without relying on online tools or browser extensions. Everything runs locally on your machine and uses Python's built-in secrets module for secure random password generation.
Most password generators are either cluttered with features, tied to a password manager, or require an internet connection. I wanted something lightweight that opens instantly, generates secure passwords, and gets out of the way.
No accounts. No subscriptions. No data collection.
Just secure passwords.
-
Generate cryptographically secure passwords
-
Adjustable password length (6–64 characters)
-
Multiple complexity presets:
- Low
- Medium
- High
- Custom
-
Choose exactly which character types to include:
- Lowercase letters
- Uppercase letters
- Numbers
- Symbols
-
Copy passwords directly to your clipboard
-
Input validation to prevent invalid combinations
-
Keyboard support (press Enter to generate)
-
Simple and clean desktop interface
-
Runs entirely offline
This application uses Python's secrets module, which is designed specifically for generating secure passwords and security-sensitive random values.
Passwords are:
- Generated locally
- Never transmitted anywhere
- Never stored by the application
- Randomized using cryptographically secure methods
it works better than it looks 😄 The interface is intentionally simple and lightweight. The goal is to generate secure passwords quickly without unnecessary clutter.
- Python 3.9+
- Tkinter (included with most Python installations)
Clone the repository:
git clone https://github.com/Wa3t34/secure-password-gen.git
cd secure-password-genpython password_gen.pyIf you've renamed the file, replace password_gen.py with the correct filename.
- Choose a password length.
- Select a complexity level.
- If using Custom mode, choose the character types you want included.
- Click Generate Password or press Enter.
- Copy the generated password to your clipboard.
This project is intentionally kept small.
The goal is to provide a reliable password generator without turning it into a full password manager or adding unnecessary complexity.
Future updates will focus on:
- Bug fixes
- Stability improvements
- Small quality-of-life enhancements
If you find a bug or have a suggestion, feel free to open an issue.
Pull requests are welcome, especially for:
- Bug fixes
- UI improvements
- Accessibility enhancements
- Cross-platform testing
This project is licensed under the MIT License.
See the LICENSE file for details.
This software is provided as-is.
While the generated passwords use secure random generation, users are responsible for determining whether a password meets the requirements of the systems where it will be used.