zerouploads

Text Diff Checker

Compare two versions of a text and see exactly what changed, word by word or line by line — in your browser.

  • Preview
  • Unlimited
  • No signup
  • Private
  • Works offline

Compare two texts

DIFF4 additions · 2 deletions · 2 blocks changed
What to ignore, and when to compare

Changes

+4 −2

How to show the comparison
Unified comparison, 4 additions · 2 deletions · 2 blocks changed
oldnewChangeLine
@@ -1,5 +1,7 @@
11Onboarding is where most products lose the argument.
2Removed: The fix is a better product tour and clearer tooltips.
2Added: The fix is rarely a better tour. It is removing steps:
3Added: fewer required fields, fewer decisions before the first
4Added: result, and a default that is right often enough.
35Measure the time from first load to first finished task,
4Removed: and review it quarterly.
6Added: and treat every increase as a regression.
57Everything else is downstream of that number.

39 → 60 words · 6 of 9 lines changed · 21 words added

How it works

  1. 01

    Paste both versions

    Type, paste, or open two text files. The old one on the left, the new one on the right.

  2. 02

    Pick how to read it

    Unified, side by side, or inline. Compare by line, by word or by character.

  3. 03

    Take the result

    Copy the changed text, or save a unified .diff patch that git can apply.

How the comparison works

The diff lines up what has not changed and reports the rest. It uses the longest common subsequence, the same idea behind version control diffs. It has no notion of a move. A block that changes position shows up twice, removed from one place and added in another. That is why reordering sections looks like a bigger edit than it felt like.

Granularity sets what counts as a difference. Line mode suits code, where the whole line is the unit. Word mode suits prose. Change three words and only those three light up. Character mode is for a single typo or a stray comma.

Modes
Unified, side by side, and inline. Line, word or character granularity.
Length
No cap. Turn off Live compare if typing in a long document feels slow.
Input
Type, paste, or open .txt, .md, .csv, .json, .log and .yml files.
Output
Copy the changed text, or a standard unified .diff patch.

Ignoring noise

Whitespace can bury the real edits in a reformatted text. Change the indentation or re-wrap a paragraph, and every line reads as edited. Turn on Ignore whitespace and only the changed words are left.

Ignore case does the same for text put through a style pass. It also hides a capital letter someone meant to change, so it is off by default.

Frequently asked questions

Are my documents uploaded to be compared?
No. The page compares both texts itself. Contracts under negotiation, unpublished drafts and internal notes stay on your device. The page sends no request, so there is nothing to log.
What is the difference between line and word mode?
Line mode marks a whole line as changed. Word mode marks only the words that moved inside it. Use line mode for code and word mode for prose.
Why does moving a paragraph show as two changes?
Because the diff has no idea of a move. It sees the paragraph gone from one place and present in another, so it reports a deletion and an addition. git diff works the same way.
Can I compare two files?
Yes. Press Load files and pick two. The first fills the left pane and the second the right. Any plain text file works, including .md, .csv and .json.
Can I export the result?
Yes. Copy patch and Download .diff both give a unified diff, the format git apply and patch read. Copy changed text gives the new version on its own.
Is there a size limit?
No. A very long document can make Live compare feel slow. Turn it off, and a Compare button appears so you can compare when you choose.
Why is one edit shown as more changes than I made?
Usually whitespace. Re-wrapping a paragraph rewrites every line in it. Turn on Ignore whitespace to see the edits that changed the words.
What does the hunk header mean?
It says where the block sits. In @@ -12,8 +12,10 @@ the old text gives eight lines from line 12, and the new one gives ten.
Browse all text tools