Compare two blocks of text line by line and highlight additions, deletions and changes, with a diff count. Ideal for proofreading, configs and code reviews.
Compares two texts line by line and shows exactly what changed — handy for code reviews, config edits and proofreading. All comparison happens locally.
Unchanged lines are grey; added lines are green and marked with +; removed lines are red, struck through and marked with -; modified lines are shown in yellow as old → new.
The summary reports total characters, total lines and the number of difference blocks.
The comparison uses a longest-common-subsequence algorithm over lines. An adjacent deletion and insertion are merged into a single "changed" line so the result is easier to read.
Differences are detected per line, not per character: two lines that differ by one trailing comma are reported as a change, and leading or trailing spaces count as content. Very large inputs (tens of thousands of lines) may be slow because of the dynamic-programming table — compare them in chunks.