Text Diff
Paste two versions of a text to see what changed, line by line. Everything is compared in your browser. Nothing is uploaded.
How to compare two texts
- Paste the earlier version into the Original field and the newer one into Changed.
- The comparison runs as you type. The result appears under Differences, with a count of added and removed lines above it.
- Read it line by line: a line highlighted green exists only in Changed, a red one only in Original, and plain lines are shared by both.
- Edit either field to refine the comparison, or clear a side to start over.
When to use it
It shows what actually changed between two revisions when you don’t have a version-control diff at hand: two drafts of a document, an old and new config file, or a block of text a colleague pasted back to you. The shared lines fall away so only the edits stand out.
The comparison is exact and works on whole lines, so it suits reviewing precise edits rather than rewording. A moved line reads as one removal plus one addition, and a line that changed only slightly is shown as the old line removed and the new one added, side by side.
Frequently asked questions
Are the two texts I compare uploaded anywhere?
No. The diff is computed entirely in your browser; neither text leaves the page.
Does it compare by line, word, or character?
By line. The tool finds the longest sequence of lines the two texts share (the same model the classic diff command uses), then marks the rest as added or removed.
How do I read the result?
Added lines are highlighted green with a + in the gutter, removed lines red with a −, and unchanged lines stay plain. A summary above the result counts the added and removed lines.
Will lines that differ only in whitespace show as changed?
Yes. Lines are compared exactly, character for character, so a trailing space or different indentation makes a line count as removed plus added.
What happens if I accidentally close the tab?
Both texts are kept as a draft for the current tab, so reopening the page in that tab restores them.