PDF Mikata

如何判斷兩個檔案是否相同

釋出日期:2026 年 10 月 19 日|最後更新:2026 年 10 月 19 日|關於(日文)

要點
  • 第一個
  • 第二個
  • 比較

Whether two files with different names have the same contents cannot be known for certain from appearance or size. Checking and comparing their hash values with Check a File's Hash (SHA-256) settles it.

步驟

  1. With "Choose one file", choose the first file.
  2. Copy the displayed hash (SHA-256) with "Copy SHA-256" and note it down.
  3. Press "Choose another file" and choose the second file.
  4. The second hash is displayed.
  5. Compare the two values. If they match, the contents are the same.
Pasting the first value into "Value to compare" and pressing "Compare" compares them automatically.

Using the compare feature

  1. Choose the first file and copy its hash.
  2. Choose the second with "Choose another file".
  3. Paste the first value into "Value to compare".
  4. Press "Compare". If they do not match, "No match" appears.

When you can judge them the same

When you can judge them different

Caution: looks the same but differs

Re-saving a photo or opening and re-saving a PDF may change the contents (data) even though it looks the same. In that case the hashes differ.

適合

示例

Could not tell whether "report_final.pdf" and "report_final2.pdf" were the same. Checking the hashes, they matched. It was clear that one of them could be deleted.

Common stumbling blocks

Frequently asked questions

Even if the file names differ, is the hash the same?

If the contents are the same, yes.

小結

Compare two hashes; if they match, the contents are the same. The tip is not to judge by appearance alone.

使用「檢視檔案的雜湊值(SHA-256)」(免費)

搭配使用的工具

如果這篇教程對你有幫助,一點小小的打賞會讓我們非常開心。

打賞(300 日元)贈送禮物(亞馬遜心願單)

此工具的更多教程

檢視全部教程