Create random passwords with crypto.getRandomValues. Each character is picked with rejection sampling, so every character in the alphabet has exactly the same probability (no modulo bias).
If you require at least one character from each set, the whole password is discarded and regenerated until it complies, instead of forcing positions, which keeps the distribution uniform over valid passwords. The approximate entropy is shown with the result.
How to use it
- Choose the length (8–128) and character sets.
- Optionally exclude ambiguous characters.
- Press Run and save the password in your manager.
Example
q7RmZx2Kc9WvTn4Hb8Ls Limitations
- Passwords are not stored; reloading the page discards them.
- The clipboard may be visible to other apps: the tool asks for confirmation before copying.
- The entropy shown is an upper bound ignoring the set requirement.
FAQ
- What length should I use?
- For passwords kept in a manager, 20 or more characters. Length adds more security than symbols.
- Are they generated on a server?
- No, in your browser. Neither the password nor the options are sent or logged.