How to use it
- 1
Paste the original text into the first field.
- 2
Paste the changed version and optionally enable trailing-whitespace ignoring.
- 3
Run the comparison, review the summary, and copy the diff.
What the tool can do
- Deterministic line comparison with additions, deletions, and replacement groups.
- CRLF and CR normalization to LF before comparison.
- Optional ignoring of spaces and tabs only at the end of each line.
Common use cases
- Reviewing configuration changes before approval.
- Comparing two versions of a text API response.
- Finding added and removed lines in a small code fragment.
How it works inside
The algorithm uses a size-limited longest common subsequence (LCS) matrix. Equal alternatives are resolved consistently for reproducible output.
The unified diff contains one change block for the full input and is displayed as plain text.
Questions and answers
How can I compare old and new text versions?
Paste the original and changed versions into their respective fields. The result shows additions and removals. Normalise line breaks first if needed to make the comparison easier to read.
Will the comparison modify my files?
The tool only displays differences and produces text output. It does not open your files or apply changes to a repository. Split large input into smaller parts if it exceeds the supported size.
