guide/compare-documents.md

Comparing Documents and Contracts — How to Find Every Difference Between Two Versions

Steps and tips for comparing a draft with its revision, or the contract you sent with the one that came back, as text: choosing space-separated or character units, cleaning up PDF line breaks, and a contract review checklist.

Last updated: 2026-09-23

Checking two documents that are almost the same but different somewhere by eye — a report draft and its revision, or the contract you sent and the one you got back — takes a long time and is easy to get wrong. A text comparison tool finds every change mechanically. This guide sets out the steps and pitfalls of comparing documents.

This guide only explains how to carry out a comparison; it is not legal advice. Check the meaning and effect of contract terms with a professional.

Step 1: Get both documents out as text

A diff tool compares characters, not formatting. Select all the body text in the word-processor file, copy it, and paste it in. A few things to know:

Step 2: Clean up text copied from PDF

PDF is a format that places characters on a page, so copying from it inserts a line break at the end of every line as it appeared on screen. If the line breaks fall in slightly different places in the two PDFs, nearly every line will show as changed. Cleaning up in this order makes the result much cleaner.

  1. On both sides, remove the line breaks inside paragraphs so that each paragraph becomes one line.
  2. Split long paragraphs into one sentence per line (a line break after each period). A change within a sentence then appears only on that line, which is easier to read.
  3. Delete lines that repeat on every page, such as page numbers and headers.
  4. If spaces were copied as several spaces, turn on Ignore amount of whitespace in the comparison options.

Step 3: Choose the comparison unit

After finding the changed lines, choose the unit used to show where they differ within each line.

We recommend scanning the whole document with word or space-separated units first, then looking at lines containing numbers again in character mode.

What to check especially in contracts

Once you have found every change, read the changes in the following categories once more.

ItemExamples of changes to check
Amounts and feesFigures, units (dollars/thousands), whether tax is included, payment timing
Terms and deadlinesStart and end dates, "within" versus "after", business days versus calendar days
PartiesCompany names, representatives, addresses, and whether the party designations (e.g. Party A and Party B) have been swapped
Strength of obligations"may" ↔ "shall", "will use reasonable efforts" ↔ "guarantees"
Liability and damagesCaps, exclusions, liquidated damages rates
TerminationGrounds, notice periods, penalties
Dispute resolutionJurisdiction, governing law, arbitration clauses
Clause numbers and referencesWhether references such as "pursuant to Article 5" still point correctly after clauses were added or removed

For example, if "Party B may invoice the fee by the last day of each month" becomes "Party B shall invoice…", only a few characters differ, but the nature of the obligation changes. diff makes sure you do not miss small changes like this.

How this differs from a word processor's change tracking

Word's "Track Changes" records only edits made while the editor had the feature turned on. If the other side turned tracking off before editing, or recreated the document as a new file, no record remains. Text comparison only needs the two final documents, so it shows every character that actually differs, regardless of who changed what and how. On the other hand, it does not tell you about formatting changes or who made each change, so using both methods together is the most reliable.

When handling sensitive documents

When you paste contracts, HR documents, or unpublished material into an online tool, you need to know where that content goes. This site processes the comparison only inside your browser and does not send your input to a server. Even so, if your company's security policy prohibits using external websites at all, follow the policy.

Try it in this tool

Press the Example button in the Text Diff Checker to load two short versions of a contract. Switch the in-line diff unit between space-separated chunks and characters to see how the amount and date are marked. The HTML button in the result bar copies a colored comparison table that you can paste into an email or report. The differences between the whitespace options are covered in more detail in Whitespace options, and line-break problems in Line endings and invisible differences.

Go to the text diff tool