Account

What new tool do you want?

PDF Tools

Compare PDF Files (Text Differences)

Compare two PDFs (or Word files) and see exactly what text was added, removed or changed — page by page, highlighted like a redline.

How to use

  1. 1Add the original and the revised file (PDF or DOCX).
  2. 2Review additions (green) and deletions (red) for each page.

Frequently asked questions

Does it compare images or layout?

It compares the text. Formatting and image changes aren't detected.

Can I compare Word documents?

Yes — .docx files are read as text and compared the same way.

Is it private?

Yes — both files stay in your browser.

What's actually being compared

This tool extracts the text layer from each file — page by page for a PDF, as one combined block for a DOCX — and runs a line-level diff between the two. It is a text comparison, not a visual one: it has no idea whether a paragraph moved to a different part of the page, whether a table's column widths changed, or whether an image was swapped for a different image. If page 4 in the revised file has identical wording to page 4 in the original but the logo was recolored, this tool reports no difference on that page, because nothing in the extracted text changed.

Why PDF and DOCX are compared differently

A DOCX is read with the mammoth library as raw text — the whole document becomes a single block, so differences aren't attributed to a specific page (DOCX files don't have fixed pages the way a rendered PDF does; pagination depends on the viewer). A PDF, by contrast, is opened with pdf.js and its text is pulled out one page at a time, so the diff output is organized by page number and only pages with actual changes are shown. Mixing the two — comparing an original PDF contract against a revised DOCX draft — still works, but the DOCX side won't have page-level granularity to match against.

Reading the red and green output

Each line is marked added (green, present only in the revised file), removed (red, struck through, present only in the original) or unchanged (shown in muted text for context). The summary line at the top totals additions and removals across every page that changed, and pages with no textual differences are simply left out of the results — so a 50-page report where only page 12 changed shows just page 12's diff, not 50 blank comparisons.

Example: catching a changed clause in a contract redraft

A 15-page vendor contract goes back and forth for a second round of edits. You drop the original into the left slot and the redlined-looking revision into the right slot and press Compare. The tool reports, say, '+6 added − 4 removed lines on 2 pages' — pointing you straight to page 7, where the payment-terms paragraph was reworded from 'net 30 days' to 'net 45 days,' and page 11, where a new indemnification sentence was inserted. Instead of reading all 15 pages twice side by side, you review exactly those two pages and confirm the rest of the contract is untouched.

Each side accepts a PDF or a Word file

You drop two files, and each slot accepts a PDF or a Word document. The hint names the side, and replacing either file clears the previous comparison. The status while it runs says it is reading both files. The summary counts lines added and lines removed, and the page word is singular when the result is a single page. A Word file is read as one block of text rather than as PDF pages, so a Word-versus-PDF comparison is still a text comparison, not a picture of the layout. Empty lines are kept visible in the diff so a blank line that appeared or disappeared is not silent.

Related tools

More: PDF Tools