How to Compare Two Texts and Find the Differences
By Handy Tool Online ·
Short answer: A diff checker lines up two versions of a text and highlights what was added, removed or changed. Paste the original on one side and the edited version on the other.
When a diff helps
Comparing two drafts of an essay, checking that a contract was not altered between versions, reviewing configuration files, or finding which lines differ between two lists.
How a diff works
Most tools find the longest run of matching lines and mark everything else as an insertion or deletion. Because the comparison is exact, an invisible change such as an extra space or a different quote character will show up as a difference.
Tips for cleaner results
Normalise line breaks and trailing spaces first, and compare one section at a time for long documents. For confidential documents, use a tool that processes text in your browser.
Try the tools
FAQ
Why does it show a difference when the texts look identical?
Usually a hidden difference such as trailing whitespace, a tab instead of spaces, or straight versus curly quotes.