How to read the result
- Red lines are in the original text but not in the changed text.
- Green lines are new in the changed text.
- Lines with both were edited. The words that changed are marked more strongly, so a single changed number or comma is easy to spot.
- Unchanged lines are folded away when there are many of them. Press “Show … unchanged lines” to open them.
The numbers at the edge are the line numbers in each text, so you can find the same place in your own document. On a phone the result is shown in one column, with − for removed lines and + for added ones. You can switch between the two views at any time.
What the tool is good for
- Contracts and agreements: check what the other side changed in a new version before you sign, even when they did not use track changes.
- School and work texts: see what an editor or teacher changed in your essay, article or translation.
- Lists and data: find which names, products or rows were added to a list or removed from it.
- Code and settings: compare two versions of a configuration file or a script.
Getting a clean comparison
A comparison is only as clean as the text you paste. Text copied from a PDF often has a line break at the end of every printed line, while the same text from Word has one per paragraph. Then no lines match, even though the words are the same. Copy both versions from the same kind of file when you can.
The two options hide small differences that don't matter. Ignore upper and lower case treats “Contract” and “contract” as the same. Ignore extra spaces treats a double space, a tab or spaces at the end of a line as one space, which helps when a text has been through different editors. Blank lines still count, so an added empty line shows up as a change.
How it works
The tool uses the Myers difference algorithm, the method behind many version control tools. It finds the smallest set of added and removed lines that turns the first text into the second. Edited lines are then compared word by word, so you see exactly which part of the line changed.