$ diff --check

text diff checker.

Compare two texts side by side. Added lines in green, removed lines in red.

original text
modified text
The tool implements a line-based LCS (Longest Common Subsequence) diff algorithm. It compares line by line and highlights additions in green and deletions in red.
The tool currently compares lines as-is. For code review, ensure consistent formatting before comparing.
Both text areas accept large inputs. Very large files may slow down the browser since all processing happens client-side.

learn more in our detailed guide.

→ read the guide