Multi-Hash File Calculator
Calculate SHA-1, SHA-256, SHA-384, and SHA-512 checksums
Multi-Hash File Calculator — what it does
Calculate SHA-1, SHA-256, SHA-384 and SHA-512 checksums for one or more files in a single pass, and export the results as CSV. Publishers list different algorithms, so having all four at once removes the guesswork about which one the verification page expects.
Worked example
Two files from an invoice handover hashed in one pass; the page shows one table row per file and the CSV export was downloaded as file-hashes.csv.
Input — selected files
contacts.csv (329 bytes) invoice-0917.pdf (598 bytes)
Output — the four digests per file (table columns File, Size, SHA-1, SHA-256, SHA-384, SHA-512)
contacts.csv 329 SHA-1 669031a104171061e578407db7181057b7cf2f57 SHA-256 ff6371726e1060bca5aef006eb11edc654ca08a0585b133035de7bdc79d7124e SHA-384 bda8cba230123b2ea5ca8920f41fc850b022453686be026425514e76b660e69eeca81ffc64d78639fa780f3ebf01d0fe SHA-512 f24b894ca1f7830f6b9cd69bef1855d582e6bd763981d396a771b90d2f6382841cec7d60f096acb21a5098ff9db7c498d0167deb56b7d906bdbacd28c7d58c67 invoice-0917.pdf 598 SHA-1 be9b4a5ede170cdcc42d3107cf17ce6ecef2d6b2 SHA-256 50598b9d515b0893839abed7f5555f09df96afd97350916237792df942e151bb SHA-384 084277b126e627c051b7970229e2a77ee97674c1ec2474f912d16304776864929602aa83152bd9a4e541e24b34228c87 SHA-512 6664a3f2295ee84cdd7485666a1464c1547e55de6dae022cfb9f1f21485244cd9e8039cb40f77d347bb56cc93ddaf21523051f4c3d1a1a8d36564dd27373fd68
Digests are lowercase hex and the Size column is in bytes; the table is shown here one algorithm per line for width.
When this tool helps
- Verifying downloads against whichever checksum a vendor happened to publish.
- Recording fingerprints for a set of files before archiving or transferring them.
- Producing a checksum manifest to accompany a delivery of files.
How to use it
- Choose the files to hash.
- Calculate the hashes.
- Compare against the published values.
- Download the CSV manifest for your records.
Accuracy, limits, and good practice
- SHA-256 is the sensible default. SHA-1 is included only because older projects still publish it, not because it is trustworthy against tampering.
- Compare the full string. Matching the first six characters proves nothing about the rest of the digest.
- Hashing reads every byte, so a large batch takes real time — the wait is proportional to total size, not file count.
- Hashing runs one file after another, so a slow-looking batch is usually one very large file rather than a stalled tool.
Frequently asked questions
Which algorithm should I trust?
SHA-256 or stronger. SHA-1 has demonstrated collisions and should not be relied on to detect deliberate tampering.
Why do publishers list several?
Compatibility with different verification tools and habits. Any one match against a genuinely published value is sufficient.
Why does the same file give four different values?
Each algorithm produces a different digest length and construction. Compare like with like: a SHA-256 value never matches a SHA-512 value for the same file.
What does the CSV export contain?
A header row and one row per file with the columns File, Size, SHA-1, SHA-256, SHA-384, SHA-512 — every cell in double quotes, Size in bytes, CRLF line ends and a UTF-8 BOM at the start so Excel opens it cleanly. Hashes are lowercase; compare case-insensitively with publishers who print uppercase.
Is there a limit on how many files I can hash?
The on-page table shows the first 200 files, but every selected file is hashed and all of them go into the CSV. Each file is read four times, once per algorithm, and files are processed one after another, so a folder of large files takes about four passes over its total size.
Related tools on this site
- Duplicate File Detector — Find duplicate files locally using SHA-256 content hashes
- Invoice Generator — Create a printable invoice with client details, line items, discount, tax, and totals
- Text File Merger — Combine multiple text files in order with a custom separator
Further reading: How Local Browser Tools Protect Your Files
Everything above runs inside this page. Multi-Hash File Calculator needs no account, no upload, and no server round trip — close the tab and nothing is left behind.
多演算法檔案雜湊能做什麼
一次為一個或多個檔案計算 SHA-1、SHA-256、SHA-384 與 SHA-512 校驗值,並可匯出成 CSV。各家發佈的演算法不同,四種一次到齊,就不必猜驗證頁面要的是哪一個。
實際範例
發票交接的兩個檔案一次算完;頁面每個檔案一列,CSV 下載檔名為 file-hashes.csv。
來源:選取的檔案
contacts.csv (329 bytes) invoice-0917.pdf (598 bytes)
產生:每個檔案的四種摘要(表格欄位 File、Size、SHA-1、SHA-256、SHA-384、SHA-512)
contacts.csv 329 SHA-1 669031a104171061e578407db7181057b7cf2f57 SHA-256 ff6371726e1060bca5aef006eb11edc654ca08a0585b133035de7bdc79d7124e SHA-384 bda8cba230123b2ea5ca8920f41fc850b022453686be026425514e76b660e69eeca81ffc64d78639fa780f3ebf01d0fe SHA-512 f24b894ca1f7830f6b9cd69bef1855d582e6bd763981d396a771b90d2f6382841cec7d60f096acb21a5098ff9db7c498d0167deb56b7d906bdbacd28c7d58c67 invoice-0917.pdf 598 SHA-1 be9b4a5ede170cdcc42d3107cf17ce6ecef2d6b2 SHA-256 50598b9d515b0893839abed7f5555f09df96afd97350916237792df942e151bb SHA-384 084277b126e627c051b7970229e2a77ee97674c1ec2474f912d16304776864929602aa83152bd9a4e541e24b34228c87 SHA-512 6664a3f2295ee84cdd7485666a1464c1547e55de6dae022cfb9f1f21485244cd9e8039cb40f77d347bb56cc93ddaf21523051f4c3d1a1a8d36564dd27373fd68
摘要是小寫十六進位,Size 欄是位元組;為了寬度,此處把表格改成每種演算法一行。
什麼時候用得上
- 以官方碰巧公布的那種校驗值來驗證下載檔。
- 在封存或傳輸前,為一組檔案記錄指紋。
- 產出隨檔案交付的校驗值清單。
使用步驟
- 選擇要計算雜湊的檔案。
- 執行計算。
- 與公布的數值比對。
- 下載 CSV 清單存檔備查。
精確度、限制與實務建議
- SHA-256 是合理預設。列出 SHA-1 只是因為舊專案仍在公布它,並不代表它足以對抗竄改。
- 請比對完整字串。前六碼相同,證明不了摘要其餘部分。
- 雜湊要讀完每個位元組,大批檔案需要實際時間——等待長度取決於總容量而非檔案數。
- 雜湊是逐檔進行的,看起來卡住的批次通常只是其中有一個超大檔案,而不是工具當掉。
常見問題
該相信哪一種演算法?
SHA-256 或更強者。SHA-1 已被證實可製造碰撞,不應用來偵測刻意竄改。
為什麼官方會列出好幾種?
為了相容不同驗證工具與使用習慣。只要有一種與正式公布值相符即已足夠。
同一個檔案為什麼有四個不同的值?
每種演算法的摘要長度與結構都不同。請同類比同類:同一個檔案的 SHA-256 永遠不會等於 SHA-512。
CSV 下載檔裡有什麼?
一列標題加每個檔案一列,欄位為 File、Size、SHA-1、SHA-256、SHA-384、SHA-512;每格都加雙引號,Size 是位元組,行尾 CRLF,檔頭帶 UTF-8 BOM,Excel 可直接開。雜湊是小寫;與印成大寫的發布方比對時不分大小寫即可。
檔案數量有上限嗎?
頁面上的表格只列前 200 個檔案,但所有選取的檔案都會算,也都會寫進 CSV。每個檔案會被讀四次(每種演算法一次),而且檔案是一個接一個算,所以一堆大檔案大約要掃總大小的四倍。
本站相關工具
延伸閱讀: 本地瀏覽器工具如何保護你的檔案
以上步驟全部在這個頁面內完成,多演算法檔案雜湊 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。