Text Diff Checker
Compare two texts side-by-side and highlight additions, deletions and changes.
Paste two texts above and click Compare
Was this tool useful?
About this tool
A diff shows exactly what changed between two versions of a text: which lines were added, which were removed, and which stayed the same. It is the same algorithm that powers git diff and most code review tools.
This tool uses the standard Myers diff algorithm, the same one that powers git diff and most code review tools.
How to use it
- Paste the original text in the left textarea and the modified text in the right.
- Click Compare.
- Green lines were added; red lines were removed; plain lines are unchanged.
- The stats bar shows a quick summary of how many lines changed.
Common problems
- Many lines show as changed even though only a word changed.
- The tool diffs by line. A change anywhere on a line marks the whole line as removed and a new line as added. This matches how git diff works.