Contract comparison tool

The contract comparison tool shows what changed between two versions of a contract. Paste the original and the revised text to see every added and removed word marked inline, a count of changed paragraphs and words, and the changes to numbers, dates, amounts and defined terms. It is free, with no account and no usage limit, and what you paste stays in your browser tab.

Contract comparison tool

Paste the original and the revised version of a contract to see every word that was added or removed.

What you paste stays in this browser tab. The tool sends it nowhere and keeps nothing after you close the tab.

Paste both versions

Plain text only: copy it out of Word or a PDF (no file upload). Each line break starts a new paragraph. Up to 60,000 words per side; a 20-page contract (about 10,000 words) compares in under two seconds on a laptop in any current browser with JavaScript on.

Choose options and compare

Review the differences

Your comparison will appear here: how many paragraphs and words changed, the changes worth a closer look, a list of changed paragraphs with links, and the text with insertions and deletions marked.

This is a mechanical text comparison built by Gavel. It shows what changed, never suggests edits, and does not tell you whether a change matters legally. A moved paragraph shows as removed in one place and added in another. Check the result against both documents before you rely on it. To send back your own edits as tracked changes in Microsoft Word, see Gavel Exec redlining.

How to compare two versions of a contract

  1. Copy the text of the earlier draft out of Word or a PDF and paste it into Original version. Use a clean copy, with tracked changes accepted or rejected, so you compare the text you mean to.
  2. Paste the later draft into Revised version. Each line break starts a new paragraph.
  3. Tick Ignore case or Ignore spacing and punctuation-only changes if those differences don't matter to you, then select Compare versions.
  4. Read the counts and the Worth a closer look list first, then use the links in Changed paragraphs to jump to each change in the marked-up text.
  5. Copy or download the change list (.txt), or download the full comparison report (.html) to keep with the file or send to a colleague.

What the contract comparison tool shows and how it works

The contract comparison tool is a mechanical text comparison written in JavaScript that runs in your browser. It uses no AI and no randomness: the same two texts always give the same result. This kind of check is also called document comparison, or a blackline. It works in two passes.

  1. Paragraphs. Each line of text is a paragraph. The tool lines up paragraphs that are identical in both versions (a Myers difference algorithm). Between those, it pairs an original paragraph with a revised one when at least 40% of their words match, choosing the pairing with the most overlap (for a run of more than about 600 changed paragraphs in a row, the nearest good match). An original paragraph with no partner is shown as removed; a revised paragraph with no partner is shown as added.
  2. Words. Inside each paired paragraph it compares word by word with the same algorithm and marks the words that were removed and added. Numbers such as $12,000, 4.2 or forty-five count as one word.

The output has four parts. The counts give paragraphs changed (edited, added and removed), words added and words removed; punctuation marks are not counted as words. Worth a closer look lists every change that touches a number, date, amount or defined term. Changed paragraphs lists each changed paragraph with a link to it, numbered as in the revised version (removed paragraphs use their number in the original). The marked-up text shows the revised version with added text in green and underlined and removed text in red and struck through; screen readers announce each change as added or removed.

Worth a closer look follows these rules. It is pattern matching only and says nothing about whether a change matters.

  • Amount: the changed words include a currency sign ($, €, £, ¥), "USD" or "dollar(s)", or a changed number sits next to one of those.
  • Date: the changed words include a month name, a date such as 3/1/2026 or 2026-03-01, or a year from 1900 to 2099, or a changed number sits next to a month name (March 1 to March 15).
  • Number: any other changed digit, or a number word (one to ninety, hundred, thousand, million, billion), such as thirty or 30.
  • Defined term: the changed words include a term defined in quotation marks with a capital letter anywhere in either version, such as ("Provider"), or a new term in quotation marks.
  • Each edit gets at most one of Amount, Date or Number, plus Defined term when it applies. For a whole added or removed paragraph, the tool lists the amounts, dates, numbers and newly defined terms it contains.

Options: Ignore case treats capital and small letters as the same. Ignore spacing and punctuation-only changes compares words only, so a changed comma, period or double space is not reported; punctuation inside a word or number, such as the comma in $1,000 or the point in 4.2, still counts. With both options off, a paragraph whose words are identical but whose spacing changed is listed as Spacing changed.

Worked example

Example (fictional): the Try an example button loads two drafts of a Master Services Agreement between Northwind Analytics, Inc. ("Provider") and Brightline Health LLC ("Customer"), nine paragraphs each. In the revised draft the effective date moves from March 1 to April 1, 2026; the monthly fee rises from $12,000 to $14,500; payment terms go from thirty (30) to forty-five (45) days; the term goes from twelve (12) to twenty-four (24) months; Customer's right to terminate for convenience on sixty (60) days' notice is deleted; a new Data Security section is added; the confidentiality standard is expanded; and governing law changes from Colorado to Delaware.

