Compare PDF

Display two versions side-by-side highlighting document differences.

Drag & Drop PDF files or Entire Folders here

or click to select individual files or an entire folder with all subdirectories

Supports full folder selection, auto-extracts all PDFs and preserves directory structure

Selected Files

0 file(s)
No files added yet. Drop files or folders above to begin.

Compare PDF – Find Differences Between Two Files

Compare two versions of a document line by line and see what was added or removed, with an overall similarity score.

How to use this tool

  1. Add both versions — Drop the original and the revised PDF.
  2. Compare — Press Process to analyse the differences.
  3. Review — Check the similarity score and the added and removed lines.

Why ToolsTier

  • Line-level comparison — See exactly which lines changed.
  • Similarity score — Know at a glance how different the versions are.
  • Confidential — Contracts are compared in your browser, never uploaded.
  • Free — No sign-up.

Why compare PDFs?

Before signing a revised contract or approving a new policy, make sure you know every change – not just the ones you were told about.

What is compared

The tool compares the text of both PDFs line by line. Layout, images and formatting changes are not compared, and scanned PDFs need OCR first.

Related tools

Extract text from scans with OCR PDF, or summarise long documents with AI Summarizer.

Complete Guide: How to Compare Two PDF Documents Online

Legal audits and contract reviews require precise difference detection to avoid missing altered clauses. Searching for compare pdfs, compare two word documents, or confirming yes compare them leads directly to ToolsTier's Compare PDF workspace.

Textual Diff & Visual Pixel Overlay Analysis

  • Text Comparison Mode: Identifies syntactic shifts, highlighting inserted clauses in green, deletions in red, and revised numerical values automatically.
  • Side-by-Side Visual Inspection: Displays documents in synchronized scrolling viewports with interactive diff highlighting.
  • CAD & Blueprint Overlay: Flips between architectural revisions to spot structural margin shifts and relocated schematic vectors.

How does the PDF compare tool work?

Extraction first: text pulls from each file through PDF.js, then splits into lines with whitespace and blank lines dropped — so the diff runs on textual lines rather than bytes or coordinates.

The calculation uses two sets: every line from the first document is checked for existence in the second, and the difference is the two complementary sets — lines present in the first but not repeating in the second read as removed, the reverse as added. Similarity equals twice the common lines divided by the combined line count, clamped between 0 and 100.

The properties worth knowing: ordering is invisible because the comparison uses sets, so a line moved from top to bottom reads as matching rather than changed; matching is exact, so one differing word puts a line in both lists; and each list truncates at 20 lines — a fast read of edit volume, not a fine-grained diff tool.

Edge cases this design handles

  • Scanned document with no text No text extracts, so line counts are zero and the score is meaningless — run OCR first if you need the comparison.
  • Paragraphs reordered without edits Because the comparison is set-based, reordering alone registers no difference — it simplifies the read but hides line movement.
  • More than 20 changed lines Only the first 20 show while the overall score stays correct — the important signal is that the list is truncated, not complete.

Official References & Standards

  1. PDF.js — API documentation — Mozilla https://mozilla.github.io/pdf.js/api/
  2. ISO 32000-2:2020 — Document management — Portable document format — Part 2: PDF 2.0 — ISO https://www.iso.org/standard/75839.html

Frequently Asked Questions

How do I compare two PDF files?

Add both versions and press Process. Review the added and removed lines.

Does it compare images or formatting?

No, it compares text only.

Can I compare scanned PDFs?

Run OCR PDF on both first.

Are my files uploaded?

No. The comparison runs in your browser.

Is it free?

Yes.

Related tools

100% Client-Side Privacy

PDF documents are processed locally in your browser with zero server uploads

High-Precision PDF Engine

Powered by WebAssembly & PDFium for blazing-fast compression and manipulation

Batch Processing & ZIP Export

Merge, split, and compress multi-file folders with instant one-click ZIP download