在线哈希生成器 — 免费 MD5 SHA-1 SHA-256 SHA-512
在浏览器中计算任意文本的 MD5、SHA-1、SHA-256、SHA-512 哈希。无需上传 — 输入不会离开页面。
输入或粘贴文本;四个摘要值通过 WebCrypto API 在本地计算。
MD5
—
SHA-1
—
SHA-256
—
SHA-512
—
常见用例
- 1Verify a file checksum from a vendor without installing extra tools.
- 2Quickly hash a password to test it against a leaked-credential list (Have I Been Pwned, etc.).
- 3Generate the SHA-256 for a webhook payload signature comparison.
常见问题
Why is MD5 still here if it's broken?+
MD5 is cryptographically broken for security but is still required by tons of legacy software — htpasswd, MySQL native_password, OpenStack hashes, etc. We keep it for compatibility with a clear warning to never use it for new code.
Can I hash binary files?+
This page hashes text only. For files use sha256sum (Linux/macOS) or CertUtil -hashfile (Windows). The output is byte-identical for matching input.
Does the tool send my text anywhere?+
No. All four algorithms run in your browser — SHA-1/256/512 via the WebCrypto API, MD5 via an inline RFC 1321 implementation. Nothing is uploaded.