What is a hash used for?
A hash maps content of any length to a fixed-length string. Even a tiny change in the content produces a completely different result.
It is therefore commonly used to verify whether a file is complete or has been tampered with, or to compare whether two files are identical.
How to choose an algorithm?
Different algorithms output different lengths with different security strength. The page labels recommended algorithms and compatibility algorithms separately.
- SHA-256: the default recommendation, strong enough and the most widely used
- SHA-384 / SHA-512: longer output and higher security, suitable for release verification
- SHA-1 / MD5: only recommended for legacy system compatibility or non-security scenarios, not for security-related purposes
Text hash and file hash
A text hash computes a digest of a string, for example to verify a config entry or generate test data.
A file hash verifies that a downloaded file matches the official release: the provider publishes the hash value, you compute it locally and compare.
Whether text or file, the computation happens locally in your browser, and file content is never uploaded.
How to verify a downloaded file?
First get the officially published hash (usually SHA-256) and the algorithm from the file provider.
Choose the same algorithm in this tool, upload the file, and compare the result character by character with the official value. An exact match means the file is complete and untampered.
Security tips
MD5 and SHA-1 have known collision attacks and should no longer be used for security scenarios such as signatures or passphrases. They are only for legacy compatibility or simple integrity checks.
For security-related purposes, prefer SHA-256 and above.