Overview
Editing is easy; remembering what you changed is not. Whether you revised a contract clause, rewrote a product description, or let a colleague loose on your draft, the question afterwards is always the same: what is actually different? Reading two long documents side by side and hoping your eye catches every change is slow and unreliable, especially when the change is a single word buried in the fortieth paragraph.
This diff checker answers the question mechanically. It splits both texts into lines, works out the longest sequence of lines the two versions share, and then reports everything around that shared backbone: lines that only exist in the original are marked as removed, lines that only exist in the revision are marked as added, and everything else is shown as unchanged context. You get a clear, colour-coded picture of the edit in about a second.
What is a diff?
"Diff" is short for difference, and the idea comes from software development, where programmers have compared versions of files for decades. A diff is not a summary or an opinion — it is an exact, line-by-line account of how one text can be turned into another using only additions and deletions. Delete every red line from the original and insert every green line in the right place, and you end up with the revised text, word for word.
That strictness is what makes a diff trustworthy. Unlike a person skimming two documents, the algorithm cannot get tired, skip a paragraph, or assume that two similar-looking lines are the same line. If a single character differs, the line is reported as changed: one removal plus one addition.
Features
- True line-based comparison — a longest-common-subsequence method, the same family of techniques behind professional version-control diffs.
- Colour-coded output — added lines tinted green, removed lines tinted red, unchanged lines plain, with + and − markers.
- Live results — the comparison refreshes as you type or paste; the Compare button is there when you want an explicit refresh.
- Instant statistics — counts of added, removed and unchanged lines, plus a plain verdict when the two texts are identical.
- One-click swap — flip the original and the revision to read the edit backwards.
- Serious capacity — around two thousand lines per side compare comfortably; a built-in guard warns instead of freezing your tab on enormous pastes.
- Private by design — both texts stay in your browser's memory. No upload, no account, no history of what you compared.
Benefits
- Nothing slips through — a silent one-word change in a price, a date or a 'not' is exactly the kind of edit human proofreading misses.
- Faster reviews — instead of re-reading the whole document, you read only the lines that changed, with context around them.
- Clearer conversations — 'you changed these four lines' settles discussions that 'I think you changed something' never will.
- Safer publishing — check the final version against the approved draft before it goes live, and catch last-minute accidents.
Who can use it
Writers and editors use it to see what a revision really did to a manuscript. Students use it to compare an essay draft against feedback. Developers use it for configuration files, email templates and any snippet that is not inside a version-control system. Lawyers, managers and freelancers use it on contracts, proposals and terms — anywhere two versions of a document exist and the difference between them matters more than either document alone.
How to use
- Paste the earlier version of your text into the Original text box on the left.
- Paste the newer version into the Revised text box on the right.
- Read the result panel: green lines were added, red lines were removed, and plain lines are unchanged.
- Check the counters at the top of the panel for a quick sense of how big the edit was.
- Use Swap sides if you pasted the versions in the wrong order, and Clear to start over.
Frequently asked questions
Why does one edited line show as a removal plus an addition?
Because this is a line-based diff. If a line changes in any way — even by one character — the old line counts as removed and the new line as added. That pair of red and green lines sitting next to each other is a single edited line, shown honestly as what it is.
Is my text uploaded or stored?
No. The comparison runs in JavaScript on your own device. You can disconnect from the internet after the page loads and the tool will still work, and closing the tab discards both texts completely.
How large a document can I compare?
Up to about 2,000 lines on each side works smoothly. Extremely large pastes are stopped with a warning, because the comparison table grows with the product of the two line counts and would otherwise slow your browser down.
Does it compare word by word?
No — it compares whole lines, which is the clearest view for documents, lists and code. A changed word therefore highlights its entire line, which most people find easier to scan than a sea of tiny word-level marks.
What counts as a line?
Every press of the Enter key starts a new line. Two texts that look identical on screen can still differ if one has trailing blank lines, and the tool will show that rather than silently ignoring it.
Can I compare code or configuration files?
Yes. The comparison is purely textual, so code, configs, CSV data and email templates all work. For code already inside a version-control system, your project's own diff view may be more convenient — this tool is for everything outside one.
Conclusion
Do not trust your eyes to catch every change across two long documents. Let the comparison do the mechanical work — every addition, deletion and untouched line, counted and colour-coded in about a second.