Practical guide
How to use Text Diff
Text Diff compares two versions line by line. It is useful for drafts, configuration snippets, generated output, and notes where a full source-control system would be excessive.
Step by step
- Paste the original and updated versions.
- Choose whether surrounding whitespace should be ignored.
- Compare the texts and read additions, removals, and unchanged line numbers.
Example
Input
Original: Fast tools
Updated: Fast local toolsResult
1 removed line; 1 added lineHow it works
The tool computes a longest common subsequence of lines, then presents unmatched original lines as removals and unmatched updated lines as additions.
Important limitations
- A changed line is represented as a removal followed by an addition rather than a character-level edit.
- Very large comparisons are limited to protect the browser from excessive memory use.
Frequently asked questions
Can it ignore all whitespace?
The current option ignores surrounding whitespace only; internal spaces remain significant.
Does it upload both documents?
No. Comparison is calculated in the active browser tab.