Password Generator
Generate a password from your chosen character sets and copy it.
StarterWeb appTool2–4hAI-buildable 5/5no setup
Checkbox-driven character pools, a length slider, and clipboard copy. The correctness detail worth caring about: the result must actually contain at least one character from every selected set, which naive random selection doesn't guarantee.
UI
Logic
Useful
Hosting · Free forever
Deploys free on GitHub Pages, Cloudflare Pages or Vercel Hobby.
Deploy it and share a link.
Core features · 5
- Length is adjustable within sensible bounds
- Toggles for uppercase, lowercase, numbers, and symbols
- The generated password includes at least one character from each selected set
- A copy button puts the password on the clipboard with confirmation
- Generating with no sets selected is prevented
The interesting part
- Guaranteeing set coverage while keeping the result properly shuffled
Once it works
- Add a strength meter
- Use crypto.getRandomValues instead of Math.random
Suggested stack
reacttypescripttailwindframer-motion