Free, private, browser-only password generator with built-in AI Mode. No account. No server. Nothing leaves your device.
Live site → pwasecurity.org
Random · Passphrase · PIN · AI Mode — all running in your browser
Describe what you need in plain English and get a password suggestion back — powered by Cloudflare Workers AI (Meta Llama). No prompt engineering needed: just type something like "16 chars, no symbols, for a banking app" and the model returns a tailored suggestion with a brief explanation.
Note: AI Mode is the only feature that sends data off-device. Your text prompt goes to Cloudflare Workers AI. Don't include real passwords or sensitive data in the prompt.
Four generation modes:
| Mode | Description |
|---|---|
| Random | Cryptographically secure character-based passwords up to 128 chars |
| Passphrase | Word-list passphrases with custom separators, capitalization, and appended numbers |
| PIN | Numeric PINs from 4 to 12 digits |
| AI Mode | Describe what you need — Cloudflare Workers AI returns a tailored suggestion |
- Web Crypto API — browser-native secure random generation
- Entropy-based strength meter — 4-level rating with bit-count calculation
- Password history — last 5 passwords, reveal/hide + copy per entry
- Exclude ambiguous characters — removes
0,O,l,1,Ietc. - Easy to say — pronounceable CVC-syllable passwords
- Copy with feedback — button turns green, resets after 2 s
- 9 languages — EN, DE, FR, ES, IT, PT, NL, PL, RU
- Mobile-first — responsive down to small phones, touch-optimised
- No install needed — open in any browser, no setup required
All password generation runs locally using crypto.getRandomValues(). There is no server, no database, no analytics — except for AI Mode, which is covered above.
| Code | Language |
|---|---|
en |
English |
de |
German |
fr |
French |
es |
Spanish |
it |
Italian |
pt |
Portuguese |
nl |
Dutch |
pl |
Polish |
ru |
Russian |
To add a language, copy any language block inside the translations object in index.html and translate the values.
No build process or dependencies required.
git clone https://github.com/JoelMoyal/Password-generator.git
cd Password-generator
open index.html # macOS
start index.html # WindowsThe site is hosted on Cloudflare Pages and auto-deploys on every push to main. Any static host works — it's a single HTML file.
- Vanilla HTML, CSS, JavaScript
- Web Crypto API (
crypto.getRandomValues) - Cloudflare Pages (hosting)
- Cloudflare Workers AI (AI Mode only)
- Fork the repo
- Create a branch:
git checkout -b my-feature - Commit your changes
- Open a pull request
Joël Moyal
- Website: joelmoyal.com
- GitHub: @JoelMoyal
- LinkedIn: Joël Moyal
MIT — see LICENSE