Text Compare

Paste two versions of any text, such as a contract, an essay, a config file or a log, and see exactly what changed. Changed lines are paired up and the changed words are highlighted within them.

Original
Modified
0 / 0 lines Compared locally, nothing uploaded

How to use the Text Compare

  1. Paste the original text on the left and the changed text on the right (or drop files).
  2. Press Compare.
  3. Switch between side-by-side, inline and unified views, then copy or download the result.

Features

  • Side-by-side view with synchronised scrolling, plus inline and unified diff views
  • Added, removed and modified lines, with word-level highlights
  • Ignore whitespace and ignore case options
  • Statistics: lines added, removed, modified and similarity
  • Swap sides, copy differences, download as a .diff file

Supported input

Any plain text, or text files up to 20 MB each.

Limitations

  • Comparison is line-based, so moving a paragraph shows as a removal and an addition.
  • Above 50,000 lines per side the comparison can take several seconds.

Privacy

Everything this tool does happens in your browser. What you paste or open is never uploaded, stored, logged or used for advertising. Closing the tab discards it. Read the privacy policy.

Frequently asked questions

01What does "modified" mean?

A removed line directly followed by an added line is shown as one modified line, with the changed words highlighted. That is usually what an edit looks like.

02Is my data uploaded anywhere?

No. This tool runs entirely in your browser tab. Your input is never sent to our servers, stored, or logged. You can disconnect from the internet after the page loads and it keeps working.