Skip to content
FastTool

Compare Two PDFs — Side-by-Side Text & Visual Diff

Spot changed words, numbers, and dates across PDF pages, or inspect 150 DPI pixel shifts on scanned stamps and drawings.

Runs in your browser. Nothing is uploaded.

Two PDF drafts and diff mode

Sample A: northbridge-agreement-draft-a.pdf (2 p)

Sample B: northbridge-agreement-draft-b.pdf (2 p)

Quick setups

Comparison engine
Visual pixel overlay controls
18 / 255

Raise tolerance slightly on noisy flatbed scans so paper grain does not light up.

Clause changes & visual page diff

5 clause & number changes found across both PDFs

  • P1 → P1Number / DateNet 30 → 45 calendar days

Comparison summary

Combines reading-order Myers word diff with 150 DPI RGBA pixel cluster detection.

  • 5 edits Clause diff hunks Removed vs added words
  • 5 numeric Number & date edits Changed amounts, dates or percentages
  • 4 regions Visual pixel clusters Catches moved lines & stamps
  • 2 vs 2 p Document page counts Top/bottom 7% header band ignored

How to use

  1. Drop the earlier PDF into Original PDF (A) and the newer PDF into Revised PDF (B), or inspect the 2-page sample pair.
  2. Keep the top and bottom 7% header filter ticked so changed page numbers or running headers do not clutter your list.
  3. Inspect Mode 1 (Text & Numbers Diff) to jump straight to altered dollar figures, percentages, dates, and clauses.
  4. Switch to Mode 2 (Visual Page Diff) and select Page 2 to see moved floor-plan walls and added ink stamps.
  5. Try Split curtain or Blink toggle to spot 1-millimeter drawing shifts that are hard to notice side by side.
  6. Download a plain-text summary of every clause edit or save a 150 DPI annotated PNG of any changed sheet.

Worked example

Input

Two 2-page service agreement drafts with changed payment terms, renewal dates, running footers, and a shifted bay diagram.

Settings

Top and bottom 7% header filter enabled, Myers word diff for clauses, and 150 DPI pixel cluster diff for drawings.

Result

Mode 1 flags 5 numeric edits while skipping footers. Mode 2 boxes the moved wall and stamp on page 2.

On a 792 pt US Letter page, the 7% margin filter skips text within 55.4 pt of top and bottom.

Header/footer ignore band = 0.07 × 792 pt = 55.4 pt (0.77 inches) at top and bottom

Paragraphs that flow onto the next page stay clean in one continuous stream instead of breaking at every page footer.

How it works

Why you need both reading-order text diff and pixel diff

Text comparison reads character streams across page breaks, so adding one paragraph on page 1 keeps later pages clean.

However, scanned PDFs, vector CAD floor plans, and handwritten stamps carry zero text tokens for graphical strokes.

Pairing Myers shortest-edit-script text diff with 150 DPI RGBA pixel clustering catches both silent number edits and visual stamp changes.

Technical specifications and limits
Parameter Specification
Text diff algorithm Reading-order Y/X line reconstruction + Myers O((N+M)D) word-level shortest edit script
Pagination noise guard Optional 7% top and bottom MediaBox band filter for running headers, footers, and page numbers
Visual pixel diff 150 DPI RGBA per-channel delta threshold (4–96 / 255) with 8-connected 16×16 px cluster boxes
Supported input limits Two unencrypted PDFs up to 100 MB and up to 200 pages each
Data locality Processed in browser memory with zero network uploads and zero browser storage writes

Sources checked 2 December 2026.

FAQ

What happens when an added paragraph pushes later text onto the next page?

Mode 1 joins body text into one stream and skips 7% margin headers, avoiding shifted page-break noise.

Can this compare scanned PDFs that have no selectable text?

Yes. Switch to Mode 2 (Visual Page Diff) to compare every page at 150 DPI using Highlight clusters, Split curtain, or Blink toggle.

How do I compare pasted paragraphs, Excel sheets, or PNG screenshots instead?

Use Compare Two Texts for plain prose, Compare Two Spreadsheets for CSV or XLSX tables, or Compare Two Screenshots for PNGs.

What if one PDF has extra cover pages at the front?

Remove the extra cover sheet first in Merge and Split PDF so visual page numbers line up 1-to-1.

Can I paste PDF files from my clipboard?

Yes. Press Cmd+V or Ctrl+V once for Slot A, then press it again to load Slot B and compare.

Are confidential drafts uploaded to a server?

No. Both PDFs stay inside your browser memory on your own computer or phone.

Step by step: when text diff misses scanned stamp or drawing edits in PDFs, and how to compare both clauses and pixels.

Updated