How to verify MD5, SHA-1 and SHA-256 checksums in Windows

If you've just downloaded a file from the Internet, you might want to verify that the file you downloaded hasn't been tampered with. After all, who knows what other nefarious tricks a hacker might have gotten up to? By checking the file's MD5, SHA-1, or SHA-256 checksum, you can verify the integrity of the file and ensure that it hasn't been corrupted or altered.

What is checksum?

A checksum is a short, unique string that results from running a cryptographic algorithm on a given file. The algorithm looks at all the bits that make up a file and, based on those unique bits, generates a checksum.

How to verify MD5, SHA-1 and SHA-256 checksums in Windows
Cheksum calculation diagram

This checksum will change if even one bit in the file changes. By comparing the two checksums, you can ensure that your file has not been corrupted or modified. It is a useful way to protect against file corruption or malicious tampering with your downloads.

The most commonly used algorithms for checksums in MD5, SHA-1 and SHA-256 are also available and are based on cryptographically secure algorithms. If you have a choice, use SHA-256.

How to use a checksum?

To use checksums, you first need to know what the checksum of a given file is. This should be provided to you by the same source that downloaded the file.

How to verify MD5, SHA-1 and SHA-256 checksums in Windows
File transfer hash

Run your downloaded file through the same checksum algorithm using one of the tools below. Once you've done that, compare the two strings. If the strings match, the file is unchanged. If the strings don't match, it means your file is different from the original.

Verify checksum with third party tool

The best way to run a checksum in Windows is to use a tool called MD5 & SHA Checksum Utility. It will calculate MD5, SHA-1, and SHA-256 checksums for a given file at the same time and let you compare your results with the data provided.

1. Download MD5 & SHA Checksum Utility .

2. Double-click the downloaded file to launch the program. You may be prompted to download .NET Framework 3.5, which the application needs to run correctly. Click Download and install this feature to continue.

How to verify MD5, SHA-1 and SHA-256 checksums in Windows
Install MD5 & SHA Checksum Utility on Windows PC

3. Click the Browse button to select the file you want to check.

How to verify MD5, SHA-1 and SHA-256 checksums in Windows
Browse files in MD5 & SHA Checksum Utility

4. Determine the checksum provided for the downloaded file. Not all downloaded files have a checksum available, but open source or security-conscious developers will often provide a checksum. Copy that checksum to the clipboard, then click the Paste button in the MD5 & SHA Checksum Utility.

How to verify MD5, SHA-1 and SHA-256 checksums in Windows
Paste the checksum in MD5 & SHA Checksum Utility

5. Click Verify to verify your checksum. If the checksum matches the one the application calculated, you will receive a success message. This means that the file you have is the same as the file that was previously checked.

How to verify MD5, SHA-1 and SHA-256 checksums in Windows
Notice MDS Hash matched in MD5 & SHA Checksum Utility

6. If the checksum is different, you will get an error message. This means that the file has changed in some way since the last checksum was calculated.

How to verify MD5, SHA-1 and SHA-256 checksums in Windows
Hash did not match message in MD5 & SHA Checksum Utility

Verify checksums in File Explorer

If you frequently verify checksums, you might be interested in OpenHashTab. The application installs an additional tab in the Properties window of File Explorer. Being embedded in Explorer, OpenHashTab can calculate checksums on the spot without requiring a separate application. By default, it calculates MD5, SHA-1, SHA-256, and SHA-512 hashes. Additional hash algorithms can be enabled in OpenHashTab's settings.

Note : If you don't like OpenHashTag, try HashCheck , which does the same thing.

1. Download and install OpenHashTab from GitHub.

2. Right-click on the file you want to run a checksum on and select Properties from the context menu.

How to verify MD5, SHA-1 and SHA-256 checksums in Windows
Context menu for Windows application/program

3. Click the tab labeled Hashes at the top of the window to see the MD5, SHA-1, SHA-256, and SHA-512 hashes for the file you selected.

How to verify MD5, SHA-1 and SHA-256 checksums in Windows
New Hashes tab in File Explorer

4. Copy and paste the checksum you want to compare into the Check Against dialog box.

How to verify MD5, SHA-1 and SHA-256 checksums in Windows
Compare checksum with OpenHashTab

5. If you check the hash, you should see the matching algorithm (in this case MD5) and file name below the Check against box. If not, you will see a No match found message .

Verify checksums in Windows with Certutil

