Text Diff Checker

Compare two pasted texts and highlight lines added, removed or kept.

Input

Processed on your device

How to use Text Diff Checker

See which lines were added, removed or kept between two versions of a text. Use the highlighted difference to review a revision, check copied material or read changes in a small configuration file.

  1. Paste the original in the first box and the revision in the second.
  2. Enable Ignore whitespace when indenting or surrounding spacing should be ignored in the library’s line comparison.
  3. Click Compare text and read each block in sequence.
  4. Select Compare text and review the result.
Example input
Field notes
Archive copy
First draft

Example use

Compare two drafts of a help note to check that new instructions were added without dropping a constraint. For formatting-heavy text, compare once with whitespace ignored and again with it included so accidental indent changes remain visible.

Output and compatibility

The comparison works on lines, so a single changed word can display as one removed line and one added line. Moving a block can look like a deletion and addition. The result compares supplied text; it does not apply edits or infer semantic similarity.

Troubleshooting

If a one-paragraph draft yields only a pair of changed lines, split both versions into the same logical lines first to see smaller groups of changes. If there are more whitespace changes than expected, use the checkbox and inspect the original line endings.

Use Line Ending Converter to normalize mixed endings when exact text comparison is part of a cross-platform workflow.

Frequently asked questions

Which input is the before version?

Put the earlier version in First text. It determines the direction of additions and removals.

Can I ignore spacing?

Enable Ignore whitespace, then decide separately whether any ignored indent changes matter.

Does it compare word for word?

The tool highlights changed lines. Break source text into logical lines for a narrower comparison.

Can I compare lists without regard to order?

Use Compare Two Lists to find common and unique items.

What if key order in JSON changed?

Use JSON Diff for a structure-aware comparison.

Does it edit either original?

It creates a report. You can copy the diff independently.

Find a tool