Text
Text Diff
Compare two texts and highlight differences.
Removed lines
0
Added lines
0
Unchanged lines
0
Diff output
Paste text above to see the diff.
FAQ
- What algorithm does this diff use?
- It uses a Longest Common Subsequence (LCS) algorithm on lines, similar to classic Unix diff. Lines present only in the original are marked removed; lines present only in the changed text are marked added; common lines are shown unchanged.
- Is my text sent to any server?
- No. The diff runs entirely in your browser using JavaScript. Nothing is uploaded or stored.
- Does it support word-level diffing?
- Currently the diff is line-by-line. Paste text with one item per line (e.g. code, lists, or CSV rows) for the clearest results.