A minimal, privacy-first Chrome extension for generating secure passwords — no network requests, no tracking, no dependencies.
- Cryptographically secure — uses
crypto.getRandomValues()with rejection sampling to eliminate modulo bias - Entropy-based strength meter — real bit-entropy calculation, not a simple ruleset check
- Guaranteed character coverage — at least one character from every enabled set, then shuffled with Fisher-Yates
- Configurable length — 6 to 64 characters via slider
- Character set toggles — Uppercase (A–Z), Lowercase (a–z), Numbers (0–9), Symbols (!@#$…)
- Avoid ambiguous characters — optionally strips
0 O l I 1to prevent misreading - One-click copy — writes to clipboard via the
clipboardWritepermission; no other permissions requested
| Label | Min Entropy |
|---|---|
| Weak | < 40 bits |
| Fair | ≥ 40 bits |
| Good | ≥ 56 bits |
| Strong | ≥ 72 bits |
| Max | ≥ 96 bits |
- Clone or download this repository.
- Open Chrome and go to
chrome://extensions. - Enable Developer mode (top-right toggle).
- Click Load unpacked and select the project folder.
- The PassGen icon appears in the toolbar — click it to open the popup.
No build step required. All files are plain HTML, CSS, and JavaScript.
| Permission | Reason |
|---|---|
clipboardWrite |
Copy the generated password on click |
No host permissions, no storage access, no internet access.
password-generator/
├── manifest.json # Extension manifest (MV3)
├── popup.html # Extension popup UI
├── popup.css # Styles
├── popup.js # Password generation logic & UI bindings
└── icons/
├── icon16.png
├── icon48.png
├── icon128.png
└── create-icons.html
- All randomness comes from the Web Crypto API (
crypto.getRandomValues), which is cryptographically secure. - Rejection sampling ensures uniform distribution across the character pool with zero modulo bias.
- Generated passwords never leave the browser; no analytics or external calls are made.
MIT