If you don't want to download anything, use the Windows Command Prompt or Terminal to verify the checksum using the certutil command.

1. Open Command Prompt . Press Win + R , type cmd.exe and click OK or open Start and search for “command prompt” .

How to verify MD5, SHA-1 and SHA-256 checksums in Windows
Certutil

2. Use the cd command to navigate to the folder containing your downloaded file. By default, this is usually the Downloads folder , but some people download files to their computers. A quick way to get the path is to right-click the file and select Copy Path. Copy this into the Command Prompt.

cd filepath
How to verify MD5, SHA-1 and SHA-256 checksums in Windows
Certutil Directory

3. Enter the following command with your file name:

certutil -hashfile filename MD5
How to verify MD5, SHA-1 and SHA-256 checksums in Windows
Certutil Hash

4. The MD5 value will appear below the command. Compare this number to the hash checksum value you received for your downloaded file. When using this certutil command, you will usually just copy the value into Notepad and verify it manually after running the utility.

How to verify MD5, SHA-1 and SHA-256 checksums in Windows
Verification results

5. Although MD5 is used as an example, the utility also supports MD2, MD4, MD5, SHA1, SHA256, SHA384 and SHA512.

Sign up and earn $1000 a day ⋙

Leave a Comment

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Error code 0xc0000098 in Windows causes a blue screen error on startup. The ACPI.sys driver is often to blame, especially on unsupported versions of Windows 11 like 23H2 or 22H2 or Windows 10.

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

In some cases, sometimes you start your computer in Safe Mode and the computer freezes. So how to fix the error in this case, please refer to the article below of WebTech360.

How to fix Snipping Tool keeps showing error

How to fix Snipping Tool keeps showing error

Snipping Tool is a powerful photo and video capture tool on Windows. However, this tool sometimes has some errors, such as constantly displaying on the screen.

How to get the fastest internet connection from your router

How to get the fastest internet connection from your router

Every network has a router to access the Internet, but not everyone knows how to make the router work better. In this article, we will introduce some router tips to help speed up the wireless connection in the network.

Common Mistakes When Performing Internet Speed ​​Tests

Common Mistakes When Performing Internet Speed ​​Tests

If the results seem slower than expected, don't be too quick to blame your ISP - mistakes when performing the test can skew your numbers.

What is QoS? How to use QoS for faster Internet speeds when you need it most

What is QoS? How to use QoS for faster Internet speeds when you need it most

In the article below, we will introduce and guide you to learn about the concept of QoS - Quality of Service on router devices.

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Windows has a built-in Credential Manager, but it's not what you think it is—and certainly not a replacement for a password manager.

How to install free HEVC codecs on Windows 10 (for H.265 video)

How to install free HEVC codecs on Windows 10 (for H.265 video)

Microsoft charges for its official codecs and doesn't include them in Windows 10. However, you can get them for free without pulling out your credit card and spending $0.99.

Instructions to fix Access Denied error when accessing files or folders on Windows

Instructions to fix Access Denied error when accessing files or folders on Windows

While having trouble accessing files and folders can be frustrating, don't panic—with a few simple tweaks, you can regain access to your system.

How to check if USB Boot has been created successfully?

How to check if USB Boot has been created successfully?

After creating a USB boot to install Windows, users should check the USB boot's performance to see if it was created successfully or not.

4 Types of Windows Data That Are Growing in Size: How to Control Them?

4 Types of Windows Data That Are Growing in Size: How to Control Them?

Although Windows Storage Sense efficiently deletes temporary files, some types of data are permanent and continue to accumulate.

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

You can turn off Windows 11 background apps to optimize performance, save battery and reduce RAM consumption.

Instructions to fix the error “Network path was not found” in Windows

Instructions to fix the error “Network path was not found” in Windows

When a computer, mobile device, or printer tries to connect to a Microsoft Windows computer over a network, for example, the error message network path was not found — Error 0x80070035 may appear.

How to block Internet connection of Windows 10 software and applications

How to block Internet connection of Windows 10 software and applications

We can block Internet access for any application or software on the computer, while other programs can still access the network. The following article will guide readers on how to disable Internet access for software and applications on Windows.

How to Stay Safe on Windows 10 Until 2030

How to Stay Safe on Windows 10 Until 2030

Instead of paying $30 for a year of security updates, keep Windows 10 safe until 2030 with this simple solution.