Text diff comparator
Paste two versions of a text and see exactly what changed: every added, removed and unchanged line, aligned side by side. The comparison runs in your browser — ideal for confidential documents, contracts, code and drafts, because nothing is uploaded.
Compare two versions — privately and instantly
“What changed between the two drafts?” is one of the most common document
questions there is: the contract redline, the essay between saves, the config
file before and after the fix, the translated page against its source. Desktop
diff tools need installation, and cloud diff tools upload your documents to
somebody’s server. This one runs the full LCS diff — the same algorithm behind
diff and git diff — directly on the page, on your
machine.
Reading the result
- Red lines exist only in the original (removed).
- Green lines exist only in the modified text (added).
- Neutral lines are equal and aligned across both columns, so a quick scan down the page shows every change in order.
Tweak the comparison with ignore capitalization (case-insensitive equality) and ignore trailing spaces (the classic “git shows every line changed” problem). Need word counts of the result? Send it to the Word Counter.
Frequently asked questions
How does the comparison work?
The two texts are split into lines and compared with the classic LCS (longest common subsequence) algorithm — the same family of algorithm used by git diff and diff tools. Identical lines are aligned, removed lines are marked red on the left, added lines green on the right.
Can it compare on the word level?
This tool is line-based (the standard for code, configs and documents). Word-level noise shows up as one changed line, which is usually exactly what you want to see.
Is there a size limit?
Yes, a memory guard: roughly 2,000 × 2,000 lines. Above that the tool tells you the texts are too large instead of freezing your browser — split the file and compare in parts, the results join up cleanly.
Are my texts sent to a server?
No. The diff is computed in your browser, so comparing confidential documents, contracts or source code is safe.
Can I ignore capitalization differences?
Yes — tick “ignore case” and A/B comparisons treat “Hello” and “hello” as equal.
More word tools
- Word Unscrambler — Make every word from your letters
- Wordle Solver — Find Wordle words with your greens & yellows
- Anagram Solver — Anagrams that use all your letters
- Words that start with… — Words beginning with any letters
- Words that end with… — Words ending with any letters
- Words Containing Letters — Words containing any letters or substring
- Random Word Generator — Pick random words with filters
- Word Counter — Count words, characters & reading time
- Character Counter — Characters with/without spaces, lines & bytes