Compare PDF

Compare two PDFs and highlight differences — 100% private, no upload.

Drop two PDF files here
or click to choose files — PDF A and PDF B

Compare PDF Files Online — Free Visual Diff Tool

Compare two PDF files instantly and see exactly what changed — highlighted directly on the page. Works entirely in your browser. Your files never leave your device.

How to compare two PDFs

  1. Drop both PDF files into the drop zone above (or click to choose them).
  2. Click Compare PDFs — each page is rendered and compared pixel by pixel.
  3. Use the PDF A / PDF B / Diff buttons to switch between views.
  4. Diff view highlights changed pixels in red so differences are immediately visible.
  5. Each page shows the percentage of pixels that changed.

What the diff view shows

The Diff mode renders both PDFs at the same scale and compares every pixel. Pixels that differ by more than a small threshold are highlighted in red. Unchanged pixels are shown in greyscale so the red highlights pop out. Each page card also shows a "% changed" badge — useful for spotting which pages were edited.

Handling different page counts

If the two PDFs have different numbers of pages, PDFree compares all pages that exist in both files. Pages that only appear in one PDF are shown with an "Only in A" or "Only in B" badge.

Privacy — your files stay on your device

PDF comparison often involves confidential documents — legal agreements, financial reports, draft contracts. With PDFree, nothing is ever uploaded. All rendering and pixel comparison happens inside your browser tab using PDF.js. No server ever receives your files.

Frequently asked questions

Does my file get uploaded to a server?

Never. All processing happens inside your browser. Your PDFs never leave your device.

Can I compare PDFs with different page counts?

Yes. PDFree compares pages that exist in both files. Pages that only appear in one PDF are shown with a badge indicating which document they belong to.

Is this tool really free?

Yes, completely free. No subscription, no premium tier, no per-file charges. PDFree is open-source and runs entirely in your browser.

Does it detect text changes or only visual differences?

This tool performs a pixel-level visual comparison — it shows any visible difference, whether from text edits, formatting changes, added images, or layout shifts. For text-only diff, use a dedicated text-diff tool after extracting text.

Related tools

All PDF Tools
Merge PDF Split PDF Compress PDF JPG to PDF PDF to JPG Extract Pages Watermark PDF Page Numbers Edit Metadata Redact PDF Rotate PDF Protect PDF Draw on PDF Fill PDF Form OCR PDF Compare PDF