OOnDevice

Text Diff

Compare two blocks of text and see the differences highlighted — right in your browser. Side-by-side and inline diff views.

Works offlineNothing uploaded

How to use it

1

Paste original text

Enter your original text in the left panel.

2

Paste modified text

Enter the changed version in the right panel.

3

View highlighted differences

Additions, deletions, and changes are color-coded for easy comparison.

When to use Text Diff

A founder just got a revised contract back from legal and needs to know what actually changed from the draft they sent. Paste the original in the left panel, the new version in the right, and the Myers diff algorithm highlights every addition in green and every deletion in red — line by line, in seconds. The comparison runs locally in your browser tab, so sensitive contract language stays on your machine. Switch between side-by-side and inline view depending on how much screen you have. Walk away with a clear picture of exactly what moved: a changed payment clause, a removed liability cap, an added termination condition. Works on any plain text — SQL migrations, essay drafts, configuration files, cover letters sent to different companies.

  • Spot changed clauses between two versions of a contract
  • Review what a copywriter revised in a landing page draft
  • Compare two config files before deploying a server change

About this tool

Paste two blocks of text and see exactly what changed — additions in green, deletions in red, unchanged lines in grey. Switch between side-by-side and inline view depending on how you're reading the diff. Useful for comparing two versions of a document you edited separately, spotting the difference between what a client sent and what you replied with, or reviewing a configuration change before deploying it. Works on any plain text: contract redlines, essay drafts, config files, SQL queries. Your text stays on your device — nothing uploads. Diffing runs entirely in the browser using a standard LCS algorithm.

Frequently asked

Is this text diff private? Do you upload my text?
No. The Myers diff algorithm runs in this browser tab — both text blocks you paste are compared locally and never sent to any server.
How does this text diff tool work?
It uses the Myers diff algorithm to find the minimal set of changes between two texts. Additions are highlighted in green, deletions in red.
Is there a character limit?
No hard limit. The tool processes text on your computer, so performance depends on your device. Most texts up to 100,000 characters work smoothly.
Can I compare code with this tool?
Yes. It works with any plain text including code, configuration files, and prose. The diff is computed line by line.
Does this tool store my text?
No. Both text blocks exist only in memory in this browser tab — the Myers diff runs on your computer and the content clears when you close the page without being persisted anywhere.