Guide
Hashes and checksums - verifying files and choosing an algorithm
A hash is a short, fixed-length fingerprint of data. Change one byte of the input and the fingerprint changes completely. That makes hashes perfect for checking that a file arrived intact, that two files are identical, or that data hasn’t been altered. This generator calculates five common hashes at once for text or files, and compares them with a checksum you already have.
Hashing text or a file
- Choose Text or File as input.
- Type or paste the text, or drop a file of any type and size your browser can handle.
- Read the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 values. Each can be copied.
- Optionally switch to uppercase hex if the checksum you’re comparing with uses capitals.
For example, the text hello has the SHA-256 hash 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824.
Verifying a download
Software publishers, Linux distributions and firmware sites often list a checksum next to the download, usually SHA-256. To check a file:
- Choose File and drop the downloaded file.
- Copy the checksum from the official download page.
- Paste it into Compare with a checksum.
- Match names the algorithm that matched and confirms the file is unchanged. No match means it’s incomplete, corrupted or not the published file.
Take the checksum from the publisher’s own site, ideally over HTTPS. A checksum shown on the same untrusted mirror as the file proves little.
Which algorithm?
| Algorithm | Length (hex) | Use it for |
|---|---|---|
| MD5 | 32 | Legacy checksums, detecting accidental corruption |
| SHA-1 | 40 | Legacy systems, older Git object IDs |
| SHA-256 | 64 | The default for checksums and integrity today |
| SHA-384 | 96 | Subresource Integrity, some certificate uses |
| SHA-512 | 128 | Where a larger hash is required |
MD5 and SHA-1 are broken for security: researchers can create two different files with the same hash. They still detect random corruption, but use SHA-256 or stronger whenever someone might tamper with the data on purpose.
Hashes are not for storing passwords
A plain hash of a password, even SHA-512, is fast to compute, which means attackers can try billions of guesses per second against a leaked database. Passwords should be stored with a slow, salted password-hashing algorithm such as Argon2, scrypt or bcrypt, in your application code. Use this tool for integrity checks, not password storage.
Why “the same text” can hash differently
Hashes work on bytes, not on what text looks like. These differences change the hash completely:
- A trailing newline or space, often added by editors or by copying.
- Line endings: Windows (CRLF) vs macOS and Linux (LF).
- Encoding: this tool encodes text as UTF-8; a tool using another encoding gets different bytes for accented letters.
- Unicode forms: an é can be stored as one character or as e plus an accent mark.
For files, hash the file rather than copying its contents into the text box.
Privacy
Files and text are hashed in your browser and never uploaded, so you can check confidential documents, installers and backups.
Who generates hashes
- IT staff and users verify downloads such as operating system images and installers.
- Developers create checksums for build artifacts and detect changed files.
- Archivists and lawyers record hashes to prove a file hasn’t changed since it was collected.
- Students learn how hash functions work.
A complete example: verifying a Linux download
- Download the ISO image and the published SHA-256 checksum from the official site.
- Choose File and drop the ISO; large files take a little longer.
- Paste the published checksum into the compare box.
- “Match: SHA-256” means the file is intact; “No match” means download it again.
Tips
- Prefer SHA-256 for new checksums.
- Record the hash with the date when documenting evidence or archives.
Related tools
- Diff Checker to see exactly what changed between two texts when the hashes differ.
- Base64 Encoder to convert data to text (reversibly).
- Password Generator for strong passwords.
- UUID Generator for unique IDs.
Checked against the current version of the Hash Generator on .

