强随机密码生成器
按8—128位长度、1—20个数量、大小写字母、数字、符号和排除易混淆字符选项生成密码;保证覆盖每个启用字符组,使用Web Crypto无偏采样与洗牌。
使用步骤
如何使用
- Choose a password length and how many passwords to generate.
- Select the character groups you want and whether to exclude ambiguous characters.
- Generate the passwords, save them in a password manager, and copy the list only when you are ready to use it.
Cryptographic browser randomness
The generator uses crypto.getRandomValues with rejection sampling, so character selection avoids modulo bias. It guarantees at least one character from every enabled group and applies a cryptographic Fisher–Yates shuffle.
Handle the result as a secret
Passwords are generated and displayed only in this browser page, but anything visible on screen can still be copied, captured, or observed. Store each password in a trusted password manager, do not reuse it, and close or clear the page when finished.
常见问题
你可能还想知道
Are passwords sent to a server?
No. Generation runs in your browser and the page does not submit generated passwords.
What does exclude ambiguous characters remove?
It removes O, 0, I, lowercase l, 1, and the vertical bar to reduce visual confusion.
Can I use one password for several accounts?
No. Generate a separate password for every account and store it in a password manager.