Drop it anywhere
pdfhook

Compare PDF

Compares the text of two PDFs line by line and reports exactly what was added or removed.

  • No upload — runs on your device
  • Free, no sign-up
  • No watermark

What Compare PDF does

Compares the text of two PDFs line by line and reports exactly what was added or removed. Spotting exactly what changed between two versions of a document by eye is slow and error-prone, especially for longer files. This tool compares the text of two PDFs line by line and reports precisely what was added or removed, even when the two files have different total page counts.

Works well with: Merge PDF · PDF to Text · Organize PDF

Runs 100% in your browser

PDFHook processes this file using JavaScript on your own device. It's never uploaded, stored, or seen by anyone else — and it works even if your connection drops mid-way.

HOW TO USE IT

Compare PDF in 3 steps

1

Upload both PDFs

Choose the original and the revised version.

2

Comparison runs automatically

Text from both files is compared line by line.

3

Download the report

See exactly what was added or removed.

Key features

  • Line-by-line text comparison
  • Clear added/removed report
  • Works across different page counts
  • Handles PDFs with different total page counts gracefully
  • Clear, structured added/removed report rather than a raw diff dump

Practical use cases

  • A legal team needs to identify exactly what changed between two contract drafts.
  • An editor reviewing a revised document wants a clear summary of textual changes.
  • Someone reviewing a policy update wants to see precisely which sections were modified.

Related terminology

Line-by-line comparison
A comparison method that checks each line of text between two documents, reporting specific additions and removals rather than a general similarity score.

The complete guide to Compare PDF

Quick answer

To compare two PDFs, add the original and the revised version to PDFHook's Compare PDF tool. It reads the text of both files and reports line by line which text was added or removed, even when the page counts differ. Everything happens in your browser.

Why compare PDFs

Documents change quietly. A supplier sends "the same contract" with one clause altered, a colleague updates a report without a change log, or a policy is revised and you need to know what is new. Reading two long documents side by side is slow and easy to get wrong, because the eye skips over small edits such as a changed number or a deleted sentence.

A text comparison does the tedious part for you and points at the differences so you can judge whether they matter.

How Compare PDF works

The tool extracts the text from both documents and compares them line by line. The result is a structured report of what appears only in the first document (removed) and what appears only in the second (added). Lines that match are treated as unchanged.

Page counts do not have to match. If the revised file has an extra page or a section removed, the comparison still works because it focuses on the text sequence instead of requiring matching page positions.

What it is good for

  • Contracts and agreements: spot changed clauses, amounts, dates or party names
  • Policies and procedures: see what a new version adds or removes
  • Reports and proposals: check what was edited between drafts
  • Terms and conditions: review updated legal text
  • Academic and technical documents: confirm what changed in a revision

What it does not compare

It is a text comparison, so it does not examine formatting, fonts, colours, images or layout. Two documents that look different but contain the same words would show as identical. Equally, a text-only comparison will not detect that a paragraph has simply been *moved*; it may show it as removed in one place and added in another.

It also relies on real text in the PDF. A scanned document is only images, so there is no text to compare until you run OCR PDF on it. Recognition errors in OCR can create small false differences, which is worth keeping in mind.

How to read the report

  • Added lines are in the second document but not the first.
  • Removed lines are in the first document but not the second.
  • A *changed* sentence usually appears as one removed line and one added line next to each other.

Read the added and removed lines in context. A change to a single digit in a price may matter far more than a rewritten paragraph that says the same thing.

Tips for accurate comparisons

  1. Compare like with like. Use the final PDF of each version, not a mix of draft exports and printouts.
  2. Put the older document first. That way "added" means new text and "removed" means text that no longer exists.
  3. OCR scanned versions first, and review the report knowing that recognition can introduce small differences.
  4. Unlock protected files with Unlock PDF if you know the passwords.
  5. Extract only relevant pages with Split PDF if you only care about one section of a long file.

Common mistakes

  • Assuming no difference in the report means identical files. Formatting or image changes are not reported.
  • Comparing a scan with a typed version without recognising the text first.
  • Ignoring moved text. A reorganised section can look like large deletions and additions.
  • Comparing more than two files at once. The tool compares two documents at a time; compare in pairs.

Compare PDF vs desktop diff software

Specialised document comparison software can show visual overlays and track formatting changes, but it is usually paid and installed locally. For text differences in everyday documents, a browser tool is quick and accessible. PDFHook performs the comparison on your device, so sensitive drafts of contracts and policies are not uploaded to a server. See how PDFHook compares with upload-based tools.

What to do after comparing

If you need a plain text copy of either document, use PDF to Text. If you want to share the results, merge them with a covering note or sign the approved version.

Frequently asked questions

Does this compare formatting and images too?

No — the comparison is text-only, line by line. Visual or formatting-only differences aren't detected.

What if the two PDFs have different page counts?

The comparison still runs — the report will note the page count difference alongside the line-by-line changes.

Does this detect moved or reordered paragraphs?

The comparison is line-by-line based on position and content — significant reordering of content may show as removed-and-re-added rather than a detected "move."

Can I compare more than two PDFs at once?

The tool compares exactly two PDFs at a time — for multiple versions, compare them in sequential pairs.

Is there a free PDF diff checker for comparing two versions?

Yes — this PDF diff checker compares two documents line by line for free, reporting exactly what text was added or removed between them.

Can I compare two PDF documents to find what changed?

Yes — this lets you compare two PDF documents and find differences between PDFs; it works well to compare PDF versions of the same document as a straightforward PDF comparison tool.

Is Compare PDF free?

Yes, and there is no sign-up, watermark or daily limit — everything runs in your browser rather than on a metered server.

How do I compare two PDF files for differences?

Add both files to Compare PDF. The tool reports lines that were added or removed between them.

Does it compare images and formatting?

No. It compares text only, so changes to images, fonts, colours or layout are not reported.

What if the PDFs have different page counts?

The comparison still works, because it looks at the text rather than requiring pages to match one for one.

Does it detect moved paragraphs?

Not as moves. A moved paragraph usually appears as removed from the old position and added in the new one.

Can I compare scanned PDFs?

Only after running OCR so the pages contain real text. Recognition errors may add small false differences.