A secure, modern password generator that runs entirely in your browser. Uses cryptographically strong random values, provides entropy‑based strength feedback, and includes a clean dark mode.
- Secure generation – powered by
crypto.getRandomValues() - Customizable – length (8–32), uppercase, numbers, symbols
- Entropy strength meter – visual bar + text (Weak / Medium / Strong)
- Copy to clipboard – one click, with toast confirmation
- Password history – last 5 passwords, click any to re‑copy
- Regenerate button – quick new password without changing settings
- Dark / Light theme – persists your preference
- Responsive – works on desktop, tablet, and mobile
- No dependencies – vanilla HTML/CSS/JS
- Adjust length – drag the slider (8–32 characters)
- Choose character types – check/uncheck uppercase, numbers, symbols
(at least one must be selected) - Generate – click “Generate new password” or the refresh icon
– the password appears instantly, and the strength meter updates - Copy – click the “Copy” button (a toast confirms it)
- Reuse old passwords – click any password in the history list to copy it again
- Clear history – use the “Clear” button
- Toggle dark mode – click the sun/moon icon in the header
Clone and open index.html – no build step required.
git clone https://github.com/Lucaas-o/PasswordGenerator.git
cd PasswordGenerator
open index.htmlhttps://lucaas-o.github.io/PasswordGenerator/
MIT – feel free to use and modify.