schwapps.
← All toolsDeveloper / 62

Text Diff — Line-by-Line Added and Removed Content

Compare two blocks of text line by line and see unchanged, added, and removed lines with counts.

Loading the tool… JavaScript is required for processing on your device. The instructions and examples below are available without JavaScript.

How to use it

Paste the original and changed text. Lines starting with - were removed and + were added.

Good to know

Compares whole lines. Up to about 2,000 lines per side.

Review a small revision

Paste the original and changed versions. Comparing apple banana cherry with apple blueberry cherry date produces unchanged apple and cherry, adds blueberry and date, and removes banana. The summary reports two added, one removed, and two unchanged lines.

It compares lines, not meaning

The output is an ordered line diff. A word changed inside a line makes that line look removed and added rather than highlighting individual characters. Very large comparisons are limited to avoid excessive browser work. Use a version-control or document-review tool when you need authorship, comments, merge handling, or a formal audit trail.

Frequently asked questions

How do I compare two documents for differences?

Paste each version into its own box and run the tool. Changed lines are marked with - and +.

Does it compare words or lines?

Lines. A line with any change appears as one removed line and one added line.

Are my texts uploaded?

No. The comparison runs in your browser.