Skip to content
YardMaths PDF

Compare two PDF files and see what changed

Find the words that were added or removed between two versions.

Drop PDF files here

or drag them here, or paste them.

Privacy: your files are opened and processed by your browser, on this device. They are never uploaded to YardMaths or anyone else, and they are gone when you close the tab.

How to compare two PDFs

  1. Add the two PDFs. Put the older one, the original, first and the newer one, the revised file, second. Drag or use the arrows to swap them.
  2. Choose how to pair the pages. “Match pages by their content” survives a page added or removed in the middle; the other option compares page 1 with page 1, page 2 with page 2.
  3. Tick “Ignore upper and lower case” if capital letters do not matter to you.
  4. Press Compare PDFs. Your browser reads the text of both files and finds the differences on your device.
  5. Read the changes under the result (removed words crossed out, added words underlined), or download the comparison report to keep or share.

Why this tool runs in your browser

Two versions of a document are usually two versions of something you care about: a lease before and after the landlord’s edits, a contract draft, a policy, a manuscript. Uploading both to a comparison website would hand over the old and the new text. Here both files are read inside your browser and compared there.

The comparison report is created on your device as well, as a single HTML file you can open in any browser or print to PDF. It contains the words of your documents, so you decide who gets it.

How the comparison works

  • The text of each page is read from the PDF and split into words.
  • Pages that are identical in both files are matched first. The pages between them are paired in order, and any page left over is reported as added or removed.
  • On each pair of pages, the words are compared with a standard difference algorithm (the method behind most “diff” tools). Words only in the original are shown crossed out, words only in the revised file are underlined.
  • Long stretches that did not change are shortened to a few words on each side of a change, so you see the changes in context without scrolling through everything.

What it does not compare

Only the words are compared. Pictures, drawings, fonts, colors, layout and spacing are not, and two pages that look different but have the same words count as identical. If a page is a scan, it has no text to compare; the tool tells you which pages have none.

Limits to know before you start

  • Only text is compared, not how the page looks. A moved paragraph shows as removed in one place and added in the other, and a changed picture is not noticed.
  • Scanned pages or photos of text have no readable text, so changes on them are not found. The tool lists how many pages had no text in each file.
  • The order of words follows the position of text on the page. On pages with several columns, lines of neighboring columns can be mixed, which can make a difference look larger than it is.
  • When a pair of pages is almost completely different, the tool does not list every word match; it shows the old page as removed and the new page as added.
  • Very long documents can take a while and need memory: both files are read in full on your device.
  • Password-protected PDFs cannot be compared until the password is removed. You need to know it; nothing here guesses passwords.

Compare PDF FAQ

How do I see exactly what changed between two versions of a PDF?

Add the old version first and the new one second, then press Compare. The page shows each page that differs, with removed words crossed out and added words underlined. A report with the same view can be downloaded.

Does comparing two PDFs here upload them?

No. Both PDFs are read by your browser and the differences are worked out on your device. The report is also made locally and is only saved when you press Download.

What if a page was inserted in the middle of the document?

With the default setting, identical pages are matched first, so one inserted page shows up as one added page instead of making every later page look different. The other setting pairs page numbers strictly and is for documents whose pages never move.

Can PDF compare find changes in images, charts or signatures?

No. Only the text is compared. A changed picture, a different chart or a new handwritten signature will not appear in the report, so check those by eye.

Why does the comparison show a whole page as changed?

Usually because the text of that page moved a lot, for example after a reflow or a column change, or because the page is a scan with no text on one side. In that case the tool shows the old page as removed and the new page as added rather than listing individual words.

Last updated . Free to use, no sign-up.