Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a built-in checksum/hash utility on Windows 7?

share|improve this question
Is this one of those goofy "I'm not allowed to install any 3rd party software" requirements? If so, try googling for "PowerShell SHA1 hash" and you should get some scripts/cmdlets that will run on the built-in PowerShell using MS's Crypto APIs. – afrazier Feb 14 '11 at 19:14
There is GetFile-Hash. You need PS 4.0 or community extensions… – rofrol Nov 26 '14 at 11:02
Avast anti virus is blocking downloads from the above site for me, so may be worth approaching with caution. – Jules Dec 17 '14 at 16:11

21 Answers 21

up vote 56 down vote accepted

Unfortunately, no.

But there's a freeware app called HashTab that integrates neatly with Windows Explorer by registering a... well, a tab in the properties dialog of files. It's pretty sweet.

enter image description here

share|improve this answer
Thanks. Unfortunately being built-in was an essential requirement for me. – user64996 Feb 14 '11 at 18:56
I prefer HashCheck over HashTab, primarily because it can handle multiple mixed file/folder selections and it can create/verify SFV/MD5/SHA1 files. My writeup over at the Ars Forums goes into more detail. – afrazier Feb 14 '11 at 21:51
Be aware HashTab is only free for private use! HashCheck is open source and complete free (BSD license) – keiki Oct 22 '12 at 14:08
Also HashCheck is 85kB, awesome. – v.oddou Jul 14 '14 at 7:14
yes, there is a cmd: CertUtil -hashfile _main.exe MD5 – Scott混合理论 Jul 16 at 8:53

I'm using HashCheck which integrates itself as a property page for files and includes a context menu to compare against hash check files (SFV).

It is free, and the source is available.


share|improve this answer
this one is very nice , i tested it on 1GB file and its faster then Summer Properties. – Karim Jul 3 '10 at 22:45
Hilarious app. Definitely the best. It can check the hash with a doubleclick on the created file.MD5! And it remembers what files were hashed. – Pavel Radzivilovsky Dec 23 '10 at 14:26
AVG is flagging that the core Windows Utility has been changed - that is the sort of thing that malicious software often does. – dunxd Nov 20 '12 at 10:15
Free, open source, integrates with property page and explorer context menu, has an .MD5 checker and supports SHA-1. Not to mention it's just 85kb and runs really fast. This application is absurdly great, thank you! – Şafak Gür Feb 26 '14 at 9:59

CertUtil is a pre-installed Windows utility, that can be used to generate hash checksums:

certUtil -hashfile pathToFileToCheck [HashAlgorithm]

HashAlgorithm choices: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512

So for example, the following generates an MD5 checksum for the file C:\TEMP\MyDataFile.img:

CertUtil -hashfile C:\TEMP\MyDataFile.img MD5

Original solution by Laisvis Lingvevicius

In addition you can use it like this, as one-liner in PowerShell:

if ( $($(CertUtil -hashfile C:\TEMP\MyDataFile.img MD5)[1] -replace " ","") ) -eq "your_hash" ) { echo "ok" }

share|improve this answer
This should be the chosen answer – Kobor42 Apr 17 at 4:08
i agree this works in windows 8.1 for me – wiak Jun 7 at 17:16
Windows 7 here too. By far this should be the chosen answer. – Mario Rossi Jun 26 at 17:48
The question specified built-in, and aside from a powershell script, this is the only one that is built in to Windows 7. There are some environments where you can't just install software. My single upvote doesn't seem like enough for this answer. – jbo5112 Sep 23 at 14:30

There is a utility from Microsoft, the Microsoft File Checksum Integrity Verifier

The Microsoft File Checksum Integrity Verifier tool is an unsupported command line utility that computes MD5 or SHA1 cryptographic hashes for files.

It doesn't show Windows 7 in system requirements but I've just used it in Windows 8 and it worked.

share|improve this answer
That utility was useful for me. I downloaded an iso image from msdn and needed to cheksum it. I didn't want any third party tools. I didn't need the shell integration and the author didn't ask for it. It's from a trusted source Microsoft and while unsupported it still works. I posted a link here because other people like me may find it useful. – creator Sep 6 '12 at 4:25
I'm with @creator. It may not be supported software, but at least Microsoft is the author. Checksum programs are potentially really important to maintaining security; I'd rather not get mine from some random third-party. – ellisbben Sep 18 '12 at 18:00

Here's one I've used before that integrates nicely with Explorer's "Properties" dialog: Summer Properties. It's open source, and an x64 version is also available.

SummerProperties screen shot

I also like Safer Networking's FileAlyzer, which provides additional features as well. But just for checksums, Summer Properties is lightweight and does the job.

share|improve this answer
Great tool. +1. I wish it had "copy" buttons too =x – Pavel Radzivilovsky Oct 3 '10 at 15:21
The only problem with this is that it does not support folders or groups of files. It is also out of dvlp – Pavel Radzivilovsky Dec 23 '10 at 12:47
Another problem with it is that you can't paste an hash into it and see if it matches – Jonathan Mar 23 '11 at 16:33

Nirsoft's HashMyFiles is small utility that allows you to calculate the MD5 and SHA1 hashes of one or more files in your system. You can easily copy the MD5/SHA1 hashes list into the clipboard, or save them into text/html/xml file.

HashMyFiles can also be launched from the context menu of Windows Explorer, and display the MD5/SHA1 hashes of the selected file or folder.

alt text

HashMyFiles is freeware and portable.

share|improve this answer

