Text Diff Checker

Compare two texts and see the differences highlighted line by line. Fully client-side — nothing is sent to any server.

original
modified

What is a text diff checker?

A text diff checker (or diff tool) compares two versions of a text and identifies what changed between them. Lines present in the modified version but not the original are marked as added; lines that were removed are highlighted separately. This is the same concept used by version control systems like Git when you run git diff.

Use cases

  • Compare two versions of a document to track edits made by a collaborator.
  • Verify that a configuration file was changed correctly before deploying.
  • Find differences between two CSV exports or database query results.

Frequently Asked Questions

How does the comparison work? expand_more
The tool uses a line-based Longest Common Subsequence (LCS) algorithm to find the minimal set of changes between the two texts. Lines matching in both versions are shown as unchanged; differing lines are shown as additions or removals.
Is my text sent to a server? expand_more
No. All diff logic runs locally in your browser using JavaScript. Nothing is transmitted to any server at any point.