- Put the earlier version on the left and the revised version on the right.
- Set the whitespace and case options before comparing.
- Click Compare and review the colored lines and statistics.
- Swap to reverse direction, then compare again.
Review a text revision
The output marks lines present only in the revised version as additions and lines removed from the earlier version as deletions. A modified line normally counts once in each group. Total is the number of displayed diff operations, including unchanged lines; it is not the number of unique lines across both documents. Identical means identical under the selected comparison options.
Understand normalization
Ignore whitespace trims line edges and replaces runs of whitespace with one space. It does not equate ab with a b. Ignore case lowercases text for matching using JavaScript rules. Original spelling is retained in the displayed lines. The alignment uses a longest common subsequence, so duplicate lines may have more than one reasonable pairing. This is a line comparison, not a word, character or semantic comparison.
Input boundaries
CRLF, CR and LF are normalized as line separators; a trailing separator leaves a final empty line. Entirely empty input contains zero lines. Each input is capped at 200,000 UTF-16 units and 2,000 lines, and the alignment matrix including boundaries at one million cells. Oversized comparisons show an error. Editing either text or an option, swapping and clearing invalidate the previous output. HTML-like source is escaped for display. There is no file upload, merge editor or patch export.