Text Diff Checker

Side-by-side or unified diff, by line, word or character. All free, all local.

Original

0 chars

Changed

0 chars

Differences

Paste two versions above. Differences show here as you type.
Runs on this device. Nothing is uploaded.

About the Text Diff Checker

Paste the original on the left and the changed version on the right to see every difference, updated as you type. Switch between side-by-side and unified views, highlight changes by word or by character, ignore whitespace or case, fold away unchanged lines, and download a standard .diff patch. Nothing is uploaded, so you can compare contracts, code and private documents.

How to use it

  1. Paste the original text on the left and the changed text on the right, or drop a file on each.
  2. Read the highlighted changes. Removed text is marked on the left, added text on the right.
  3. Use Word or Character to see exactly what changed inside a line.
  4. Download the patch or copy the unified diff.

Questions

Is it safe to compare confidential documents?

Yes. The comparison runs in your browser with the jsdiff library. The text is never sent to a server, and the page keeps working with your network switched off.

What is the difference between split and unified view?

Split view puts the two versions in columns, which is easier for prose. Unified view shows one column with removed lines marked - and added lines marked +, the format used by Git and code review.

What does ignore whitespace do?

Lines that differ only in spaces, tabs or indentation are treated as equal. It is useful for code that was re-indented or text that was re-wrapped.

Are word and character highlighting free?

Yes, every option on this page is free, with no account and no limit on use.

Related tools