Hash Calculator
Calculate common text or local-file digests in the browser and compare exact hexadecimal output for integrity checks.
Start using
What Hash Calculator does
Calculate common text or local-file digests in the browser and compare exact hexadecimal output for integrity checks.
Worked example
Text: hello using SHA-256
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 (64 hexadecimal characters total)
How the result is produced
A cryptographic hash maps arbitrary input bytes to a fixed-length digest. A one-byte change should produce a different digest, but the digest cannot restore the original input.
Useful workflows
- Compare a downloaded file with a publisher checksum
- Generate repeatable test digests
- Confirm whether two text values have identical bytes
Important limits
- MD5 and SHA-1 are unsuitable for modern collision-resistant security.
- A plain fast hash is not password storage; password systems require a salted, slow password-hashing function.
- Different line endings or text encodings produce different digests.
Frequently asked questions
Can a hash be decrypted?
No. Hashing is one-way; weak inputs can still be guessed by hashing candidate values.
Why does my checksum differ?
Check the algorithm, exact file version, text encoding, capitalization and line endings.
Can a hash prove who created a file?
No. A matching digest checks byte equality, but authorship and trusted timestamps require signatures or another authenticated record.
Text is encoded as UTF-8 without trimming or Unicode normalization; the textarea uses LF line breaks. Files hash their original bytes, including any BOM or CRLF. Empty input is valid. Limits: one file up to 64 MiB (67108864 bytes), or 500000 UTF-16 code units of text; files are read whole into memory. Algorithms: MD5, SHA-1, SHA-256, SHA-384 and SHA-512, giving 32, 40, 64, 96 and 128 hexadecimal characters. Letter case changes only presentation. The result has algorithm, source, byte count and digest; copy it, since there is no download button. A matching digest is evidence, not mathematical proof of byte identity or authorship: collisions exist. Compare against an authenticated publisher checksum.
Processing takes place locally in your browser.