local/tools
docs / Native app / v1.0.3

DOCX Compare

Compare two Word documents and produce a tracked-changes redline .docx.

Install

  • install
    irm https://raw.githubusercontent.com/chayprabs/localtools/main/docx-compare/install.ps1 | iex
  • update
    localtools-docx-compare update
  • remove
    localtools-docx-compare uninstall

Opens at http://127.0.0.1:47134 in your browser. Run localtools-docx-compare --help for the command line. Set LOCALTOOLS_NO_OPEN=1 to install without opening it.

Direct download

PlatformFileSize
Linux ARM64docx-compare-1.0.3-linux-arm64.zip14.3 MB
Linux x64docx-compare-1.0.3-linux-x64.zip14.6 MB
macOS Apple Silicondocx-compare-1.0.3-macos-arm64.zip14.0 MB
macOS Inteldocx-compare-1.0.3-macos-x64.zip14.5 MB
Windows x64docx-compare-1.0.3-windows-x64.zip14.4 MB

SHA-256 checksums are in the release notes; the install scripts verify them for you.

See it

How to use

  1. Run localtools-docx-compare (or open DOCX Compare from your app menu); it opens in your browser.
  2. Drop the original .docx and the revised .docx.
  3. Set the author and date the tracked changes should carry, and tick Ignore case if letter case does not matter, then press Compare.
  4. Read the inline preview (insertions underlined, deletions struck through) or the Changes tab, then download the redline .docx and open it in Word or LibreOffice.
  5. To finish a reviewed document, drop it in "Accept or reject all tracked changes". From scripts: localtools-docx-compare a.docx b.docx -o redline.docx --author "Reviewer", and localtools-docx-compare accept redline.docx -o clean.docx.

FAQ

Are these real Word tracked changes?

Yes. The redline contains w:ins and w:del revisions with the author and date you set, so Word and LibreOffice show them in Review and can accept or reject each one. Accepting all of them gives the revised document text; rejecting all gives the original.

What if a document already has tracked changes?

They are accepted first, so the redline shows the difference between the two documents as they currently read. The number of revisions that were accepted is shown with the result.

Are headers, footers, comments, formatting changes and moves shown?

Headers and footers are compared and their changes tracked, including image, link and field changes; unsupported header/footer layouts produce a warning. Body/note hyperlinks and bookmarks are re-anchored where possible; failure produces a warning and can drop all of them. Formatting-only changes are not marked, moved text appears as deletion plus insertion, and comments are not carried into the redline (accept/reject all keeps them). Resolving tracked moves or redlines can change empty paragraphs.

How big can the documents be?

Up to 50 MB per file. Each comparison runs in its own process with a 3-minute deadline; about 2,000 paragraphs compare in roughly 11 seconds. Zip bombs and XML entity bombs are refused.

Is anything uploaded?

No. The tool runs on 127.0.0.1 on your computer and works offline.