[{"data":1,"prerenderedAt":150},["ShallowReactive",2],{"content:en:guides\u002Fmd5-checksum-windows":3},{"id":4,"title":5,"body":6,"description":132,"extension":133,"faq":134,"kind":141,"locale":142,"meta":143,"navigation":144,"path":145,"seo":146,"seoTitle":147,"stem":148,"__hash__":149},"pages\u002Fen\u002Fguides\u002Fmd5-checksum-windows.md","Check an MD5 file checksum on Windows",{"type":7,"value":8,"toc":123},"minimark",[9,14,18,22,25,42,45,49,52,55,59,62,65,69,72,76,111,119],[10,11,13],"h2",{"id":12},"start-with-a-trusted-expected-value","Start with a trusted expected value",[15,16,17],"p",{},"A download page may publish an MD5 checksum next to an artifact. Confirm the algorithm and file version before calculating anything. Keep the expected value from a trustworthy publisher; downloading a file and its checksum from an untrusted mirror does not establish authenticity. If the publisher supplies SHA-256 instead, select SHA-256 rather than trying to turn one digest into the other.",[10,19,21],{"id":20},"calculate-the-file-in-powershell","Calculate the file in PowerShell",[15,23,24],{},"Open PowerShell and run the following with the path replaced by your actual local file. LiteralPath treats square brackets and other wildcard-looking characters as part of the filename. Quotes keep a path containing spaces together.",[26,27,32],"pre",{"className":28,"code":29,"language":30,"meta":31,"style":31},"language-powershell shiki shiki-themes github-light github-dark","Get-FileHash -LiteralPath 'C:\\Downloads\\example.zip' -Algorithm MD5\n","powershell","",[33,34,35],"code",{"__ignoreMap":31},[36,37,40],"span",{"class":38,"line":39},"line",1,[36,41,29],{},[15,43,44],{},"Read the Hash field, not the Path column. MD5 is not the command's default algorithm, so keep the explicit option. Uppercase letters in PowerShell and lowercase letters in a browser represent the same hexadecimal bytes.",[10,46,48],{"id":47},"compare-the-complete-32-characters","Compare the complete 32 characters",[15,50,51],{},"For a controlled fixture, create a UTF-8 file containing exactly abc and no final newline. Its MD5 is 900150983cd24fb0d6963f7d28e17f72. An editor that adds a newline or a byte-order mark changes the bytes and therefore the result. This fixture is for checking the procedure, not an expected value for your own download.",[15,53,54],{},"Choose the same saved file in the browser file tool, select MD5, and paste only the 32-character expected hash into comparison. Do not paste a full terminal line, an algorithm prefix or the filename. The tool accepts surrounding pasted whitespace and case differences, but internal spaces are rejected.",[10,56,58],{"id":57},"diagnose-a-mismatch-without-editing-the-download","Diagnose a mismatch without editing the download",[15,60,61],{},"Verify that the file has finished downloading, that it is the intended release and that you have not compared an extracted folder with its archive. A renamed file keeps the same content hash, while a recompressed archive generally does not. A browser error or cancelled calculation is not the same as a completed mismatch.",[15,63,64],{},"Do not modify the file merely to force a match. Obtain a fresh copy from the publisher if the expected bytes cannot be confirmed. For malicious-modification resistance, follow the publisher's signature-verification instructions or use its authenticated modern hash. MD5 alone is not a security certificate.",[10,66,68],{"id":67},"browser-and-command-line-roles","Browser and command-line roles",[15,70,71],{},"The browser is useful for a small local queue and a visible comparison. PowerShell is useful for automation and files beyond the browser's safeguards. Neither method should upload a file just to calculate its local checksum. The browser tool limits a file to 1 GiB; your system and command-line environment have their own practical limits.",[10,73,75],{"id":74},"related-tools-and-guides","Related tools and guides",[77,78,79,87,93,99,105],"ul",{},[80,81,82],"li",{},[83,84,86],"a",{"href":85},"\u002F","MD5 Hash Generator",[80,88,89],{},[83,90,92],{"href":91},"\u002Ffile-md5","File checksum calculator",[80,94,95],{},[83,96,98],{"href":97},"\u002Fguides\u002Fmd5sum-linux","Use md5sum on Linux: files, manifests and newline checks",[80,100,101],{},[83,102,104],{"href":103},"\u002Fguides\u002Fmd5-vs-sha256","MD5 vs SHA-256: choosing and comparing file hashes",[80,106,107],{},[83,108,110],{"href":109},"\u002Fguides\u002Fwhat-is-md5","What is MD5? Bytes, 128-bit digests and common misconceptions",[15,112,113],{},[83,114,118],{"href":115,"rel":116},"https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpowershell\u002Fmodule\u002Fmicrosoft.powershell.utility\u002Fget-filehash?view=powershell-7.5",[117],"nofollow","Microsoft Get-FileHash",[120,121,122],"style",{},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":31,"searchDepth":124,"depth":124,"links":125},2,[126,127,128,129,130,131],{"id":12,"depth":124,"text":13},{"id":20,"depth":124,"text":21},{"id":47,"depth":124,"text":48},{"id":57,"depth":124,"text":58},{"id":67,"depth":124,"text":68},{"id":74,"depth":124,"text":75},"Use PowerShell to calculate MD5 from a real file, compare only the hash, and troubleshoot paths and byte differences.","md",[135,138],{"question":136,"answer":137},"Do I need to specify MD5 in Get-FileHash?","Yes. Keep -Algorithm MD5 when reproducing an MD5 reference; the command defaults to SHA-256. Replace the sample path with the saved file you actually want to verify.",{"question":139,"answer":140},"Does uppercase PowerShell output differ from lowercase output?","No. Hexadecimal letter case does not change the digest bytes. Compare all 32 MD5 characters without the filename or other command-output fields.","guide","en",{},true,"\u002Fen\u002Fguides\u002Fmd5-checksum-windows",{"title":5,"description":132},"Check an MD5 file checksum on Windows — md5hash.net","en\u002Fguides\u002Fmd5-checksum-windows","3CAGROduluGrprkLtbcp2BbGICA69ikGgQvgTljhwks",1792048883700]