Paste the old version into “Before” and the new one into “After”. The result below shows both texts at once: the common part appears once, what “After” added is underlined on a green background, and what it removed from “Before” is struck through on a red one. It updates as you type. The line above it counts what was added and removed — words and punctuation marks, or lines when comparing by lines — and the places where the texts differ. Empty lines and spaces are not counted as added or removed: if the texts differ only in them, the line says “Differences in spacing only”. The example shows a contract where the price went from 120,000 to 135,000 and a line about a late delivery penalty appeared.
By words and by lines
By words, the texts are split into words, spaces and punctuation marks, and the tool shows the shortest set of insertions and deletions that turns one into the other. A replaced word appears as the old one struck through next to the new one underlined.
By lines, a line is compared as a whole. This is clearer for lists and code, where it matters which line changed, not which letter. An empty line counts as a line too.
Case and spaces
“Ignore case” treats “Price” and “price” as the same word; the result shows the spelling from “After”. “Ignore spaces” hides changes that are only about spacing: a double space or an indent, and, when comparing by words, a line break in a different place. Turn both off to see every difference.
Moving between changes
“Previous change” and “Next change” jump through the places where the texts differ and outline the current one; the page scrolls so it is in the middle of the screen. After the last change “Next change” goes back to the first.
Limits
The comparison is done on your device, and long or very different texts take time and memory. So it stops at 50,000 pieces in both texts together and at 2,000 added and removed pieces, and instead of a result shows a line saying the texts are too large or too different. Compare such texts in parts: by chapter, by section, by page.