Spotting changes between two versions of a contract, config or draft by eye is slow. Paste both and only the changed lines light up.
An option to ignore whitespace lets you skip lines where only indentation or spacing moved, so you see real content changes.
How to use
- Paste the original on the left and the new version on the right.
- Green + lines were added, red − lines were removed.
- Turn on Ignore whitespace if formatting changed.
How it works
It finds the longest common subsequence of lines, keeps those, and marks the rest as removed or added, the same idea version control tools like git use.
Reading the result
The sample shopping list starts as “apples 3 / bananas 2 / milk 1 / bread” and changes to “apples 4 / bananas 2 / bread / eggs 12”. The result shows − apples 3 and + apples 4 side by side, bananas and bread in grey as unchanged, milk 1 removed and eggs 12 added.
Notice that changing one digit turns the whole apples line into a remove-and-add pair. That’s what line-level diffing does. Removed lines are also struck through, and the counts of added and removed lines appear above the result.
What Ignore whitespace does
Before comparing, it trims each line and collapses runs of spaces and tabs into one space, and the result shows those tidied lines. Case changes and added or removed blank lines still count as differences.
If text copied on Windows and on a Mac shows every single line as changed, invisible CRLF line endings are a likely cause. Ignore whitespace strips them too, leaving only the real edits.
FAQ
Can it compare within a line?
Changes are shown per line. Put each sentence on its own line for finer detail.
How long can the texts be?
As long as the two line counts multiplied stay under 4 million (say 2,000 lines each), it diffs line by line. Beyond that it skips the calculation and shows the whole original as removed and the whole new text as added, so split big files into parts.
Is my text uploaded?
No. The comparison runs in your browser.