Text Diff Checker

Compare two texts line by line and see what was added, removed, or changed. All processing happens locally in your browser.

Original Text
Changed Text

How to Use

  1. Paste the original text in the left panel.
  2. Paste the modified text in the right panel.
  3. Differences are highlighted automatically: green for additions, red for deletions.

Common Use Cases

  • Comparing code changes between two versions of a file
  • Reviewing edits to documentation, config files, or logs
  • Checking what changed in an API response or data export
  • Verifying copy edits in content or legal documents

Frequently Asked Questions

How does the text comparison work?

The tool uses a longest-common-subsequence algorithm to find the differences between the two texts line by line. Added lines are shown in green, removed lines in red.

Can I compare large files?

The tool works best with texts up to a few thousand lines. Very large files may be slow to process since all computation happens in your browser.

Is my text private?

Yes. All comparison happens locally in your browser using JavaScript. Your text is never sent to any server.