Text Tools · 4 min read

Text Diff — Compare Two Texts and Find Every Difference

Paste two versions of any text and instantly see what was added, removed, or changed — line by line, word by word.

Why compare text?

Comparing two versions of a document is one of the most common tasks in writing, coding, and editing. Whether you're reviewing contract revisions, checking code changes, or verifying that a translation matches the original structure, a diff tool saves you from reading both versions word by word.

How it works

Paste your original text on the left and the modified text on the right. The tool uses a line-level diff algorithm to identify:

A summary bar at the top shows total additions, deletions, and unchanged lines at a glance.

Use cases

Privacy

Both texts stay in your browser. Nothing is sent to any server. The diff algorithm runs entirely in JavaScript on your device. Close the tab and your data is gone.

Try it now: Open Text Diff — free, instant, no sign-up required.