Text Diff: Compare Two Texts

  1. Choose file
  2. Set options
  3. Get result

Paste two versions of a text and see what changed. Compare line by line or word by word, with added parts in green and removed parts in red. The comparison runs in a worker in this tab, so nothing is uploaded.

How to compare two texts

  1. Paste the original text in the left box.
  2. Paste the changed text in the right box.
  3. Pick Line or Word and press Compare. Added lines show with a plus and a green background; removed lines show with a minus and a red background.

Word mode is better for prose, where one edit inside a long paragraph would mark the whole line. Line mode is better for code, lists and config files.

Limits and timeout

Each box takes up to 200,000 characters and 20,000 lines. Over that, the Compare button is blocked and a message says which box is too long. GustKit never cuts your text to make it fit.

The diff runs in a background worker. If it takes more than 3 seconds, GustKit stops it so the tab stays responsive. Line mode on very different texts is usually faster than Word mode.

Privacy

Both texts stay in this tab. GustKit does not send them to a server. Close the tab and they are gone.

What this text diff does

ItemWhat GustKit does
Line modeMarks whole lines added or removed, with line numbers
Word modeMarks words and punctuation inside the text
Ignore caseA and a count as the same
Ignore extra spacesRuns of spaces and edge spaces do not count as a change
Size per box200,000 characters and 20,000 lines, blocked above that
TimeThe worker stops after 3 seconds
Files and mergeNot on this page: paste text, read the diff

Frequently asked questions

Should I compare by line or by word?

Use Line for code, lists and CSV, where each line is a unit. Use Word for prose, so a single edited word does not mark the whole paragraph.

Is my text uploaded?

No. The comparison runs in a worker inside this browser tab. GustKit does not send either text to a server.

What happens if my text is too long?

Each box takes 200,000 characters and 20,000 lines. Above that, GustKit blocks the comparison and tells you which box to shorten. It does not cut the text silently.

Why did the comparison stop?

Very different long texts can take a while. GustKit stops after 3 seconds so the tab does not freeze. Try Line mode or compare smaller parts.

Can I ignore case or spacing changes?

Yes. Ignore case treats A and a as equal. Ignore extra spaces collapses runs of spaces and ignores spaces at the start and end.