Compare Two Texts Online
Legal documents, code, or contracts often go through multiple revisions. This diff tool highlights exactly what changed between two versions.
Why use this?
- Side-by-side comparison
- Highlights additions and deletions
- 100% private — no upload
- Works with any plain text: code, prose, config files
Common uses
Reviewing contract redlines from a lawyer, checking what changed between two drafts of an essay, comparing config files across server environments, or verifying that a "find and replace" only touched what it should — all common cases where a visual diff catches changes that skimming would miss.
How the comparison works
The tool compares your two texts line by line and word by word, marking removed content and added content separately so you can see exactly what moved, what was deleted, and what's new — rather than just knowing the two versions differ.
FAQ
Does it work for code, not just prose?
Yes. Any plain text works, including source code, JSON, YAML, or config files.
Is there a size limit?
No hard limit — very large texts (tens of thousands of lines) may render more slowly since everything runs in your browser.
Are my documents uploaded anywhere?
No. The comparison runs entirely in your browser using JavaScript — neither text is ever sent to a server.