File Hash
Updated 2026-09-13 · DocsAll Guides
Quick answer: Compute MD5/SHA hashes of files to verify integrity and authenticity. Open 文件哈希 — everything runs locally in your browser, and files never leave your device.
Steps
- Upload the file to the File Hash tool.
- Pick the algorithm — SHA-256 for security decisions.
- Compare against the publisher's published hash.
Important notes
- Always verify downloaded installers against the official SHA-256 — a mismatch means corruption or tampering.
- MD5 and SHA-1 are fine for quick change-detection, not for security.
- Computed locally — the file never uploads.
Common questions
Large files? Streaming computation handles them; time scales with size.
Hash text instead? Paste it directly.
When to use this
Publish the hash beside the download link when you distribute files yourself — recipients can then verify without trusting the channel.
Pro tips
Hash verification has a subtle ordering rule: compare hashes, not hex formats. Publishers show SHA-256 in lowercase hex with or without colons; normalize both strings (lowercase, strip separators) before declaring a mismatch, or you will chase false alarms. For verifying large downloads over unreliable connections, compare file size first — a truncated download fails size in seconds while a hash computation takes longer. And store the expected hash next to your backups: a backup whose integrity was never verifiable is only probably a backup.
Which algorithm should I use? SHA-256 for anything security-related; MD5 only for quick non-security change detection on legacy pipelines.