Text Diff Comparison

Compare two text blocks and inspect added, removed, and unchanged lines.

The text Diff tool is useful for comparing code, configuration, and documents. Results are generated locally in the browser.

Loading...

Examples and limits

Enter two text blocks and choose Compare. The tool compares lines, supports up to 2500 lines per side, and can ignore whitespace or case.

Usage

  • Added lines are highlighted in green and removed lines in red.
  • Copy or download the comparison as a text report.
  • Input is never uploaded.
Licensed under CC BY-NC-SA 4.0

Report a problem

The links prefill this page's title and address. Add what happened and how to reproduce it.