File Hash Calculator
Compute SHA-1, SHA-256, SHA-384 and SHA-512 checksums for a file or pasted text. The file is read and hashed in your browser and is not uploaded.
1 Choose your file
2 Your answer
Choose a file and your answer shows here.
How to use the File Hash Calculator
- Choose a file, or paste text into the text box.
- Read the file size and the SHA-1, SHA-256, SHA-384 and SHA-512 hashes.
- Compare a hash with the checksum published by the download site to confirm the file is intact.
Frequently asked questions
What is a file hash?
A hash is a fixed-length fingerprint computed from a file's bytes. Any change to the file, even one bit, produces a completely different hash, so matching hashes show the file is identical to the original.
Which hash should I use, SHA-256 or MD5?
SHA-256 is the common choice for verifying downloads. MD5 and SHA-1 are no longer secure against deliberate tampering, though they still catch accidental corruption. This tool does not compute MD5.
How long is a SHA-256 hash?
SHA-256 produces 256 bits, shown as 64 hexadecimal characters. SHA-1 gives 40 characters, SHA-384 gives 96 and SHA-512 gives 128.
Is my file uploaded when I calculate its hash?
No. The file is read by your browser and hashed locally, so its contents are not sent to a server.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.