Skip to content
TL ToolLab

Developer Tools

Text Diff Checker

Compare two pieces of text and see added and removed lines highlighted. Free online text diff checker.

Input

Processing…

Result

Differences will appear here.

How to Use

  1. Paste the original text into the first box.
  2. Paste the changed text into the second box.
  3. Added lines are highlighted in green, removed lines in red.

How the Comparison Works

This tool compares text line by line using a sequence-matching algorithm (similar to the Unix diff command) that finds the longest matching blocks between the two versions, then reports everything else as inserted or deleted. Lines that are identical in both texts are shown without highlighting.

Common Uses

  • Reviewing what changed between two drafts of an article or document.
  • Comparing two versions of a configuration file or code snippet.
  • Spotting subtle differences between two blocks of text that look almost identical.