A modern, responsive password generator built with vanilla HTML, CSS, and JavaScript. Generate strong, customizable passwords entirely in your browser with no server-side processing for maximum security.
Visit the live application: https://hmwcs.github.io/secure-password-generator/
- Adjustable Length: Generate passwords from 4 to 50 characters
- Character Types:
- Uppercase letters (A-Z)
- Lowercase letters (a-z)
- Numbers (0-9)
- Special symbols (!@#$%^&*()_+-=[]{}|;:,.<>?)
- Exclude Similar Characters: Remove confusing characters like
i
,l
,1
,L
,o
,0
,O
- Exclude Ambiguous Characters: Remove characters that might be unclear in certain fonts like
{}[]()\/'"~,;.<>
- Client-Side Generation: All password generation happens in your browser - nothing is sent to any server
- Real-Time Strength Meter: Visual indicator showing password strength (Weak/Fair/Good/Strong)
- One-Click Copy: Easy clipboard copying with visual feedback
- No Storage: Passwords are not saved or logged anywhere
- Responsive Design: Works perfectly on desktop, tablet, and mobile devices
- Modern UI: Clean, intuitive interface with smooth animations
- Instant Generation: Generate new passwords with a single click
- Visual Feedback: Clear indicators for all actions and settings
-
Adjust Password Length: Use the slider to set your desired password length (4-50 characters)
-
Select Character Types: Check the boxes for the types of characters you want:
- Uppercase letters
- Lowercase letters
- Numbers
- Symbols
-
Configure Advanced Options (optional):
- Enable "Exclude Similar" to avoid confusing characters
- Enable "Exclude Ambiguous" to remove potentially unclear symbols
-
Generate Password: Click the "Generate Password" button to create a new password
-
Copy Password: Click the "Copy" button to copy the password to your clipboard
-
Check Strength: Monitor the strength meter to ensure your password meets security requirements
- Client-Side Only: This tool runs entirely in your browser. No passwords are transmitted over the internet.
- No Logging: Passwords are not saved, logged, or stored anywhere.
- Cryptographically Secure: Uses
Math.random()
for password generation, suitable for most use cases. - No Dependencies: Built with vanilla JavaScript - no external libraries or frameworks.
- Chrome 66+
- Firefox 63+
- Safari 13.1+
- Edge 79+
- Mobile browsers (iOS Safari, Chrome Mobile, etc.)
- Frontend: HTML5, CSS3, Vanilla JavaScript
- Styling: Custom CSS with responsive design
- No Build Process: Ready to run - just open
index.html
- Lightweight: < 15KB total file size
The strength meter evaluates passwords based on:
- Length: Longer passwords score higher
- Character Variety: Using multiple character types increases strength
- Complexity: Symbols provide the highest security boost
Strength Levels:
- 🔴 Weak: Basic passwords with limited character types
- 🟠 Fair: Moderate length with some character variety
- 🟡 Good: Good length with multiple character types
- 🟢 Strong: Long passwords with full character variety including symbols
You have two main options to use this password generator:
Simply visit the live application: https://hmwcs.github.io/secure-password-generator/
No installation required - works directly in your browser with full functionality.
- Download or clone this repository
- Open
index.html
in any modern web browser - The password generator will work offline with all features
Note: The online version and local version have identical functionality and security - all password generation happens in your browser regardless of which option you choose.
MIT License - feel free to use this project for personal or commercial purposes.
Contributions are welcome! Feel free to:
- Report bugs
- Suggest new features
- Submit pull requests
- Improve documentation
Remember: Always use strong, unique passwords for each of your accounts, and consider using a password manager to store them securely!