Advertisement
Guide
About the Text Diff Tool
This tool compares two versions of text and highlights exactly what changed — which words were added, which were removed, and what stayed the same. Unlike a line-based code diff, it can work at the word level, so it's ideal for prose: essays, articles, documentation, contracts, and any writing where changes happen inside sentences rather than whole lines.
Paste an original and a revised version to see a clear, color-coded picture of the edits, plus a count of additions and deletions. Everything runs in your browser, so private documents stay on your device.
Word diff vs. line diff
A line diff marks an entire line as changed if anything in it differs — perfect for code, where lines are the unit of change. A word diff pinpoints the exact words that changed within a line, which is far more readable for prose where one word in a long paragraph was edited. This tool offers both; choose word mode for writing and line mode for structured text.
Common uses
- Reviewing edits between two drafts of an article or essay.
- Checking what a collaborator changed in a document.
- Comparing two versions of terms, a contract, or a policy.
- Spotting subtle differences between similar-looking text snippets.
How to use it
- 1Paste the original text on one side.
- 2Paste the revised text on the other.
- 3Choose word-level or line-level comparison.
- 4Review the highlighted additions and deletions and the change counts.
Frequently asked questions
What is the difference between this and the Diff Viewer?
This Text Diff compares word by word, which reads best for prose. The Diff Viewer compares line by line, which suits code and structured data.
Can I compare two paragraphs of writing?
Yes. Word-level diff is designed for exactly that, highlighting the specific words that were added or removed within each sentence.
Does it show how many changes were made?
Yes. It reports counts of additions and deletions so you can gauge how much changed at a glance.
Will formatting affect the comparison?
The tool compares the text content. Consistent formatting in both inputs gives the cleanest results, since stray whitespace can register as differences.
Is my text uploaded anywhere?
No. The comparison runs entirely in your browser, so even confidential documents stay private.
