Text Diff Checker illustration

Text Diff Checker

Compares two pieces of text and shows exactly what changed: added, removed and modified lines side by side, with the changed words highlighted inside each modified line. Uses the same longest-common-subsequence approach as git diff.

Runs 100% in your browser — nothing you paste leaves your device.

Notes

  • Whitespace-only changes can be ignored with a toggle, handy for reformatted code or re-wrapped prose.
  • The diff is computed line-first, then word-level inside changed line pairs — the same strategy code review tools use.
  • Runs 100% in your browser — nothing you paste leaves your device.

Explore the idea

This interactive demo needs JavaScript.