How to Check an MD5 (or SHA) Checksum on Windows 10

How to Verify a MD5 Checksum on Windows 10

Want to make sure a file has not been tempered with? Downloading installation files for Windows, for instance? Find out here how to check and verify an MD5 checksum on Windows 10 (or SHA-1 and SHA-2).

First, a 100¼ Year-Centennial

In what came to be known as “White City”, pale neoclassical splendor invited guests to massive, yet impermanent pavilions in Chicago’s Jackson Park to celebrate 400 years of Christopher Columbus landing in the New World — in 1893.

It was a special algorithm that made 1893 the year of the 4th centennial of 1492, and it takes a special algorithm to sum up a file of any length in a few bits. Meet the checksum:

How to Check an MD5 Checksum on Windows 10

On a Mac? How to Verify an MD5 (or SHA) Checksum on a Mac

Time needed: 3 minutes.

To check an MD5 or SHA checksum on Windows using certutil:

  1. Open the Windows command line.

    Do it fast: Press Windows R, type cmd and press Enter.
    Alternative: You can also open command prompt or Windows PowerShell from the Start menu, of course.

  2. Go to the folder that contains the file whose MD5 checksum you want to check and verify.

    Command: Type cd followed by the path to the folder.
    Tip: You can drag and drop a folder from Windows Explorer to insert the path.

  3. Type certutil -hashfile <file> MD5.

    <file>: Replace <file> with the filename.
    Tip: You can use the Tab key to have Windows complete the file name.
    Example: Type certutil -hashfile Example.txt MD5 to get the MD5 hash for the file Example.txt.

  4. Press Enter.

    Other hashing algorithms: See below for more hash algorithms (including SHA-1).

  5. Compare the resulting checksum to what you expect.

    Verify an MD5 checksum on Windows 10 with certutil

How to Verify Checksums Using SHA1 and Other Hashing Function on Windows 10

To verify a checksum generated with a hashing algorithm different from MD5:

  1. Follow all steps above with one exception:
  2. Replace “MD5” with the desired hashing function from the following table.
CommandHashing FunctionOutput
MD2MD2 message-digest algorithm32 digits
MD4MD4 message-digest algorithm32 digits
MD5MD5 message-digest algorithm32 digits
SHA1SHA-1 secure hash algorithm 1 (160 bit)40 digits
SHA256SHA-2 256-bit secure hash algorithm64 digits
SHA384SHA-2 384-bit secure hash algorithm96 digits
SHA512SHA-2 512-bit secure hash algorithm128 digits

How to Check an MD5 Checksum on Windows 10: FAQ

Can certutil generate RIPEMD hashes?

No. Certutil supports the hashing functions above.

For other algorithms, you can turn to utilities such as HashMe or hashed, for instance.

(How to verify an MD5 (or SHA) checksum tested with Windows 10 Version 21H1; updated August 2021)

Home » Windows Tips and Resources » How to Check an MD5 (or SHA) Checksum on Windows 10