A simple, secure password generator built with vanilla JavaScript.
- Adjustable Length: Use the slider to set password length from 3 to 128 characters
- Character Options: Toggle inclusion of:
- Uppercase letters (A-Z)
- Lowercase letters (a-z)
- Numbers (0-9)
- Special characters (!@#$%^&* etc.)
- Smart Checkbox Logic: At least one character type must always be selected - the last remaining option is automatically disabled to prevent having zero options
- One-Click Copy: Copy generated passwords to clipboard instantly
- Responsive Design: Works on desktop and mobile devices
- Open
index.htmlin your web browser - Adjust the password length using the slider
- Select which character types to include using the checkboxes
- Click "Generate Password" to create a new password
- Click the copy button to copy the password to your clipboard
No installation required! Simply clone or download this repository and open index.html in any modern web browser.
git clone https://github.com/ExXTreMe315/password-generator.git
cd password-generator
# Open index.html in your browserindex.html- Main HTML structurestyle.css- Styling and responsive designscript.js- Password generation logic and UI interactions
This password generator runs entirely in your browser. No passwords are sent to any server or stored anywhere. For maximum security, use this generator offline or host it on your own server.
This project is licensed under the MIT License - see the LICENSE file for details.