I found this PowerShell script:

param([switch]$csv, [switch]$recurse)

[Reflection.Assembly]::LoadWithPartialName("System.Security") | out-null
$sha1 = new-Object System.Security.Cryptography.SHA1Managed
$pathLength = (get-location).Path.Length + 1

$args | %{
    if ($recurse) {
        $files = get-childitem -recurse -include $_
    else {
        $files = get-childitem -include $_

    if ($files.Count -gt 0) {
        $files | %{
            $filename = $_.FullName
            $filenameDisplay = $filename.Substring($pathLength)

            if ($csv) {
                write-host -NoNewLine ($filenameDisplay + ",")
            } else {
                write-host $filenameDisplay

            $file = [System.IO.File]::Open($filename, "open", "read")
            $sha1.ComputeHash($file) | %{
                write-host -NoNewLine $_.ToString("x2")

            if ($csv -eq $false) {

Source: Calculating SHA1 in PowerShell

It leverages .NET which I assume you have installed

share|improve this answer
Win 7 comes with .NET 3.5 and PowerShell v2, and PowerShell has always been dependent on .NET, so if you've got PS, you've got .NET. :-) – afrazier Feb 14 '11 at 21:47

Powershell version 4 and up includes the Get-FileHash cmdlet.

powershell get-filehash -algorithm md5 <file_to_check>

Use doskey to make a persistent alias that's easier to remember.

doskey sha1sum=powershell get-filehash -algorithm sha1 "$1"
doskey md5sum=powershell get-filehash -algorithm md5 "$1"
share|improve this answer
That is an excellent solution and will save me in the future from downloading gnuwin32 everywhere :-) Thanks! – Henning Aug 3 at 20:18

Microsoft File Checksum Integrity Verifier. It can compute MD5 and SHA-1 hash values.

Download, extract the files, then open a command prompt, go to the extracted path and then type the following command:

fciv -md5 filepath\filename.extension

For example:

fciv -md5 d:\programs\setup.exe
share|improve this answer
Except that @creator's answer was posted months before this one. – dj18 Aug 14 '14 at 15:11

MD5 Context Menu does exactly this. It adds an MD5 option to the context menu of files:

enter image description here

alt text

MD5 context menu is a freeware shell extension for windows which displays the MD5 hash sum of the selected file.

It says it's compatible with Windows 95, 98, ME, NT, 2000, and XP, although it works for me perfectly fine on 7. It's a tiny download (238KB) and includes everything you need.

share|improve this answer
"Because of a serious bug in the last version of our tool for large files with sizes > 2^31 bytes (~2.1GB) we currently do not provide the download anymore." – Taha Jahangir Oct 11 '13 at 4:35

Cygwin contains an md5sum.exe utility that should do what you want.

share|improve this answer
Unfortunately being command line based, it doesn't integrate with the Windows Shell. – Cristian Ciupitu May 21 '14 at 19:38

HashTab 3.0 is a free shell extension that calculates many checksums, including MD5. It's integrated as a new tab in the File Properties.

share|improve this answer

Unfortunately not that I'm aware of but Microsoft's Sysinternals suite includes a nice tool called sigcheck:

share|improve this answer

Something like this: winmd5sum.
This one's also nice: sendtoMD5 - right click, send to ..., and it gets you the result.

share|improve this answer

QuickHash supports SHA-256 and SHA-512. I needed SHA-256 support to verify the checksum of whitelisted JavaScript libraries for inclusion in a Firefox addon.

share|improve this answer

You can use MD5sums for Windows, a download of only 28 KB (Cygwin might be overkill if all you want to do is compute MD5 hashes).

The easiest way to use it is to use Explorer to drag and drop files on md5sums.exe to obtain their MD5 hashes.

share|improve this answer

There like 100 3rd part tools out there. I use MD5Hash. For downloads with sfv files, just use Teracopy to verify the hashes.

share|improve this answer

I like digestIT, although it seems to be fairly old and maybe not maintained.

share|improve this answer

For a solution that works on Windows or just about any other environment, use Python.

  1. install Python -- a Windows installer is provided on

  2. download a tested cksum implementation, e.g. -- save the contents of this to say, c:\ or wherever you find convenient

Then to perform a checksum:

python c:\ INPUTFILE

Not as fast as a compiled utility, but compatible with Unix cksum and runs anywhere.

share|improve this answer

The correct answer is of course Yes - CertUtil. (- see this answer above.)

But I'll add Penteract's free File Checksum Verifier which, I think, is one of the most user-friendly programs. (Disclaimer: I'm affiliated with Penteract.)

Some of its advantages:

  • Compares the calculated and expected hashes for you.
  • Minimalistic - no item in files' context-menus, no extra tab on files' properties.

To verify this program's integrity (against man in the middle attacks) - it downloads over a secure connection.

Penteract File Checksum Verifier

Plus: free, offline (so you don't have to upload your files), user-friendly (drag a file in and get the result), launches from the start menu (no need to look for the downloaded executable when you want to use it a year from now), Supports MD5, SHA1, SHA256, etc., ...

share|improve this answer

Well, I have made a program to calculate some hashes from a file. I hope it helps you.

What does this do? It calculates the SHA-1 hash, SHA-384 hash, MD5 hash and SHA-256 hash. Well, that's about it :)

share|improve this answer
Welcome to Super User. Could you please say a little bit about your solution rather than just providing a link to it? – Excellll Sep 8 '14 at 19:13

protected by Community May 23 at 7:16

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.