What this tool does
The Diff Checker compares two versions of text or code and highlights exactly what changed. Paste an original and a new version, hit Compare, and you get side-by-side panels with line numbers, green for additions, and red for removals — plus a stats row showing added, removed, and unchanged counts and an overall similarity score.
How it works
The diff runs entirely in your browser. A Longest Common Subsequence (LCS) algorithm finds the largest set of unchanged tokens between the two inputs, then classifies everything else as added or removed. You choose the granularity — line, word, or character — and can ignore whitespace or case to filter out noise. The logic lives in a pure function.
Privacy
Everything runs locally. Your code and text are never uploaded, logged, or stored — safe for sensitive or proprietary work.