Text & Dev

Text Compare

Paste two versions of anything and see a line-by-line diff — what was added, what was removed and what stayed the same.

How to text compare

  1. 1

    Add your file

    Drop your file into the box above or click to browse. It's processed privately in your browser — nothing is uploaded.

  2. 2

    Choose your options

    Adjust the available settings to get exactly the result you need.

  3. 3

    Download the result

    Run the tool and download your file instantly — no sign-up, no watermark.

About Text Compare

Finding what changed between two versions of a document by reading both is slow and unreliable — the eye skips over exactly the small edits that matter. A diff does it mechanically, showing only what moved.

The comparison here works the way version control does: it identifies the longest sequence of lines the two texts have in common, then reports everything else as an addition or a removal. That produces a far more readable result than comparing line one to line one, because inserting a single paragraph near the top does not make everything after it look changed.

The ignore options handle the common noise. Text that has been re-wrapped, re-indented or pasted through a different editor often differs in whitespace on almost every line while saying exactly the same thing, and switching spacing off strips that away so the real edits stand out.

Frequently asked questions

How does the comparison work?+

It finds the longest common subsequence of lines between the two texts, which is the same approach version control uses. The result is the smallest sensible set of additions and removals rather than a naive line-by-line match.

What do the symbols mean?+

A leading minus marks a line that was in the original but not the new version; a plus marks a line that is new; a space marks a line that is unchanged.

Can I ignore formatting differences?+

Yes. Ignoring letter case and ignoring spacing can each be switched on, which is useful when comparing text that has been reflowed or re-indented but not really changed.

Is there a size limit?+

Each side is capped at 1,500 lines. The comparison compares every line against every other, so beyond that it would slow your browser noticeably — compare long documents in sections.

Does it compare within a line?+

Not yet. A changed line appears as one removal plus one addition, which is how a unified diff reads. Word-level highlighting is a possible future addition.

Is my text uploaded?+

No. Both versions are compared in this tab, so contracts, drafts and source code never leave your device.

More Text & Dev tools