A word diff, not a line-by-line glance
Both texts are split into words on whitespace and then aligned by finding the longest common subsequence. Words present in both stay plain, words only in the original are struck through in red, and words only in the changed version are highlighted in green, in reading order. Inserting a sentence at the top therefore shows one green block instead of flagging every word that follows it.
A worked example
Original "the quick brown fox" against "the quick red fox" leaves "the quick" and "fox" plain, strikes "brown" and highlights "red", and the summary reports one word added and one removed. Rewriting a single sentence marks only the words that actually differ, so the untouched words around it keep their normal styling.
What is compared
Comparison is word by word, not character by character, so a typo inside a long word shows the whole word as changed. Case and punctuation count: "Fox" and "fox" are different tokens, and a trailing full stop stays attached to the word before it. Line breaks, indentation and repeated spaces are treated as single separators, which is what keeps the output readable when a paragraph is reflowed.
Escaped output and large inputs
Every token is escaped before it reaches the page, so pasting markup, angle brackets or quotes shows those characters as text instead of running them. For very large documents the shared start and end are stripped first and only the middle is diffed; if that middle is still over a million word pairs, it is reported as one replaced block rather than freezing the tab.
Where it stops
- No character-level diff, side-by-side columns or line numbers.
- No ignore-case, ignore-whitespace or ignore-punctuation options.
- Nothing is saved, exported or shareable by link.
- Documents above the size guard fall back to a single replaced block.
Questions people ask
Why is a whole sentence highlighted after a small edit?
Because the wording changed rather than the order. A word-level diff cannot match words that were rewritten, even when the meaning is close, so it shows the old and new versions side by side in place.
How does it handle code?
Tokens are separated by whitespace, so indentation changes are ignored while a renamed variable shows as a changed word. To count the words in either version, use the word counter.