difflab.

Compare two texts with Myers’ O(ND) diff algorithm — the one behind git diff — implemented from scratch and running right here in your browser. Edit either side and the diff updates live.

Built from scratch — Myers’ shortest-edit-script algorithm, line/word/character diffing, and unified-diff output, zero dependencies. Source on GitHub