Text Compare

Line-by-line differences, highlighted. Your text stays on your device.

Result

Paste two versions of the same text: added, removed and unchanged lines appear right away, with a summary of how many lines differ. Useful for reviewing the changes made to a contract, an article or a list.

Comparison happens in your browser. Neither text is ever sent anywhere or saved.

How differences are found

The two texts are compared line by line. The tool looks for as many shared lines as possible, in the same order, then marks the rest:

  • +: a line found only in the changed text (added);
  • −: a line found only in the original text (removed);
  • no sign: a line that is the same in both texts.

A changed line, even by a single character, therefore shows up twice: the old version removed, the new one added.

Three options make the comparison more forgiving: Ignore spaces (extra spaces, or spaces at the start and end of a line), Ignore case and Ignore empty lines. The lines shown are always the ones you typed.

How to compare two texts

  1. Paste the first version into the “Original text” box.
  2. Paste the new version into the “Changed text” box.
  3. Read the summary, then the marked lines. The “Copy report” button copies the summary and every line, each starting with “+”, “-” or two spaces.

Examples

One changed line in a contract

Original text

Clause 1: 12-month term
Clause 2: rent of $800
Clause 3: security deposit

Changed text

Clause 1: 12-month term
Clause 2: rent of $850
Clause 3: security deposit

Result

1 added · 1 removed · 2 unchanged

  Clause 1: 12-month term
- Clause 2: rent of $800
+ Clause 2: rent of $850
  Clause 3: security deposit

The rent line changed: it counts as one removed line and one added line.

Ignoring case and spaces

Original text

Shopping list
bread
milk

Changed text

SHOPPING LIST
bread  
milk
butter

Ignore spaces: on · Ignore case: on

Result

1 added · 0 removed · 3 unchanged

  SHOPPING LIST
  bread  
  milk
+ butter

The capitalized title and the spaces after “bread” do not count: only the “butter” line is flagged.

When it helps

  • Checking what changed between two versions of a contract, a quote or a policy.
  • Reviewing the edits made to an article or a thesis.
  • Finding the items added to or removed from a list, an inventory or a configuration file.

Limits

  • Comparison works line by line: the tool does not highlight the changed word inside a line.
  • A paragraph written as one long line counts as a single line: one changed word marks all of it.
  • Each text is limited to 20,000 lines. Beyond that, a message shows the size of each text.

Frequently asked questions

Are my texts sent to a server?

No. The comparison is done by your browser, on your device. Linotext never receives either text and does not store them anywhere.

Why does a slightly changed line appear twice?

Because the comparison works line by line: the old version is marked as removed and the new one as added.

Can I compare two Word or PDF files?

Not directly. Copy the text of each document, then paste it into the two boxes. Formatting is not compared.

Can the text I paste contain HTML code?

Yes. It is shown as is, as plain text: no tag is interpreted by the page.