Skip to main content
Back to Dev Tools

Text Compare (Diff)

Compare two texts line by line directly in your browser

Paste two versions of a text (original and modified) and the tool highlights their differences line by line, git diff style: added lines appear in green with “+”, removed lines in red with “−”, and unchanged lines in gray. All the computation happens in your browser with a longest common subsequence (LCS) algorithm; no text leaves your machine.

Example: compare two versions of a config file to see what changed.