Checksums in Plain English
What a checksum is, how it helps you notice a bad download, and what to do when the fingerprint does not match.
A checksum is a short fingerprint of a file. Change one bit in the file and the fingerprint changes. People who publish a program or a large download sometimes publish that fingerprint beside the link. You compute the fingerprint of the file you received and compare the two strings. If they match, the file is the one they published. If they do not, something changed on the way, and you should not open it.
What you are comparing
You are not looking at the file name or the icon. You are looking at a long string of letters and numbers, often labeled SHA-256. The string is not a password and not a serial number. It is the result of a calculation over every byte. Two different files should not share a SHA-256 fingerprint in any situation you will meet as a normal user. If a site offers both MD5 and SHA-256, prefer SHA-256. MD5 still catches a lot of accidental damage, and it is a weaker choice when you are trying to spot a deliberate swap.
The publisher's fingerprint has to come from a page or a message you have reason to trust. A fingerprint printed on the same ad that offered a suspicious download does not prove anything. How to check a download before you open it is the wider habit. The checksum is one strong check inside that habit, when a real publisher provides it.
How to compute it without a new gadget
On Windows, the built-in certutil tool can print a SHA-256 fingerprint. In a terminal opened in the folder that contains the file, a command of the form certutil -hashfile followed by the file name and SHA256 prints the value. On a Mac, shasum -a 256 followed by the file name does the same job. Compare the result to the publisher's string, ignoring spaces and letter case. Do not compare it to a string from a different version of the file.
If typing commands is uncomfortable, some archive tools and download helpers show a checksum. Use a tool you already installed from a source you trust. Do not install a random checksum utility from an ad in order to check one file. That install is a bigger risk than the check.
When the strings differ
Do not open the file. Do not rename it and try anyway. Delete it and download again from the publisher's own page, then recompute. A mismatch can be a truncated download, a mirror that stored the wrong build, or a file that was altered. You usually cannot tell those apart from the fingerprint alone. The safe response is the same: do not run it.
If it fails twice, stop and look for another official source, or ask the sender for a fresh copy. File extensions that can run code explains why opening a mismatched installer is a poor experiment.
What a match does not prove
A match proves you got the file that belongs to that fingerprint. It does not prove the publisher is honest, kind, or careful. A harmful file has a checksum too. Trust still starts with who published it. Fake download buttons are how people verify the wrong file perfectly. Check the address of the page before you check the fingerprint.
A match also says nothing about whether the format is the one you wanted. When a file extension does not match is a separate look at the label.
Checksums on your own archives
You can write down a SHA-256 fingerprint next to an archive you store for years. Later, recompute it. If it changed and you did not edit the archive, the copy may be damaged. That is a quieter use than download checking, and it pairs with testing a backup. A fingerprint is not a backup by itself. It only tells you whether this copy still matches the copy you measured.
Frequently asked questions
Do everyday documents need checksums? Usually no. They help for installers, disk images and large archives where a publisher publishes a value, and for your own long-term archives if you want a damage check.
Why do two lines look similar and still fail? One wrong character is a failure. Read the start, the end and a few characters in the middle. Do not eyeball a 64-character string from across the room.
Can I ignore a missing checksum? Yes, in the sense that many honest files do not come with one. Use the other checks: official site, expected file type, and caution before you run anything. Absence of a fingerprint is not proof of danger. A mismatched fingerprint is a reason to stop.