Log in Sign Up

Text Diff Checker

Compare two texts line by line and highlight what changed.

About This Tool

The Text Diff Checker compares two blocks of text and shows the differences line by line. Lines only in the original are marked as removed, lines only in the changed version are marked as added, and unchanged lines are shown plainly. It is useful for spotting edits between drafts, config files, code snippets, and pasted documents.

Comparison runs in your browser using a longest-common-subsequence diff, so your text stays private.

  • check_circleLine-by-line comparison of two texts
  • check_circleAdded, removed, and unchanged lines highlighted
  • check_circleGood for drafts, configs, and code
  • check_circleRuns in your browser, nothing uploaded

Frequently Asked Questions

How does the diff work? expand_more

It aligns the two texts using a longest-common-subsequence algorithm, then marks each line as added, removed, or unchanged.

Does it compare word by word? expand_more

It compares line by line, which is the most common and readable way to review changes between two texts.

Is my text uploaded? expand_more

No. The comparison happens entirely in your browser and nothing is sent to a server.