Text Diff

Compare two local text versions line by line.

Your data is processed locally in your browser and is never uploaded.Maximum: 4 MB per file. Input is not saved in browser storage or placed in the URL.
Output
 

How to use this tool

  1. Load or paste the original text into the left panel.
  2. Load or paste the revised text into the right panel. Each file can be up to 4 MB.
  3. Select Compare text; no separator or manual merging is required.
  4. Read neutral lines as exact matches, red lines as removals, and green lines as additions.

How the transformation works

Matching lines remain neutral, removals are red and additions are green. Processing runs entirely in this browser. The page does not upload, persist, execute or remotely inspect the supplied content.

Processing rules

Matching lines remain neutral, removals are red and additions are green. Processing runs entirely in this browser. The page does not upload, persist, execute or remotely inspect the supplied content.

Step-by-step transformation

  1. The browser reads both files independently and keeps their contents only in local memory.
  2. The original and revised lines are compared in their displayed order.
  3. Unchanged lines remain neutral, original-only lines are marked red with −, and revised-only lines are marked green with +.
  4. Copy or download the combined comparison output when needed.

Worked example

An SQL projection change shows the old SELECT as removed and the new SELECT as added.

Risk guidance

Frequently asked questions

Does this tool send my inputs anywhere?

No. The interactive calculation runs in your browser and this site does not submit tool inputs to a backend.

How should I use the result?

Check that the entered units and values match your situation, especially around dates, breaks, and rounding.

Related tools