Skip to content
FR – lire en français

Text Compare

Compare two texts and see which lines were added or removed.

Loading the tool on your device…

Paste two versions of a text, a contract or some code, and see every added and removed line, numbered on both sides. It uses the same method as git, so it finds the smallest set of changes.

Updated 7 December 2026 · runs in your browser

How to use it

  1. Paste the original on the left.
  2. Paste the changed version on the right.
  3. Read the highlighted lines, or show only the changes.

Details

Text Compare details
MethodMyers' line diff, as in git
OptionsIgnore spaces; show only changes with two lines of context
OutputUnified diff text for the next tool

Questions

Do my files leave my computer?
No. This tool runs inside your browser tab. The page makes no network request with your data, and you can check that yourself in your browser's developer tools.
Can it compare Word or PDF files?
Not yet: it compares plain text. Copy the text out of the document and paste it here.