Text Difference Comparison Tool
Compare differences between two texts with line-by-line comparison and highlighting
Comparison result
Counts use lines, word segments (including whitespace and punctuation), or whole Unicode graphemes. Adjacent deleted/added runs are paired by count as replacements; the rest remain additions or deletions. Original text and line endings are preserved; input HTML is not executed. Results use the current textarea values; the browser may normalize CRLF/CR to LF when pasting or editing.
Line boundaries remain significant. LF, CRLF and CR mark line endings; ∅ means no final newline. JSON quoting preserves source text in a readable report, not an apply-ready patch. Pagination affects display only.
Enter text to compare