$ diff

Diff Checker

Compare two blocks of text and see added, removed and unchanged lines side by side, like a git diff.

Original
Changed
Diff
Ad slot

How this diff works

The tool computes a longest-common-subsequence over lines, the same approach used by diff and Git, then prints removed lines in red and added lines in green. Toggle the whitespace and case options to ignore cosmetic changes such as re-indented code.