Compare Text

Side-by-side and unified line diff with word highlights, whitespace ignore and .diff export.

Paste text or load two files

Paste two texts or load a sample to compare instantly.

Spot exact word and line changes between two text drafts locally

Never paste NDA contracts, API keys or proprietary code into server-side diff sites. Compare Text highlights added, removed and word-changed lines immediately in browser memory.

How to use this tool

  1. Paste original and revised text, load local text/JSON files, or click Try sample contract diff.
  2. Switch between Side-by-side and Unified views, filter Changes only, or ignore whitespace/case.
  3. Jump between changes with Prev/Next diff and copy or download a standard .diff patch.

A practical example

Compare Master Service Agreement v1.0 vs v1.1 side-by-side to spot exact payment term ($25k → $50k) and SLA hour edits in green and red.

What happens to your file

Both inputs are normalized and aligned via in-browser LCS line diffing, pairing adjacent edits cleanly and computing inline token highlights.

Output choices and checks
ModeWhat to check
Side-by-side split viewInspect red/green word-level highlights and jump between edits with Prev/Next.
Unified .diff patchFilter Changes only or toggle Ignore extra whitespace before exporting a .diff file.

Two files to try

  1. Click Try sample contract diff and inspect inline term changes.
  2. Switch to Unified view and download the clean changes.diff patch.

Frequently asked questions

Are pasted contracts or code snippets logged anywhere?

Never. Line and inline word diffing run synchronously in your tab with zero network requests.

Can I highlight differences inside modified lines?

Yes. Paired changed lines show exact inline word/space highlights in red and green.

Can I export the comparison as a patch file?

Yes. Copy the unified diff patch to clipboard or download changes.diff.