Compute MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA3-256, and SHA3-512 digests of any text, and optionally HMAC-SHA256/384/512 with a secret key.
Drop a file onto the input box to hash its raw bytes — checksum verification for downloads, without the file ever leaving your device. SHA-1/256/384/512 use the browser’s native Web Crypto; MD5, SHA-224, and SHA-3 are hand-rolled implementations verified against NIST test vectors.
Frequently asked questions
Are uploaded files sent to a server?
Nothing is uploaded — there is no server. Files are read with the browser FileReader API and hashed in the page; you can disconnect your network and everything still works.
Why is MD5 still offered?
MD5 and SHA-1 are cryptographically broken and must not secure anything. They remain ubiquitous for legacy checksums and deduplication keys, which is what a hash tool is for.
How large a file can I hash?
The practical limit is your device’s memory, not the tool — a few hundred MB is fine on a desktop. Text input is capped at 5 MB per paste.
中文说明
计算任意文本的 MD5、SHA-1、SHA-224、SHA-256、SHA-384、SHA-512、SHA3-256、SHA3-512 八种摘要,并可在填写密钥后附带 HMAC-SHA256/384/512。
把文件拖入输入框即可对原始字节求哈希——校验下载文件完整性时文件全程不离开本地设备。SHA-1/256/384/512 走浏览器原生 Web Crypto;MD5、SHA-224、SHA-3 为手写实现,已用 NIST 标准测试向量逐一验证。
常见问题
上传的文件会被发送到服务器吗?
没有任何上传——本站也没有后端。文件通过浏览器 FileReader API 在页面内读取并计算,断网后功能照常可用。
为什么还提供 MD5?
MD5 与 SHA-1 已被密码学破解,绝不能用于安全场景。但它们仍广泛用于传统校验和与去重键,这正是哈希工具的用途。
最大支持多大的文件?
上限取决于设备内存而非本工具——桌面端几百 MB 没问题。文本粘贴路径的上限是 5 MB。