How to use it
- Paste the older version into Original text and the newer one into Changed text. The examples show how it looks.
- The differences appear below straight away: removed lines in red on the left, added lines in green on the right.
- Inside a changed line, the exact words that differ are highlighted more strongly.
- Switch to Inline for a single column, which is easier on a phone, and tick Ignore case or Ignore whitespace to hide changes you do not care about.
Reading the result
- Green with a line number on the right: a line that is only in the changed text (an addition).
- Red with a line number on the left: a line that is only in the original (a deletion).
- Red and green on the same row: a line that was edited. It counts as one deletion and one addition, the same way Git and most diff tools count it, and the words that changed are highlighted.
- Hatched space: there is no matching line on that side.
The comparison works line by line, so it is best for text with line breaks: code, lists, CSV files, poems, or documents pasted with one paragraph per line. Two long paragraphs that differ by one word will show as one changed line with that word highlighted.
When to ignore case and whitespace
Ignore whitespace treats lines as the same if they differ only in spaces, tabs or indentation. Use it for code that has been re-indented, or text copied from a PDF with odd spacing. Ignore case treats Hello and HELLO as the same, which helps when one version was converted to capitals.
The text shown is always exactly what you pasted; the options only change what counts as a difference.