Microdeck.tools 100% In-Browser

PDF Visual Pixel Diff & Text Revision Comparer

New

Spot subtle layout shifts, swapped numbers, missing signatures, or sneaky edits between two PDF contracts or print proofs locally. Renders both documents via `pdfjs-dist` canvases, computes RGBA channel deltas across pages, highlights changed regions in vivid magenta overlay, and runs a line-by-line text diff below.

100% In-Browser No Server Storage Instant Results

Load two PDF revisions to inspect visual & text diffs

Every pixel & text comparison executes locally inside your browser canvas.

Did this tool save you time? Help keep Microdeck free and maintained. Completely optional · From $3.

How It Works Under the Hood

Both PDFs render through `pdfjs-dist` at `1.25×` scale onto isolated canvases, extracting raw `Uint8ClampedArray` RGBA pixel buffers and baseline-sorted text layers. Pixels whose mean RGB channel delta exceeds your threshold are flagged in bright rose-magenta over a dimmed grayscale page backdrop.

Step-by-Step Instructions

1

Load your Original PDF (`v1`) and Revised PDF (`v2`) locally.

2

Use the Page selector to step through corresponding pages (`1 / N`).

3

Adjust the Pixel Threshold slider (`5–60`) to filter out minor anti-aliasing noise.

4

Inspect side-by-side renders, percentage pixels changed, and the color-coded Text Line Diff below.

Key Features & Performance

  • Dual inspection: catches BOTH silent visual/stamp/image changes AND textual edits simultaneously
  • Adjustable pixel-channel tolerance slider prevents font-hinting jitter from causing false alarms
  • Highlights modified regions in vivid rose-magenta over a clean faded page outline
  • Gracefully handles mismatched page counts by flagging missing pages without crashing
  • Zero external uploads: ideal for M&A contracts, legal redlines, and confidential print proofs

Methodology, Formulas & Technical Standards

Pixel comparison calculates mean RGB Euclidean-style channel delta `(|R1-R2| + |G1-G2| + |B1-B2|) / 3` across `max(w1, w2) × max(h1, h2)` dimensions; text comparison computes exact LCS line diff.

Common Real-World Use Cases

  • Verifying an edited vendor agreement before wet/digital signature execution
  • Checking design proof revisions for subtle logo alignment or pricing typography changes
  • Auditing auto-generated PDF invoices or compliance reports between release builds
  • Confirming no hidden whitespace or signature blocks shifted after PDF compression

Worked Examples & Edge Cases

Visual Layout + Pricing Audit

Input
Invoice v1 ($1,200) vs Revised v2 ($1,450)
Output
Highlights the changed line item box in magenta pixel diff + shows `- $1,200` / `+ $1,450` in line diff

Works even on flattened/rasterized scanned edits where no text layer changed.

Anti-Aliasing Noise Tuning

Input
Threshold: 18 vs Threshold: 40
Output
Filters minor subpixel rendering noise while keeping structural ink edits clear

Raise threshold when comparing scans made at slightly different compression ratios.

Limitations, Scope & Accuracy Notes

  • • Comparisons operate page-by-page by index (`page N vs page N`); inserting an extra cover page shifts subsequent page alignments.
  • • Renders interactively one page at a time to conserve browser canvas memory on huge reports.

Local Browser Processing & Privacy

Traditional web converters upload your documents, snippets, or media files to remote servers. PDF Visual Pixel Diff & Text Revision Comparer runs inside your browser tab:

Processed in This Tab

Your input text and files are processed locally without uploading payloads to a processing server.

No Tool Payload Logging

Microdeck does not log or store the files or inputs you paste into tool workspaces (normal static hosting/CDN requests still load page assets).

Tab Memory Lifecycle

Working outputs stay in your browser tab and are released when you reset the tool or close the tab.

Frequently Asked Questions

Can this detect visual edits on scanned PDFs that lack selectable text?

Yes. The pixel canvas comparator works directly on rendered raster pixels regardless of whether searchable text exists.

What does Pixel Threshold control?

It sets the average per-channel RGB difference (`0–255`) required before flagging a pixel as changed. Higher thresholds ignore JPEG compression noise.

What happens if the two PDFs have different page dimensions?

The diff canvas expands to `max(width)` by `max(height)` and highlights out-of-bounds margins automatically.

Are legal or financial PDFs transmitted anywhere?

No. Rendering, pixel comparisons, and LCS text diffs happen strictly in browser memory.

Explore Related Micro-Tools

Support Microdeck

Completely optional · From $3 · No account required

Choose an amount (USD):Selected:$5

Minimum support amount is $3 USD.

Completely optional · From $3 · Checkout opens on Gumroad.