Skip to main content

File Checksums on Windows 10

Easy ways to check file hashes on Windows 10

1)  certutils on the command line

C:\>certutil -hashfile (filename)
SHA1 hash of (filename):
d87abef23089c45934ce1b19fbbbc4560f1b6165
CertUtil: -hashfile command completed successfully.

But, we don't really want SHA1, so just add what hash format you want. 

Hash algorithms: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512

C:\>certutil -hashfile (filename) sha256
SHA256 hash of (filename):
4611f3797c53ed37c89443bd8bb94ac1fd860fbabcdefg8933783c0f6ef21007
CertUtil: -hashfile command completed successfully.

2)  PowerShell

PS C:\> get-filehash -path (filename) -algorithm sha256

SHA256 4611F3797C53ED37C89443BD8BB94AC1FD860FB807865D8933783C0F6EF21007 (filename)

Algorithm can be one of: SHA1 SHA256 SHA384 SHA512 MACTripleDES MD5 RIPEMD160

 

If you want more convenience, third party tools can be installed that use the context menu or a tab in file properties.  Depends on how often you do this, but I just wanted a Windows Way without installing more software.

windows, file hash