Compare Two Texts
Spot every difference between two versions of text — additions, deletions and changes are highlighted.
Compare two text blocks and highlight differences side by side. Free, private diff tool.
Compare Two Texts examples
| Input | Output |
|---|
| Two versions of a paragraph | Line-by-line differences highlighted as added, removed or unchanged |
How the compare two texts works
- Both texts are split into lines.
- Lines are compared and marked as identical, added or removed.
- Nothing is uploaded — the diff runs in your browser.
Rules and edge cases
- Both versions are split into lines and each line is marked as unchanged, added or removed.
- Comparison is line based, so a single edited word shows the whole line as changed.
- Both texts stay in your browser — nothing is uploaded, which matters for contracts and drafts.
Frequently asked questions
Can it compare two paragraphs rather than two files?
Yes. Paste any two blocks of text. Put each sentence on its own line for a finer-grained result, since the comparison works line by line.
Does it show word-level changes?
Changes are reported per line. For a small edit inside a long line, compare the two lines side by side to spot the difference.