With both options off, the tool reports: 7 paragraphs changed (5 edited, 1 added, 1 removed). 55 words added, 25 words removed. Worth a closer look lists nine items:

ParagraphTypeChange
Revised ¶2Date"March" → "April"
Revised ¶4Amount"$12,000" → "$14,500"
Revised ¶4Number"thirty" → "forty-five"; "30" → "45"
Revised ¶5Number"twelve" → "twenty-four"; "12" → "24"
Original ¶7Numberremoved paragraph mentions "sixty", "60"
Revised ¶7Numberadded paragraph mentions "5", "seventy-two", "72"
Revised ¶7Defined termadded paragraph defines "Security Requirements"
Revised ¶8Number"5" → "6"
Revised ¶9Number"6" → "7"

The change from Colorado to Delaware and the longer confidentiality standard are not in that list, because they contain no number, date, amount or defined term. They still appear in Changed paragraphs and in the marked-up text, where "Colorado" is struck through and "Delaware" is underlined. The section renumbering (5 to 6, 6 to 7) shows up as Number changes because the Data Security section was inserted before them.

What the contract comparison tool does not do

  • It doesn't suggest edits or tell you whether a change is good or bad for your client. It shows differences only.
  • It doesn't read files. Paste plain text; formatting, tables, headers and footers, footnotes, comments and tracked-change markup are not compared.
  • It doesn't detect moved text. A paragraph moved to another place shows as removed in one place and added in the other.
  • It treats each line break as a paragraph, so text copied from a PDF with a line break at the end of every line is compared line by line. Rejoin the lines first for a cleaner result.
  • Inside a very heavily rewritten paragraph (more than 2,500 word-level changes), it shows the whole paragraph as removed and re-added rather than word by word.
  • Its flags are pattern matches. A number written in an unusual way, or a defined term without quotation marks, may not be flagged.
  • Gavel tested it with automated checks on the example above and on synthetic contracts of about 10,000 words per side; it has not been tested on a set of real negotiated contracts. Check every change against both documents before relying on the result. The output is a reading aid for a lawyer, not legal advice.

When to use the contract comparison tool

  • Check a counterparty's returned draft: paste the version you sent and the version that came back to catch changes they made without tracked changes, then start with the amounts, dates and defined terms.
  • Confirm the execution version: compare the last agreed draft with the signature copy to make sure nothing changed in between.
  • Review a renewal or an updated set of standard terms: compare last year's agreement or the vendor's old terms with the new ones to see what moved.
  • Prepare an amendment: list exactly which sections differ before you draft the amendment, for example with the contract amendment generator.

Next step: send back your own edits with Gavel Exec

The contract comparison tool tells you what changed; it never proposes edits. When you need to respond with your own changes, Gavel Exec, Gavel's paid AI assistant for Microsoft Word, redlines a full agreement for the side you represent and inserts each suggested edit as a Word tracked change. Each user starts with 25 free queries and no credit card; see Gavel Exec pricing for plans.

Built and maintained by Gavel. Comparison rules v1.0. Last updated November 14, 2026.

Frequently asked questions

Is the contract I paste sent anywhere?

No. The contract comparison tool compares the two texts inside your browser tab: it sends what you paste nowhere, stores nothing, and everything is gone when you close the tab. The tool itself makes no network requests; the gavel.io page around it may load website analytics, as the rest of the site does. Follow your firm's confidentiality policy for client documents.

Is the contract comparison tool free, and do I need an account?

Yes, it is free, with no account, no sign-up and no usage limit. It works in any current browser with JavaScript on and handles up to 60,000 words per side.

Can I compare two Word or PDF files?

Not as files. Copy the text out of each Word or PDF document and paste it into the two boxes. Formatting, tables, comments and tracked-change markup are not compared, so use clean copies with tracked changes accepted or rejected.

Does the contract comparison tool redline or suggest changes?

No. It only shows the differences between two versions you already have. To suggest your own edits as Word tracked changes, Gavel's paid product Gavel Exec redlines agreements in Microsoft Word.

Why is a paragraph shown as removed and added instead of changed?

The contract comparison tool pairs an original and a revised paragraph only when at least 40% of their words match. A paragraph that was rewritten more than that, or moved to another place, shows as removed in one place and added in another.

What does "worth a closer look" mean?

It is a list of the changes that touch a number, date, amount or defined term, found by pattern matching. The contract comparison tool does not judge whether those changes matter; it puts them first because they are easy to miss and often important.