Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Secure Password Generator

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.

Why I Made This

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.

Features

  • 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

Security

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

Screenshots

it works better than it looks 😄 The interface is intentionally simple and lightweight. The goal is to generate secure passwords quickly without unnecessary clutter.

image

Requirements

  • Python 3.9+
  • Tkinter (included with most Python installations)

Installation

Clone the repository:

git clone https://github.com/Wa3t34/secure-password-gen.git
cd secure-password-gen

Running the Program

python password_gen.py

If you've renamed the file, replace password_gen.py with the correct filename.

Using the Generator

  1. Choose a password length.
  2. Select a complexity level.
  3. If using Custom mode, choose the character types you want included.
  4. Click Generate Password or press Enter.
  5. Copy the generated password to your clipboard.

Project Goals

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

Contributing

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

License

This project is licensed under the MIT License.

See the LICENSE file for details.

Disclaimer

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.

About

Secure password generator built with Python, featuring customizable length, complexity levels, and one-click clipboard support.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages