Illustration of two page sequences being matched by connecting lines with one unmatched page flagged

PDF guides

How PDF Comparison Actually Detects Changes

Compare PDF doesn’t just line up page 1 against page 1, page 2 against page 2. Here’s the actual mechanism it uses, and why that matters the moment a page gets inserted or removed.

Ready to try the tool this guide describes?

Why page position alone isn't enough

If a page were pairing purely by position — page N of one file against page N of the other — inserting a single page near the start of a long document would make every following page look "different," even though nothing about them actually changed. That’s not a useful result.

How pages are matched by content

Instead, every page of the original is compared against every page of the revised file for similarity — matching text where both pages have real text, or visual similarity where either page is scanned — and the best overall alignment across the whole document is chosen. A page that has no good match anywhere in the other file is correctly reported as added or removed, rather than being force-matched to something unrelated.

Why a page can be 'changed' even if the text is identical

Once two pages are matched, they’re independently checked for a text difference and a visual difference. A page with identical text but a replaced chart, logo, or photo still reports as Changed — checking text similarity alone would silently miss that kind of edit.

What's checked, line by line

For a page whose text itself changed, the specific added and removed lines are computed and shown in the "What changed" panel — this is a real line-level comparison, not just a same/different verdict.

How PDF Comparison Detects Changes FAQ

Does inserting one page near the start break the rest of the comparison?
No — pages are matched by content, not position, specifically so one inserted or removed page doesn’t cascade into every later page reporting as changed.
How can a page be "Changed" if the text is exactly the same?
Text and visual differences are checked independently — a page with unchanged text but a different image or graphic still reports as Changed.
Is the comparison based on where text sits on the page?
Page-to-page matching is based on overall content similarity; the line-level diff for a changed page compares the extracted lines of text themselves.
What signal is used for a scanned page with no text?
A visual comparison of the rendered page takes over — see the companion guide on comparing scanned vs. text PDFs.
Is this the same as a word-processor "track changes" view?
No — it reports added/removed lines per page rather than an inline, character-level redline.

Related guides

Open the tool

Jump into Compare PDF when you are ready to process your files.

← Back to all guides

More from Looty

Explore Looty’s Ecosystem

Discover more ways Looty can help you learn, organize, create, and make an impact.