Text Tools

Text Diff Checker

Compare two pieces of text and highlight the differences word by word or line by line.

Runs in your browser

Original
Modified
+ Added:
− Removed:
Unchanged:
Diff Output
No differences found the texts are identical.

What is the Text Diff?

The Text Diff Checker compares two pieces of text and highlights exactly what has changed - additions shown in green, deletions in red - line by line. It is invaluable for comparing document revisions, reviewing code changes without a VCS, spotting differences in configuration files, or verifying that two versions of a contract are identical except for specific clauses. The diff is computed using the standard longest common subsequence algorithm.

How to use the Text Diff

  1. Paste the original (old) text into the left panel.
  2. Paste the revised (new) text into the right panel.
  3. Click Compare to generate the diff.
  4. Review the highlighted output: green lines are additions, red lines are deletions, and unchanged lines are shown in grey.
  5. Toggle between side-by-side and unified diff views to suit your preference.

Frequently asked questions

Yes. Use the file upload buttons above each panel to load text files directly from your computer. The tool reads the file contents and runs the diff automatically.
By default, yes. A lowercase "hello" and an uppercase "Hello" are treated as different. You can toggle case-insensitive comparison in the options if you want to ignore case differences.
Yes. Enable the "Ignore whitespace" option to treat runs of whitespace as equivalent. This is useful when comparing code that has been reformatted or text pasted from different sources with different indentation.