違いが出ない・多すぎるときの対処
- PDFの順番を確認
- 変更のない行を表示
- ページをしぼる
2つのPDFの違いを比べる(差分チェック) で比べたのに、「違いは見つかりませんでした。」と出る、または、逆に、違いが大量に出る。そんなときの原因と対処です。
手順(基本)
- 「元のPDF(古いほう)を選ぶ」と「新しいPDFを選ぶ」で、2つを選びます。
- 「比べる」を押します。
- 「違いを見る」を確認します。
「違いは見つかりませんでした」と出るとき
- 本当に、文字が同じ:変更がない。
- 画像や図だけが変わった:このツールでは分かりません。目視で確認します。
- 同じファイルを2回選んだ:選んだファイルを、確認します。
- 古い・新しいを取り違えた:順番が逆でも、違いは出ます。
違いが多すぎるとき
- 改行の位置が違う:同じ文章でも、行が別になる。
- フォーマットを変えた:フォントや余白の変更で、折り返しが変わる。
- ページ構成が変わった:ヘッダー・フッターの追加など。
- 全角・半角、空白の違い:見た目はほぼ同じでも、差分に出る。
対処の方法
- ヘッダー・フッターを除いて、本文のページだけを抜き出す。
- 「変わっていない行も表示する」をオンにして、前後を見る。
- 同じソフトで作り直して、形式をそろえる。
- 比べたい範囲を、小さくする。
「行数が多すぎます」と出るとき
3,000行までです。ページを分けて、比べます。
例
修正前後のPDFを比べたら、ほぼ全行が違うと出た。原因は、改行位置の変更。本文だけを抜き出して、比べ直したら、実際の違いは3か所だった。
つまずきやすい点
- 差分が0なのに、内容が違うはず:画像でできたページかもしれません。
- ページの順番が違う:同じ内容でも、順番が違うと差分になる。
よくある質問
差分の件数は出ますか?
結果の一覧から、確認できます。
まとめ
違いが出ない場合は、画像の可能性。多すぎる場合は、改行やレイアウトの違いを疑いましょう。
2つのPDFの違いを比べる(差分チェック)を使う(無料)あわせて使えるツール
- PDFから文字を抜き出す:PDFの文字を取り出して、コピーまたは保存できます。
- PDFを結合:複数のPDFを、順番を決めて1つのPDFにまとめます。
- 画像・PDFの文字を読み取る(OCR):画像やスキャンPDFの文字を、文字データにします。
同じツールの、ほかの解説
If No Differences Appear, or Too Many Do
- Check which is which
- Show unchanged lines
- Reduce the pages
You compared with Compare Two PDFs (Find Differences) and it says "No differences found.", or conversely shows a huge number of differences. Causes and remedies for those cases.
Steps (basic)
- Choose the two with "Choose the original PDF (older)" and "Choose the new PDF".
- Press "Compare".
- Check "See the differences".
When "No differences found" appears
- The text is truly the same: nothing changed.
- Only images or figures changed: this tool cannot tell. Check by eye.
- The same file was chosen twice: check the files you chose.
- Old and new were mixed up: differences appear even with the order reversed.
When there are too many differences
- Line-break positions differ: the same text becomes different lines.
- Formatting changed: font or margin changes alter the wrapping.
- Page structure changed: headers and footers added and so on.
- Full-width/half-width or blank differences: nearly identical to look at, yet shown as differences.
Remedies
- Extract only the body pages, excluding headers and footers.
- Turn on "Also show unchanged lines" and look at the surroundings.
- Recreate with the same software to align the format.
- Make the range to compare smaller.
When "Too many lines" appears
The limit is 3,000 lines. Split the pages and compare.
Example
Comparing before and after PDFs showed almost every line as different. The cause was a change of line-break positions. After extracting only the body and comparing again, the real differences were three places.
Common stumbling blocks
- Zero differences though the content should differ: the page may be made of images.
- Page order differs: the same content in a different order counts as differences.
Frequently asked questions
Is a count of differences shown?
You can check it from the result list.
Summary
If no differences appear, suspect images; if too many, suspect line breaks or layout differences.
Use "Compare Two PDFs (Find Differences)" (free)Tools that go well with this
- Extract Text from PDF: Pull the text out of a PDF to copy or save.
- Merge PDFs: Combine several PDF files into one, in the order you choose.
- Read Text from Images and PDFs (OCR): Turn text in images and scanned PDFs into text.