Online Diff Tool — Compare Two Texts

Paste two versions and see word-by-word what changed. Side-by-side or inline view.

Online diff — compare two texts in your browser

This is a free online diff tool for prose, paragraphs and any string text. Paste original on the left, changed on the right, click Compare — every added word is highlighted green, every deleted word red, every changed word is shown both ways. Everything runs locally in JavaScript so even sensitive content (contracts, drafts, NDAs, internal docs) stays on your device.

Word diff vs line diff — what this tool does

This is a word-level diff, also called a word diff. It catches small edits inside long sentences without flagging the entire line as changed. That's different from a line diff (what git diff and code review tools use), which marks whole lines as added/removed. For natural-language editing — proofreading, copy revision, contract comparison, AI-output comparison — word-level diffing is usually what you want.

Common use cases for the diff tool

Side-by-side vs inline view

Toggle the view at the top of the result:

Privacy & how it works

The diff algorithm runs entirely client-side via JavaScript. Neither the original nor the compared text is uploaded, logged, cached or sent anywhere. The tool doesn't even keep a history — refresh the page and everything is gone.