6 min read

How to compare two PDFs

Someone sends back a revised contract and swears they changed only one line. You are not so sure. Comparing two PDFs by eye is slow and easy to get wrong, because a single moved word can hide in a wall of text. There are faster ways to find exactly what changed between two versions. This guide covers both visual and text comparison, and when to reach for each.

Two ways to compare a PDF

Before you start, it helps to know that there are two different questions you might be asking, and they need different methods.

  • Text comparison answers what words changed. It finds added, removed, or reworded text, which is what you want for a contract, a policy, or a draft.
  • Visual comparison answers what the page looks like differently. It catches a moved image, a new logo, a shifted table, or a colour change that a text check would miss.

For most document work you want text comparison. For anything where layout and design matter, you want a visual check. Often it is worth doing both, since a page can read the same while looking different, or look the same while a number quietly changed.

Do it now, no reading requiredFree, private, and runs right in your browser. No account, no upload.
Open the free tool

Method 1: compare the text side by side

The simplest text comparison needs nothing but your eyes and a way to see both files at once. It works well for short documents.

  1. Open both PDFs in separate windows and place them side by side on your screen.
  2. Scroll them together, paragraph by paragraph, and mark anything that reads differently.
  3. Pay special attention to numbers, dates, and names, where a small change matters most.

This is fine for a one page letter, but it gets unreliable fast on a long file. The eye skips over small edits, so for anything important you want a method that flags changes for you.

Method 2: pull the text and diff it

The most dependable way to find every reworded line is to compare the raw text of both files. When you extract the words into plain text, a comparison tool can highlight each difference exactly.

  1. Convert each PDF to an editable document with the PDF to Word tool, or copy the text out of each file.
  2. Paste both versions into a text comparison or diff tool, one on the left and one on the right.
  3. Read the highlighted results. Added text, removed text, and changed lines are marked for you.

This catches the edits your eyes would miss, like a changed figure buried in a clause. It is the method to trust for a contract or an agreement, where one altered word can change the meaning of the whole page.

Method 3: overlay the pages visually

When the layout matters as much as the words, a visual check is better. The idea is to stack the two versions and look for anything that does not line up.

  • Toggle between pages: open both files at the same zoom and flip back and forth on the same page. A moved or resized element seems to jump.
  • Overlay with transparency: some tools place one page over the other so differences show as a shadow or ghost.
  • Look at structure: check tables, headers, images, and signatures, the parts most likely to shift between drafts.

Visual comparison is how you catch a swapped logo, a redrawn table, or a signature block that moved, none of which a text diff would report.

Ready to do it yourself?Free, private, and runs right in your browser. No account, no upload.
Open the free tool

When the text will not select

Sometimes you try to copy text from a PDF and nothing highlights. That means the file is a scan, or its text is stored as an image. A text diff cannot read it as it stands, so you have two choices.

  • Run OCR first: optical character recognition reads the letters off the image and turns them into real text you can then compare. This is the route when both files are scans.
  • Fall back to a visual check: if OCR is not available, compare the pages by eye at matched zoom, watching for any shift in the printed content.

Knowing your PDF is a scan up front saves you from wondering why a text tool returns nothing useful.

What to watch for in a revised document

Not all changes are equal. When you compare a returned draft, some edits carry far more weight than others, so give these the closest look.

  • Numbers and amounts: a changed figure in a price, a total, or a percentage can rewrite the whole deal. Check every number, not just the wording around it.
  • Dates and deadlines: a shifted date is easy to miss and easy to regret. Confirm each one against what you agreed.
  • Names and parties: a swapped name or a changed company detail matters as much as any clause.
  • Removed text: deletions hide better than additions, because nothing new appears to catch the eye. A diff is the reliable way to spot what was taken out.

Mark up what you found

Once you know what changed, you often need to record it so others can see. Open the file in the edit PDF tool and highlight or add notes next to each change, so a reviewer can jump straight to the differences instead of hunting for them. This turns a private comparison into something you can hand off with confidence.

If the document you are comparing is a form, and your job is to complete the correct version rather than mark it up, open it in the fill a PDF tool instead. You can add your text and signature to the right draft and download it without printing.

Tips for a reliable comparison

  • Always confirm you are comparing the right two versions. Check file names and dates before you start, so you do not chase changes that were never real.
  • Compare at the same zoom level for visual checks, or the pages will not line up.
  • Watch the small things first. A changed date or dollar figure matters more than a reworded sentence.
  • For legal documents, use a text diff rather than trusting your eyes, since the stakes are high and the edits are easy to hide.
  • Do both a text check and a visual check on anything important, because each one catches what the other misses.
  • Write down what changed as you go, so you are not relying on memory once you have scrolled through a long file.

A steady process beats a sharp eye here. Even careful readers miss a single altered word in a dense page, so let a tool do the finding and save your attention for judging whether each change actually matters. That split, the tool finds, you decide, is what makes a comparison both fast and trustworthy.

Keeping both files private

Contracts and drafts are sensitive, so where the files go during comparison matters. Many online tools upload both documents to their servers to process them. A browser based tool keeps the work on your own device, so neither version leaves your computer. When you are comparing an agreement or anything confidential, that is the safe way to do it. Start by pulling the text with the PDF to Word tool, run a diff, and you will find every change instead of trusting a tired pair of eyes.

Frequently asked questions

What is the most reliable way to compare two PDFs?

Pull the text out of both files and run it through a text comparison or diff tool. It highlights every added, removed, or changed word, catching edits your eyes would skip in a long document.

How do I compare the layout of two PDFs, not just the words?

Use a visual comparison. Open both at the same zoom and toggle between the same page, or overlay one on the other, so a moved image, table, or signature stands out.

Can I compare two PDFs for free?

Yes. You can place both files side by side, or extract the text and diff it, using free browser tools, with no account needed.

Which method is best for contracts?

A text diff. Legal wording changes are easy to miss by eye, and comparing the extracted text flags every reworded clause, changed figure, or altered date for you.

Is it safe to compare confidential PDFs online?

It depends on the tool. A browser based tool processes the files on your own device so neither version is uploaded, which keeps confidential documents private.

Ready to try it?

Fill or create a PDF form in your browser, free.

Open the tool