Text & Writing Tools

Text Compare & Diff Tool

Compare two texts line by line and see exactly what was added, removed or changed.

Privacy

Everything runs inside your browser. Nothing you type or paste is transmitted, logged or stored — which matters for drafts, credentials and anything not yet public.

Tips

  • Lines starting with + were added, lines starting with − were removed, and lines with two spaces are unchanged.
  • Word mode is better for prose where sentences were reworded; line mode is better for code and lists.
  • Ignoring case and whitespace is useful when comparing text that has passed through different editors.
  • The algorithm finds the longest common subsequence, which is the same approach Git uses, so the output should look familiar.

Frequently asked questions

Why does one changed word show as a whole changed line?

Line mode treats a line as an atom — any change makes it a removal plus an addition. Switch to word mode to see the change at word granularity.

Related tools