📄

PDF Compare Viewer

Compare two PDFs side by side, diff text lines, and export Markdown or CSV with visual rate.
Diff 📂 Developer 👤 ToolCMS 🏷️ v1.4.0

选择两份 PDF 本地解析,不上传文件

等待两份 PDF

预览控制 同步翻页、缩放与视觉差异

/ 0
A · 原始版 B · 对比版
视觉差异:等待两份 PDF
红色为超过阈值的差异像素

两个预览面板可独立滚动;打开同步后,滚动 A 会带动 B。

差异摘要 先看页级变化

文字差异 点击左侧页码查看

How to Use

📖 What it does

After a contract or proposal is revised, a table of contents is a poor safety net. The page count and text-layer changes are usually more reliable than a quick visual scan.

This tool renders two PDFs side by side. Paging and scrolling can stay in sync. It extracts the text layer page by page and compares lines with a longest common subsequence, marking added, removed and changed pages.

It does not replace a human review of layout and signatures, but it quickly shows which pages changed and which lines moved, and exports a Markdown record.

✨ Features

  • Choose two PDFs locally, up to 50MB each, with no upload; page thumbnails are generated automatically.
  • Render A and B side by side with paging, page jump, fit width and 125%, 150% or 200% zoom.
  • Ignore case or whitespace before the line LCS, with prefix/suffix trimming for long documents.
  • Filter pages and thumbnails by all, changed, added, removed or unchanged, and jump to the first difference.
  • Compute a pixel change rate for the current page at threshold 12/36/64 and render a downloadable heatmap.
  • Word-level LCS counts removed and added tokens; a standalone HTML report adds summary cards, a per-page table, line diffs and word pairs with inline CSS.

🚀 How to use it

  1. Choose the original PDF in area A and the revised PDF in area B, or drag each file into its area.
  2. When both load, the tool extracts text automatically, or click Start Compare; thumbnails and page counts appear on the right.
  3. Filter by changed, added, removed or unchanged, then click a page to review the text diff.
  4. Open a page with images or tables and wait for the visual change rate to appear.
  5. Download the Markdown report for the review record, and the CSV when a table is needed.

⚠️ Before you rely on it

  • A scanned PDF has no text layer. Pages render, but the diff list is empty until OCR is applied.
  • Password-protected PDFs are rejected with a message and never enter the comparison.
  • When page counts differ, the extra pages are marked B-only or A-only rather than forced into pairs.
  • The visual change rate compares pixels on the current page; it does not locate elements or identify stamps or table structure.
  • The HTML report does not embed source PDFs or sign them; it is review material, word pairs cap at 60, and scanned pages still need the heatmap and human review.

The tool is a reviewer aid, not a redline system. It will not detect a moved signature block, a changed chart image or a table cell that shifted without changing its text. Use the side-by-side preview for those checks. When the text layer contains ligatures or vertical writing, the extracted lines may split differently from the visual page; read the surrounding lines rather than trusting a single red line. Keep the Markdown report with the final signed version so the review trail is complete. If a page is rotated, the extraction order may change; open the page and confirm before reporting a false positive. For a long document, review the summary first and sample the changed pages instead of reading every line. If the document is signed, keep the final PDF and the report together so a later reader can reproduce the comparison.

Related

⏫︎