Compare two document revisions locally, inspect text and visual changes, and save a report that opens without an account or server.
DocDiff is for reviewing revised manuals, proposals and other documents where a changed number, word or page matters. The published stable v1.0.0 release provides qualified Windows and Linux x64 archives for PDF, supported DOCX, selected-page local English OCR and sequential batches. See its exact-package evidence in verification, the support contract and roadmap.
See the generated example HTML report or compare the included PDFs yourself. The screenshot and report come from the real desktop acceptance flow.
See the real DOCX paragraph/table review, DOCX HTML report and local OCR review from its actual Windows desktop flow. These examples show actual behavior. Stable v1.0.0 passed exact-package qualification on Windows and Linux, plus a separate Windows 11 package run and old-preview profile/report compatibility.
Download the archive for your platform from Releases and verify it with the release's SHA256SUMS.txt. On Windows, extract the complete ZIP and run DocDiff Studio.exe. Linux setup requires the sandbox permissions and application-specific AppArmor instructions in the release notes. Archives are unsigned; Node.js is not needed for the packaged app.
The v1.0.0 release includes verification.json with exact source/package hashes and successful source and extracted-package flows on Windows Server 2025 and Ubuntu 24.04. The same Windows archive additionally passed on Windows 11. Check the evidence for the exact build you download; the earlier 0.1.0 and 0.2.0 releases remain previews.
Requirements: Node.js 24, npm, Windows x64 or a Linux x64 graphical session. No paid API or application account is needed.
npm ci
npx install-electron --no
npm run build
npm startFor your first comparison, select examples/corpus/word-number-before.pdf as Pair 1's original and word-number-after.pdf as its revision, then choose Compare pair. Inspect removed/added text and page images, and use Save selected HTML to create a self-contained report. For the inserted-page example, use the two insert-middle-* PDFs: later pages should stay paired with their original pages. The tagged v0.1.0 preview labels these controls Compare PDFs and Save HTML.
Türkçe hızlı başlangıç · Support and limitations · Contributing
- Side-by-side page previews, a visual difference layer, and a change list with page navigation.
- Separate text and appearance comparisons. Ignoring whitespace or selected header/footer lines does not hide visible appearance changes.
- Middle-page insertions and removals are aligned independently of page numbering.
- Pages with no extracted text stay visible as Review needed; matching images do not prove that scanned documents have the same text. Partial extraction on a text-bearing page cannot be detected reliably, so inspect the page previews.
- DOCX main-body paragraphs and basic table cells, with logical locations and explicit incomplete-content warnings.
- Exact unique-text moves; repeated boilerplate stays ambiguous.
- Optional bundled English OCR on selected PDF pages without a text layer; matching OCR text stays uncertain.
- Up to 20 sequential pairs and batch JSON that preserves failed, cancelled and not-run states.
- HTML with embedded images and versioned JSON, generated on this device.
- Cancellable worker processing, input/page/pixel/text/output limits, and explicit failed states.
Files are read only when selected. The desktop blocks external requests and navigation; parsing happens in a worker inside a sandboxed renderer. Reports contain document names, SHA-256 fingerprints, text and images, so treat exported reports as copies of potentially private documents. No telemetry or file-upload backend is included.
npm run typecheck
npm test
npm run test:e2e
npm run packageThe corpora are synthetic and reproducible with npm run fixtures and npm run fixtures:v1; their manifests bind bytes to expected behavior. End-to-end tests exercise actual PDF decoding, worker comparison, native save IPC with a simulated dialog choice, and reopening the produced HTML. Test evidence belongs to the exact tested build; a successful compile alone is not package acceptance. Unsigned archives and tested platform scope will be stated with each release.
Authored code and corpus: Apache-2.0. See third-party notices for bundled components, fonts and corresponding font source.
