Writing and document checks
Text Diff
Compare two texts and highlight differences
Differences
Quick guide
What can Text Diff help you do?
Free online text diff tool. Highlights added (green) and removed (red) parts. Supports code, documents, contracts.
Best for
Compare contracts, code, or drafts in Line, Word, or Character mode. Line suits code; Character catches Chinese punctuation edits.
How to use it
Paste Original and Modified. Green plus rows are additions; red minus rows are deletions. Word and Character modes mark inline changes.
How to read the result
Green exists only in Modified; red only in Original. Moved blocks look like a deletion plus an addition, not a move.
Privacy and limits
Both texts stay in the browser and are not uploaded. Clear fields or close the tab after comparing private material.
O(n × m) can stall on long text. Character mode may split emoji; use Line mode for large files.
Frequently Asked Questions
Can I compare code?
Yes — use the "by line" mode for code diffs.