Compare two PDF drafts or drawings: text vs visual diff
Text-only comparison misses shifted CAD walls and added stamps, while pixel-only diff turns red whenever one paragraph wraps onto page two.
Short answer
Neither comparison method catches every PDF edit alone. Open both files in Compare Two PDFs. Use Mode 1 (Text & Numbers Diff) with the 7% header filter to catch changed figures and clauses across re-paginated sheets. Then switch to Mode 2 (Visual Page Diff) at 150 DPI to catch scanned stamps, signatures, and floor-plan lines.
Open the Compare Two PDFs tool
What text comparison catches vs what 150 DPI pixel diff catches
Under ISO 32000-2 §8.5 and §9.4, a PDF stores vector drawing paths, raster images, and text strings in separate operator commands.
Understanding which layer changed tells you which mode to read first:
| Type of PDF edit | Mode 1: Text & Numbers Diff | Mode 2: Visual Page Diff (150 DPI) |
|---|---|---|
| Fee changed from 42,500 to 46,800 | Flags exact numeric change badge with page jump. | Boxes the changed digits on that page. |
| Added paragraph shifts pages 2–15 down | Shows 1 clean insertion without false alarms on later pages. | Marks every shifted line below that point. |
| Moved CAD partition wall or chart bar | Misses it completely (0 text tokens changed). | Highlights both old and new wall positions clearly. |
| Scanned wet-ink signature or stamp | Misses it completely (raster image XObject). | Draws a red cluster box around the stamp pixels. |
Why ignoring the top and bottom 7% fixes re-paginated false alarms
When an edit pushes lines onto page 2, running headers and footers interrupt the middle of split sentences.
On a 792 pt US Letter sheet, skipping the top and bottom 7% removes 55.4 pt of margin noise.
Myers shortest-edit-script diff then matches split sentences cleanly across the page break.
Worked example: auditing 5 numeric edits and 1 moved bay wall
Open Compare Two PDFs to inspect the built-in 2-page service agreement pair:
- Audit fees and dates in Mode 1. The jump list flags
Net 30 → Net 45and42,500 → 46,800while skipping four footer strings. - Switch to Mode 2 on Page 2. Exhibit 1 shifts a loading-bay partition wall right by
76 ptand adds a circular stamp with zero text changes. - Test Blink toggle and Split curtain. Alternating Draft A and Draft B every
650 msmakes subtle drawing shifts jump out to the eye.
You can open the 150 DPI split-curtain visual setup or open the numbers and dates filter setup right away.
Comparing plain text, spreadsheets, and screenshots
Pick the dedicated comparison tool when working with non-PDF formats:
- Drop extra cover pages first. Delete unaligned title sheets in Merge and Split PDF so visual pages pair up 1-to-1.
- Diff pasted clauses or code. Export unified
.patchfiles from raw text in Compare Two Texts. - Match pricing tables by SKU. Key-align CSV or Excel workbooks in Compare Two Spreadsheets, or diff UI exports in Compare Two Screenshots.
Common mistakes
- Relying on text copy-paste when checking architectural or engineering PDFs. Dimension lines and CAD symbols are vector paths that only visual pixel diff sees.
- Leaving Pixel noise tolerance too low on flatbed scans. Raise tolerance from
18toward36when paper grain differs between two scanners. - Forgetting to untick the 7% margin filter when auditing Bates numbers. Untick the header/footer filter whenever legal Bates stamps in the margin are the exact item you want to check.
Sources
- ISO 32000-2:2020 (PDF 2.0 Specification) (checked 2 December 2026), §8.5 (path construction and painting) and §9.4 (text positioning operators).
- Eugene W. Myers, “An O(ND) Difference Algorithm and Its Variations,” Algorithmica 1(2), 1986 (checked 2 December 2026), defining the shortest-edit-script word diff model.
- MDN Web Docs: CanvasRenderingContext2D.getImageData() (checked 2 December 2026), covering 8-bit RGBA pixel buffers used for 150 DPI visual cluster detection.
Spotted a mistake in this guide? Email contact@fasttool.app. We reply within 7 business days.