Text Diff

Compare two texts and see exactly what changed — line by line, and word by word inside each changed line. Your file never leaves this page. Everything happens in your browser, and there is no upload endpoint to send it to — that is checked by a build gate that fails if any network code reaches a tool’s bundle.

How to do it

  1. Paste the original into the first box.
  2. Paste the changed version into the second.
  3. Read the differences below, or copy the result as a patch.

Questions

Will inserting one line at the top mark everything as changed?

No. This finds the longest sequence the two texts share and reports only what falls outside it, so one insertion is reported as one insertion.

Can I ignore capitals or spacing?

Yes, both, with the switches under the boxes. Useful when the only real question is whether the words changed.

What is the patch format?

Unified diff — what patch and every code host reads, so the result can be applied rather than only looked at.

Related tools

Browse every tool