Development tool

Text Diff

Compare two text blocks with an inline line-by-line diff. Text stays in your browser.

Your data is processed locally in your browser and is not sent to our server.

Result

Your result will appear here.

Green lines are Added; red lines are Removed. A removed/added pair represents changed text.

How to use Text Diff

  1. Paste the original and changed text.
  2. Select Compare to see added and removed lines.

Example

Before: add a line
After: edit a line

Technical details

Uses a local line-based longest-common-subsequence comparison. Very large comparisons fall back to a bounded prefix/suffix diff.

Frequently asked questions

Is my text uploaded?

No. Diff calculation runs locally in the browser.