How to compare two texts
- Paste the original version on the left and the changed version on the right.
- Read the result below: + lines were added, − lines were removed.
- Turn on Only show changes to skip the unchanged lines in long documents.
- Use Copy diff to share the result.
Reading the result
| Mark | Meaning |
|---|---|
+ | The line is only in the changed text: it was added. |
− | The line is only in the original text: it was removed. |
| (no mark) | The line is in both texts, unchanged. |
The two columns of numbers are the line's position in the original and in the changed text, so you can find it in either version.
Common uses
- Checking an editor's changes. Paste your draft and the edited version of a document or contract to see exactly which lines were added or removed.
- Comparing two config files. Find what differs between two versions of a config file or code snippet. Ignore whitespace hides changes that are only re-indentation.
- Two exports of the same data. Spot the one line that differs between two exports or lists. Only show changes skips everything that matches.