WHY THIS ONE IS NOT HERE

Comparison is a text diff with a page map, and only half of it is here

“What changed between these two contracts” sounds like one operation and is three: extract the text from both, align the two sequences across insertions and deletions, and then decide whether a re-flowed paragraph, a moved signature block or a different page break counts as a change at all. The alignment is a diff algorithm, which is the easy part; the judgement about what counts as a difference is the hard part, and tools that get it wrong produce a report that makes people re-read everything anyway.

A WORKFLOW THAT HOLDS UP

Three minutes with the tools that exist

Run both files through PDF to Text, save the two text files with the version in their names, and diff them. In VS Code: select the first, right-click “Select for Compare”, then right-click the second and choose “Compare with Selected”. The result is a word-accurate list of insertions and deletions with line numbers, which is what a lawyer or a quantity surveyor actually wants.

If the pages are re-flowed and line numbers drift, the answer is still the text diff — read the hunks rather than the page map. If the files are scans, neither has text to align, and a pixel comparison of two photographs of the same paper will report every speck of dust as a change.

QUESTIONS

Compare PDFs — common questions

Can you not just compare the pixels of two pages?

You can, and the output is misleading. A re-rendered page differs in subpixel positions, so a pixel diff flags the entire document as changed. Professional comparison works on the text and object streams and then decides what is material — which is the part a browser does not do.

Are there real tools for this?

Yes: Adobe Acrobat Pro has Compare Files with a visual report, and there are dedicated redline tools for legal drafting. They cost money because the judgement about what counts as a change took years to build.

Does a text diff miss anything?

It misses everything that is not text — one image swapped for another, a table moved a centimetre, a font changed, a page re-ordered while carrying the same words. Where layout is part of the meaning, compare visually as well.

What if one version is a scan of the signed original?

Then there is no shared text layer to align and nothing here helps. Extract the text from the version that has one and read the scan against it.

Could a diff be added as a tool someday?

A text-only diff of two PDFs is buildable in a tab and would be genuinely useful. It is not built yet, and this page is a statement of what is and is not available today rather than a promise dressed up as a tool.

KEEP GOING

Related free tools