Skip to content

Compare PDF

PDF Tools•Client-Side & Private

Compare two PDFs side by side and see every text difference line by line, with page numbers and a similarity score. Free, private, no upload.

Tool workspace

First PDF (original)

Drop a PDF here or click to browse

Second PDF (revised)

Drop a PDF here or click to browse

What this compares: the visible text layer of each page, line by line. It does not compare images, fonts, colours or layout, and it cannot see text in scanned pages (those have no text layer — use OCR PDF instead). Line order matters: a moved paragraph shows as removed in one place and added in another.

Loading tool controls…

Files processed locally — never uploaded to our servers
Free Instant Private

Verify it yourself: press F12, open the Network tab, and use this tool — your files are never uploaded.

Compare PDF at a glance

Price
Free
Account
Not required
File uploads
None — your files are never uploaded
Category
PDF Tools

Who uses PDF Tools?

Students, office workers and anyone assembling or editing PDF documents — merging, splitting, watermarking and compressing.

How to Use Compare PDF

Follow these simple steps to get instant results in your browser.

1

Upload Both PDFs

Drop the original into the first slot and the revised version into the second. Both files stay in your browser.

2

Click Compare PDFs

The text of every page is extracted with pdf.js and diffed line by line. A per-page similarity score appears for each page.

3

Read the Differences

Pick a page to see its added lines in green and removed lines in red, or download the full diff report as a .txt file.

💡

What is Compare PDF & How Does It Work?

Compare PDF reads the text layer of two PDF files and shows every difference line by line, page by page, with a similarity percentage for each page and for the whole comparison.

The comparison uses the same longest-common-subsequence line diff that powers the Text Compare tool: lines present in both files are shown as unchanged, lines only in the first file as removed, and lines only in the second as added. Pages that exist in only one file are reported as entirely added or removed, so an inserted or deleted page is obvious at a glance.

Use it when a contract, report or manuscript comes back revised and you need to know exactly what changed — without opening two windows and reading both versions yourself. A plain-text diff report downloads with every change marked + or −.

⚡

Key Features & Capabilities

✓

Per-Page Similarity Scores

Every page gets its own similarity percentage, so you can jump straight to the pages that changed most.

✓

Added / Removed Page Detection

Pages present in only one file are reported as entirely added or removed.

✓

Downloadable Diff Report

A plain-text report with per-page stats and every changed line marked + or −.

✓

LCS Line Diff

The same longest-common-subsequence diff used by Text Compare — a well-understood, deterministic algorithm.

✓

Private by Design

Both PDFs are read and compared in your browser. Nothing is uploaded.

Pro Tips

  • •Bookmark this tool for instant one-click access anytime.
  • •Drag and drop files directly onto the input surface for fastest handling.
  • •All processing happens in your browser session for maximum speed and data safety.

🎯 Common Use Cases

A Revised ContractCompare the draft you sent with the version that came back and spot every changed clause before you sign.
A New Edition of a ReportSee which paragraphs changed between last quarter’s report and this quarter’s, and which pages are new.
Checking a TranslationCompare a translated document against the source layout to confirm no paragraph was dropped.
A Proof Before PrintingCompare the final proof of a brochure against the approved draft to catch any last-minute text change before it goes to print.
📐

Compare PDF - Similarity

Formula Equation:
Similarity = unchanged lines ÷ max(lines in file A, lines in file B) × 100

Each page’s lines are aligned by their longest common subsequence. Lines that align are unchanged; the rest are added or removed. Similarity is the share of lines that survived unchanged, so a page with one edited paragraph out of twenty scores about 95%.

✏️

Worked Example

  1. 1Page with 40 lines in file A and 42 in file B\n38 lines unchanged → 38 ÷ 42 × 100 = 90.5% similar\n2 lines removed, 4 lines added
📚

Sources & Further Reading

Frequently Asked Questions about Compare PDF

Frequently asked questions

The visible text layer of each page, line by line. Added lines are shown in green, removed lines in red, with the page number and a similarity percentage for every page. It does not compare images, fonts, colours or layout.

No — scanned pages have no text layer to compare, so they show as empty on both sides. Run scanned PDFs through OCR PDF first to get text, then compare the text files.

Pages that exist in only one file are listed as entirely added or entirely removed, so you can see at a glance where a page was inserted or deleted.

Yes — the “Download Diff Report” button saves a plain-text report with the per-page similarity, the added and removed line counts, and every changed line marked + or −.

A page with more than 5,000 lines cannot be compared — the tool stops with a message telling you to split the PDF and compare smaller parts. Most ordinary pages are far below that limit.

Yes — the diff is line-based and order matters, so a paragraph moved to another place shows as removed in one spot and added in the other, even though the words are identical.

Complementary utilities for your workflow

View all →
You are here

Compare PDF

Find text differences between two PDFs, page by page.

Current tool

Text Compare

Diff two texts and highlight changes line-by-line.

Try tool

OCR PDF

Turn scanned PDF pages into editable text with OCR.

Try tool

Flatten PDF

Lock form fields into fixed, uneditable page content.

Try tool