🔑 Password Generator
Create strong random passwords with customizable length and character sets.
📐 工作原理与说明
The chart shows the theoretical entropy upper bound for each random password; with one password, it adds character pools category by category and shows the upper bound as each set is enabled. Passphrases are not estimated from a character pool: their choice space is N words drawn without replacement from 64, plus the independent trailing digit and symbol choices. Fixed capitalization and separators add no entropy.
Generated with a cryptographically secure random source (crypto.getRandomValues), with adjustable length and character sets (upper- and lowercase letters, digits, symbols). Random passwords force at least one character from every enabled category, so the page shows a theoretical upper bound (≤ length × log₂(pool size)); actual randomness is lower. Passphrases draw words without replacement and add any trailing random digit/symbol, so the value shown is the exact entropy of that generation process.
- 建议长度 ≥12、熵 ≥80 bit;含符号可显著提升抗暴力破解。
- 避免词典词与个人信息;生成后请妥善保存——除「本次会话记录」在页面会话内临时查看/复制外,关闭或清空后即从内存移除,不写入本地持久存储。
- 纯浏览器生成,不离开本地。
点击生成密码
After copying, passwords enter the system clipboard and may be retained by clipboard history or device sync; clear it according to your device settings.
强度:-
字符集
仅保存在当前页面内存中,刷新或关闭页面后自动清除。
💡 密码安全建议
16+
推荐长度
4种
字符类型
90天
更换周期
2FA
双重验证
- 长度优先: 密码长度比复杂度更重要,16位随机密码远强于8位复杂密码
- 唯一密码: 每个账户使用不同密码,使用密码管理器管理
- 避免常见模式: 不要使用生日、姓名、qwerty、123456等常见密码
- 密码短语: 由多个单词组成的密码短语更容易记忆且更安全
- 定期更换: 重要账户密码建议每90天更换一次
- 启用2FA: 重要账户务必开启双重验证
- 不要共享: 不要通过邮件、即时通讯等方式发送密码
- 谨慎存储: 使用专业密码管理器,不要明文存储在文档中
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Random password | high-entropy source; length-first | NIST SP 800-63B; RFC 4086 |
⚠️ 使用说明与注意事项
- 本工具纯前端运行,数据不会上传到服务器
- 建议在主流浏览器(Chrome/Safari/Firefox/Edge)中使用
- 计算结果仅供参考,请以实际应用场景为准