How to Compare Two Versions of a Text or Two Lists

A revised contract arrives with no tracked changes, or you need to reconcile the sign-up list with who actually showed up. Checking line by line by eye is slow and easy to get wrong. Once you understand the two different kinds of comparison, the job becomes quick and reliable.

Updated: 2026-11-20

Line comparison versus set comparison

How you compare two texts depends on what you want to know. For two drafts of a document, order matters, so you want a line-by-line comparison that shows which lines disappeared and which appeared along the way. For lists of names, order is irrelevant; the question is who appears in both lists and who appears in only one, which is a set comparison.

In Poptools, the first job belongs to Text comparison and the second to List comparison. Put two name lists into Text comparison and a simple reordering makes many lines look changed. Put two drafts into List comparison and it cannot tell you that a sentence moved.

How to read a text comparison

Text comparison treats the top input box as the original and the Text to compare box as the revision, and it shows the differences in unified diff format. A line starting with - exists only in the original, a line starting with + exists only in the revision, and a line starting with a space is unchanged context shown to help you find your place. A header such as @@ -12,7 +12,8 @@ means the block covers seven lines starting at line 12 of the original and eight lines starting at line 12 of the revision.

Because the comparison works line by line, changing a single word makes the entire line appear twice, once with - and once with +. If a document has long paragraphs on single lines, finding the edit is hard, so put each sentence on its own line before comparing and the output becomes much easier to read.

Invisible differences count too: trailing spaces, tabs versus spaces, or whether the last line ends with a line break. If two texts look identical but changes are reported, suspect these first. The two inputs can total up to 200,000 characters, and a comparison that runs longer than three seconds is stopped, so compare long documents chapter by chapter.

Compare two drafts in Poptools

All you need to do is paste the two versions. You can copy the result or download it as text-diff.diff.

  1. Open Text comparison and paste the original text into the top input box.
  2. Paste the revised text into the Text to compare box.
  3. Choose Convert.
  4. Scan the result for lines beginning with - and + to see what was removed and what was added.
  5. Use the Copy button to move the result elsewhere, or download it to keep a record.

Reconcile lists with List comparison

Paste the sign-up list into list A at the top and the attendee list into list B, one name per line. Under List comparison result, Only in A gives people who signed up but did not come, Only in B gives people who came without signing up, and Shared items gives people on both lists. Union combines both lists, and Items in only one list collects everyone who appears on just one side.

List comparison ignores blank lines and duplicates within a list and keeps the order in which items were entered. By default it removes leading and trailing spaces and treats upper and lower case as different. When comparing values where case does not matter, such as email addresses, set Case matching to Case insensitive. The two lists can contain up to 200,000 characters combined.

Tidy the data before you compare

Most comparison problems come from the data itself. If the same person appears as Sam Lee in one list and Sam Lee (Marketing) in the other, the tool sees two different items. Names also collide, so whenever possible compare on something unique such as an email address or an employee number.

Copying a single spreadsheet column gives you one item per line, ready to paste. To tidy the output, run it through Sort a list in ascending order or remove duplicates. Finally, check the counts: the number of shared items plus the number of items only in A should equal the number of distinct items in list A.

Tools used in this guide

More guides

Yalnızca ihtiyacınız olan araçları kaydedin.