📝 Text & List

Diff Checker (Text Compare)

Compare two texts side-by-side. Highlights additions, deletions and changes line-by-line. Free.

Diff Checker

How to use the Diff Checker

1

How line diff works

The tool splits both texts into lines, then uses the longest-common-subsequence (LCS) algorithm to find the optimal alignment. Lines that exist only in the original are marked deleted. Lines only in the changed version are added. Lines in both with matching content are unchanged.

2

When to use diff

Compare two versions of a document, contract or code file. Spot what changed between revisions. Programmers use diff to review code changes before merging. Writers use it to track edits between drafts. The output here is the same line-by-line view that Git, GitHub and most editors show.