How to use it
- Paste the original text on the left and the changed text on the right.
- The differences appear below. Red lines (−) were removed and green lines (+) were added.
- When only part of a line changed, the changed characters are highlighted more strongly.
The two number columns are the line numbers in the original and changed texts.
Good for
- Checking what changed between two versions of a contract or policy
- Comparing a draft before and after editing
- Comparing two versions of a configuration file or source code
- Finding the difference between two lists
Options
- Ignore whitespace
- Leading and trailing spaces and runs of spaces are ignored, so lines that only changed indentation count as unchanged.
- Ignore case
- “Apple” and “apple” are treated as the same line.
How it works
The comparison uses Myers’ diff algorithm, which finds the smallest set of changes. It is the same approach used by Git and other version control tools.
Frequently asked questions
Is it safe to paste confidential documents?
Yes. Nothing is uploaded; the comparison runs entirely in your browser.
Can I compare Word or PDF files directly?
Not yet. Copy the text out of the files and paste it in.