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

These safe alternatives to public Wi-Fi help protect your data

These safe alternatives to public Wi-Fi help protect your data

Whether you're working at a coffee shop or checking email at the airport, these more secure alternatives will keep your data secure without sacrificing your connection.

7 Smart Ways to Use Your Monitor Without a Computer

7 Smart Ways to Use Your Monitor Without a Computer

When you think of a monitor, you might imagine it connected to a PC or laptop. However, that monitor can actually work with many other devices.

How to turn off background applications on Windows

How to turn off background applications on Windows

Turning off background applications on Windows 10 will help your computer run less sluggishly and save system resources. The following article by WebTech360 will guide readers on how to turn off background applications on Windows 10.

How to Build the Perfect, Cheap Streaming System in a Tiny Dorm Room

How to Build the Perfect, Cheap Streaming System in a Tiny Dorm Room

After countless hours of using their college laptop and desktop speaker setup, many people discover that a few clever upgrades can turn their cramped dorm space into the ultimate streaming hub without breaking the bank.

8 hidden Windows touchpad gestures that make your workflow lightning fast

8 hidden Windows touchpad gestures that make your workflow lightning fast

A laptop's touchpad isn't just for pointing, clicking, and zooming. The rectangular surface also supports gestures that let you switch between apps, control media playback, manage files, and even view notifications.

How to fix Bad System Config Info error in Windows 10

How to fix Bad System Config Info error in Windows 10

Bad System Config Info is a common bug check error on Windows 10 systems. Let's look at some solutions to fix this issue.

How to make Taskbar transparent on Windows 11

How to make Taskbar transparent on Windows 11

Like Windows 10, you can also use third-party software to make Windows 11 Taskbar transparent.

How to invert screen colors using Magnifier Windows 11

How to invert screen colors using Magnifier Windows 11

Using the Magnifier inversion feature on Windows 11 can improve text readability, especially for people who are sensitive to light.

4 ways to pin windows on Windows screen

4 ways to pin windows on Windows screen

If you are wondering how to pin any window to always be on top of other windows (always on top), read this article right away!

Enable XMP to optimize RAM speed

Enable XMP to optimize RAM speed

If you're looking to build your own PC system and decide to invest in some high-speed RAM, how do you make sure your RAM can perform at the advertised speeds?

How to reset Ethernet connection in Windows 11

How to reset Ethernet connection in Windows 11

A quick way to fix the most common wired network problems is to reset your Ethernet connection. Here are the steps to reset your Ethernet connection in Windows 11.

How to add exceptions in Windows Defender on Windows 10

How to add exceptions in Windows Defender on Windows 10

Windows Defender is built into Windows 10 to find malware. To improve performance for tasks like compiling code or running virtual machines, you can add exceptions so Windows Defender will never scan those files.

How to change the default location of the Windows 11 Documents folder

How to change the default location of the Windows 11 Documents folder

If you want, you can move the Documents folder and its contents to another location on your computer, following the instructions below.

Why change default download location in Windows 11?

Why change default download location in Windows 11?

Moving the Download folder from drive C to another drive on Windows 11 will help you reduce the capacity of drive C and will help your computer run smoother.

How to Stop Windows Updates on PC

How to Stop Windows Updates on PC

This is a way to harden and tweak your system so that updates happen on your own schedule, not Microsoft's.