Text diff

Compare two texts and produce a readable unified line diff.

Processed on your device

Input

Open a local UTF-8 text file5 MiB maximum. The file opens in the text box above.Or drop a file here.
Open a second UTF-8 text file5 MiB maximum. The file opens in the second text box.Or drop a file here.

How to use this tool

  1. Paste the original and revised text.
  2. Run the comparison.
  3. Lines prefixed with minus were removed; lines prefixed with plus were added.

Things to know

  • Processing happens on your device. Check the result before replacing your original data.
  • Each text input accepts up to 5 MiB. Output is limited to 25 MiB and combined text settings to 1 MiB.
  • Line-based modes accept up to 100,000 lines, including a trailing empty line.
  • Comparison is bounded to 1.5 seconds inside the diff engine and 10,000 edits. Compare smaller sections when the texts differ too much.

You might also need

More in text & lists