What the results show
- Comparison — a quick verdict: Identical when the two texts match line for line, or Different when they don't.
- Added — lines that appear in the changed text but not the original, highlighted in green with a
+marker. - Removed — lines that were in the original but are gone from the changed text, highlighted in red with a
−marker. - Unchanged — lines common to both, shown plainly for context. The two number columns are the line numbers in the original and the changed text.
How it works
Both boxes are split into lines, then compared with a longest common subsequence (LCS) algorithm — the same idea behind git diff. It finds the longest run of lines that appear in both texts in the same order and marks those as unchanged; everything else is reported as an addition or a removal. That keeps the shared parts aligned instead of flagging the whole rest of the file after a single inserted line.
Ignore case compares letters without regard to capitalization, and Ignore whitespace collapses runs of spaces and tabs and trims each line, so indentation or trailing-space changes don't register as differences. Both options only affect the comparison — the lines are always displayed exactly as you entered them. Swap sides flips the two boxes so you can view the diff from the other direction.