A Chrome extension that generates strong, customizable passwords with built-in password history and encryption.
- Strong Password Generation: Create secure passwords with custom length and character sets
- Customizable Options: Include lowercase, uppercase, numbers, and custom characters
- Password History: Save generated passwords for later reference
- Local Encryption: Encrypt your password history for added security
- Dark Mode: Choose between light and dark themes for comfortable viewing
- Color Themes: Personalize your extension with different color schemes
| Light Theme | Dark Theme |
|---|---|
![]() |
![]() |
- Visit the Chrome Web Store - Approved :)
- Click "Add to Chrome"
- The extension will be installed and appear in your extensions toolbar
- Download the latest release from the Releases page
- Unzip the file
- Open Chrome and go to
chrome://extensions/ - Enable "Developer Mode" in the top-right corner
- Click "Load unpacked" and select the unzipped folder
- The extension will be installed and appear in your extensions toolbar
- Click the extension icon in your toolbar
- Configure your password options:
- Select character types (lowercase, uppercase, numbers, custom)
- Set password length (12-36 characters)
- Enable random length for more unpredictable passwords
- Click "Generate Password"
- Copy the password using the copy button
- Click the history tab (clock icon)
- View your previously generated passwords
- Copy or delete individual passwords as needed
- Use "Clear All History" in settings to remove all saved passwords
- Click the settings tab (gear icon)
- Adjust security settings:
- Require special characters for stronger passwords
- Avoid ambiguous characters (1, l, I, 0, O) for better readability
- Enable password encryption for stored history
- Set default options for new passwords
- Configure auto-copy options
- Manage history settings and preferences
- Change appearance (light/dark theme and color scheme)
When enabled, all passwords in your history are encrypted using AES-GCM 256-bit encryption via the Web Crypto API:
- Each password is encrypted with a unique initialization vector
- Encryption is performed locally within the extension
- Encrypted passwords cannot be viewed from Chrome's storage
- Decryption happens automatically when viewing history
- All data is stored locally in your browser
- No data is transmitted to external servers
- No tracking or analytics
- No permissions beyond what's needed for core functionality
- Frontend: HTML, CSS, JavaScript
- UI Framework: Bootstrap 5
- Icons: Font Awesome
- Storage: Chrome Storage API
- Encryption: Web Crypto API (AES-GCM)
secure-password-generator/
├── icons/ # Extension icons
├── assets/
│ ├── css/ # CSS files
│ │ ├── bootstrap.min.css
│ │ ├── fontawesome.min.css
│ │ ├── styles.css
│ │ └── theme.css
│ ├── js/ # JavaScript files
│ │ ├── accordion.js
│ │ ├── bootstrap.bundle.min.js
│ │ ├── encryption.js
│ │ ├── generator.js
│ │ ├── popup.js
│ │ ├── settings.js
│ │ ├── storage.js
│ │ └── utils.js
│ └── webfonts/ # Font Awesome webfonts
├── popup.html # Main extension interface
├── bootstrap-init.js # Bootstrap initialization
├── background.js # Background service worker
└── manifest.json # Extension manifest
- Chrome browser
- Basic knowledge of HTML, CSS, and JavaScript
- Text editor or IDE (VS Code recommended)
Summary of Improvements and New Features
🐛 Bug Fixes
- Fixed accordion sections - Settings tabs can now be closed properly (removed conflicting accordion.js)
- Fixed variable reference error - Resolved "lengthInput is not defined" error
- Fixed service worker compatibility - Removed problematic settings.js file
- Fixed borderColor TypeError - Added null checks for DOM elements
- Fixed custom characters toggle sync - Settings now apply immediately without requiring extension restart
✨ New Features
- Random Length Range Settings - Configure min/max values for random length (default: 18-25 characters)
- Custom Characters Default Setting - Enable custom characters by default with predefined special characters (!@#$%^&*()+-=?{})
- Real-time Settings Application - Changes in settings now apply immediately to the main tab interface
🎨 UI/UX Improvements
- Enhanced Dark Theme:
- Uniform dark background across entire container
- Distinguished tab borders with colored highlights for active tabs
- Better visual hierarchy and contrast
- Color theme integration (Blue, Green, Purple, Red) works seamlessly in dark mode
- Improved Settings Sync - Default values are applied instantly when saved
- Better Error Handling - Added comprehensive null checks and validation
🔧 Technical Improvements
- Modular Architecture - Better code organization and separation of concerns
- Performance Optimizations - Cached DOM elements and debounced input validation
- Enhanced Security - Better input sanitization and validation
- Improved Storage Management - More robust Chrome storage handling with error recovery
🚀 Enhanced Functionality
- Password Strength Indicator - Visual feedback with color-coded strength levels
- Keyboard Shortcuts - Added hotkeys for common actions (Ctrl+G to generate, etc.)
- Migration Support - Backward compatibility for existing users upgrading settings
-
Clone this repository:
git clone https://github.com/sirdree/Secure-Password-Generator_Chrome.git -
Open Chrome and navigate to
chrome://extensions/ -
Enable "Developer Mode" in the top-right corner
-
Click "Load unpacked" and select the cloned repository folder
-
Make changes to the code and reload the extension to see updates
- Ensure all files are minified for production
- Create a zip file containing all necessary files
- Submit to the Chrome Web Store or distribute for manual installation
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Bootstrap for the UI components
- Font Awesome for the icons
- All contributors and users of this extension
Made with ❤️ by [Ervin]
- or using this QR Code





