Compare two texts and see the differences highlighted. Perfect for code reviews and document comparison. Built for developers and technical teams who need fast, accurate, repeatable workflows.
Text diff (or diff) is a technique for comparing two texts line by line to find the differences. It's commonly used in version control systems like Git to track changes between file versions.
This tool uses the Longest Common Subsequence (LCS) algorithm to compute the differences. Added lines are shown in green (+), removed lines in red (-), and unchanged lines have no prefix.
Paste the original text in the left panel.
Paste the modified text in the right panel.
Click Compare to see the differences.
Developer utilities