How to Compare Two PDFs (Mac, iPhone, iPad, Windows)

Compare two PDFs for differences: side by side in Preview, a free word diff on Mac, diff-pdf, Acrobat Pro, Word, Draftable, plus iPad and iPhone steps.

To compare two PDFs, use a tool that marks the differences for you: Compare Files in Adobe Acrobat Pro, a free online comparer such as Draftable, or the free diff-pdf tool on a Mac. Without extra software, open both PDFs side by side (on a Mac choose Window > Move & Resize > Left & Right in Preview; on an iPad tile two windows) and read them in parallel. For contracts, extracting the text of both files and running a word-level diff catches every changed number and word. Scanned PDFs need text recognition (OCR) first.

Updated 7 November 2026. Apple's steps were checked against the Mac and iPad User Guides, Adobe's against its Acrobat pages, Microsoft's against Word support, and Draftable's against its own site, on that date.

Ways to compare two PDFs

MethodPlatformFinds changes for youText or visualCostFile leaves your device
Side by side in PreviewMacNo, you read bothVisual (your eyes)Built inNo
Two tiled windowsiPadNo, you read bothVisual (your eyes)Built inNo
Extract text + word diffMac (Terminal), any computerYesText onlyBuilt in on MacNo
diff-pdfMac, Windows, LinuxYes, highlighted in a PDFVisualFree, open sourceNo
Word CompareWindows, MacYes, as tracked changesText (after converting to Word)Microsoft 365 or OfficeNo (conversion may use Microsoft's service on Mac)
Acrobat Compare FilesWindows, MacYes, with a summary reportText, images, formattingAcrobat ProNo
Draftable OnlineAny browser, incl. iPhoneYes, side by side or redlineTextFree, no signupYes, uploaded

Text comparison vs visual comparison

There are two kinds of difference, and tools are built for one or the other.

  • Text comparison reads the words in both files and lists what was added, deleted or changed. It ignores where the words sit on the page. Use it for contracts, policies, terms and any document where wording matters. It needs a text layer, so scans must be run through OCR first.
  • Visual comparison renders each page and compares the pictures. It catches moved logos, changed images, new colours and shifted margins, and works on scans. It is noisy: when one line is added, every line below it moves and the whole rest of the page shows as changed.

For a lease or a quote, compare text. For a print proof or a design, compare visually.

How to compare two PDFs on Mac

Method 1: Side by side in Preview (built in)

  1. Open both PDFs in Preview. Each opens in its own window.
  2. Click the first window, then choose Window > Move & Resize > Left & Right in the menu bar. Apple's shortcut is Fn-Control-Shift-Left Arrow. The active window fills the left half and the other window the right half.
  3. Alternatively, hold the pointer over the green button in the top-left corner of a window and pick a tiling layout from the menu.
  4. Show the page thumbnails (View > Thumbnails) in both windows and step through page by page.
  5. Use Edit > Find in both windows to jump to the clauses you care about, such as "termination" or an amount.

Window tiling from the Window menu and the green button arrived in macOS Sequoia. On older versions, use Split View (hold the pointer over the green button, choose Full Screen > Left of Screen, then click the other window). For more layouts, see how to view PDFs side by side on Mac.

Method 2: Word-level text diff in Terminal (built in)

This finds every changed word, including a single digit in an amount. It ignores layout and images.

  1. Open the first PDF in Preview, press Command-A, then Command-C.
  2. Open TextEdit, choose Format > Make Plain Text, paste and save as old.txt. Do the same with the second PDF and save it as new.txt in the same folder.
  3. Open Terminal, go to that folder (type cd and drag the folder onto the window), and run git diff --no-index --word-diff old.txt new.txt.
  4. Removed words appear as [-old-] and added words as {+new+}.

We tested this on 7 November 2026 with two versions of a lease sentence. The output was rent of [-1,200-]{+1,250+} dollars and Notice period is [-30-]{+60+} days. The first time you run git, macOS may offer to install the Command Line Developer Tools. The classic diff old.txt new.txt works too but marks whole lines instead of words. If Xcode is installed, opendiff old.txt new.txt opens both files in FileMerge, Apple's graphical diff app.

More ways to get text out: how to extract text from a PDF.

Method 3: diff-pdf (free, visual)

diff-pdf is a free, open-source tool by Václav Slavík for visually comparing two PDFs. Homebrew carries it as diff-pdf (version 0.5.3 on 7 November 2026). Note the hyphen: there is no Homebrew formula named diffpdf, which some older guides tell you to install.

  1. Install Homebrew if you don't have it, then run brew install diff-pdf.
  2. Run diff-pdf --output-diff=diff.pdf old.pdf new.pdf to get a PDF with the differences highlighted.
  3. Or run diff-pdf --view old.pdf new.pdf to open a simple viewer where you step through pages and zoom into differences.

Without options, diff-pdf only returns an exit code: 0 when the files match and 1 when they differ. That makes it useful in scripts that check whether a regenerated PDF changed.

Method 4: Adobe Acrobat Pro

Acrobat's Compare Files tool produces a report of text, image and formatting changes. Adobe's steps, checked 7 November 2026:

  1. Open Acrobat and go to Tools (All tools in the current version), then select Compare Files.
  2. Under Select File on the left, choose the older version.
  3. Under Select File on the right, choose the newer version.
  4. Click Compare. Adobe's help also offers a "Compare text only" option to ignore graphics.
  5. Read the Compare Results summary, then click Go to First Change and step through each difference. You can filter by text, images, annotations or formatting.

Adobe's learning pages say the tool is "available only in Acrobat Pro, Premium, or Studio". Acrobat Standard and the free Reader don't include it. Check Adobe's site for current plan prices.

What the built-in options can't do

  • No built-in Apple tool marks differences. Preview, Files and Quick Look show files side by side, but you have to spot every change yourself.
  • Copied text loses structure. Columns, tables and footnotes may paste in a different order, and the diff then reports changes that aren't real.
  • Scans have no text. Text diffs see nothing until you run OCR. See how to make a PDF searchable.
  • Terminal isn't for everyone, and it's not available on iPhone or iPad.

How to compare two PDFs on iPad

iPadOS 26 and 27 let you place two windows side by side. You can show two PDFs at once and scroll through them together.

  1. Open the first PDF in Files or Preview.
  2. For a second window of Files, touch and hold the Files icon and choose New Window. Apple lists Files among the apps that support multiple windows.
  3. Tile the two windows. In iPadOS 27, touch and hold the window controls at the top-left corner of a window and choose a two-window layout. In both versions, you can also drag a window from the top, hold it briefly and swipe it to one side of the screen, then do the same with the other window to the other side.
  4. Drag the divider to give each PDF half the screen.
  5. Use the search button in each PDF to jump to the same clause or number.

A practical pairing: the old version in Files and the new one in Preview. Pinch to the same zoom level in both so lines match up. With Apple Pencil you can highlight differences as you find them.

How to compare two PDFs on iPhone

iPhone shows one app at a time, so true side-by-side viewing isn't possible. Your options:

  • Use an online comparer in Safari. Draftable Online works in a browser. Read the privacy notes below first.
  • Search both files for key terms. In Preview (iOS 26 and later), open the PDF, tap the search button and type an amount, a date or a clause heading. Repeat in the other file.
  • Switch quickly between the two. Open both from Files and swipe along the bottom edge of the screen to switch between recent apps, or use Preview's Recents list.
  • Wait for a Mac or iPad when the document is long or important. A phone screen is too small for a reliable line-by-line read.

How to compare two PDFs on Windows

Microsoft Word

Word compares two documents and shows the differences as tracked changes. PDFs must be converted first:

  1. Open each PDF from inside Word (File > Open). Word converts it into an editable copy and leaves the original PDF unchanged. Save both copies as .docx.
  2. Open one copy and on the Review tab choose Compare > Compare Documents (the Mac label in Microsoft's guide; Windows shows a similar Compare command).
  3. Pick the original in the Original document list and the other version in the Revised document list, then OK.

Microsoft says the result is "a new copy that is based on the original version" with revision marks, and the originals stay untouched. Microsoft also says PDF-to-Word conversion works best with mostly text. Tables with cell spacing, footnotes spanning pages and page borders may convert badly and show up as false differences.

Acrobat Pro and diff-pdf

Acrobat Pro's Compare Files works the same on Windows as on Mac. diff-pdf has Windows builds on its releases page.

Online PDF comparison tools: the privacy trade-off

Draftable Online is a free web comparer. Upload two files, click Compare, and it highlights the differences side by side with synced scrolling, as a single-page redline, or as a change list. It accepts PDF, Word, Excel, PowerPoint and text, and can compare a PDF against a Word file. There is no signup (Draftable's site, checked 7 November 2026).

What its privacy policy says: uploaded documents are processed on Draftable's servers, each comparison is "protected by a secret URL", "anyone you share the URL with can view the comparison", and comparisons "are deleted after no one has viewed them for a period of time". No exact retention period is given.

That's acceptable for public documents. For an employment contract, medical forms, a settlement or anything under NDA, keep the comparison on your device. See are online PDF editors safe.

Comparing scanned PDFs

  1. Check for text: try to select a word. If you can't, the PDF is a scan.
  2. Run OCR on both files. On Mac, Preview's Embed Text adds a text layer on recent macOS versions. On iPhone with iOS 27, Preview's Export screen has an Embed Text option.
  3. Compare the text with any text method above.
  4. Or compare visually with diff-pdf, which needs no text. Expect noise if the two scans aren't aligned exactly.

OCR errors show up as false changes. Read flagged lines in the original image before you act on them.

What to check in common situations

  • Contract redlines: amounts, dates, notice periods, parties' names, governing law and anything under "termination" or "liability".
  • Lease renewals: rent, deposit, term, renewal and pet clauses.
  • Print proofs: a visual compare against the approved proof, at full zoom.
  • Policy updates: a text compare, then read every changed paragraph in context.
  • Before sending: compare your final PDF with the version the other side approved so nothing slipped in.

Troubleshooting

The diff shows the whole document as changed

Line breaks differ between the two text extracts. In TextEdit, remove the line breaks inside paragraphs in both files, or compare one paragraph at a time. The word-level diff then marks only the changed words.

Every line after an insertion shows as different in a visual compare

That's how visual comparison works: added text pushes everything below it down. Switch to a text comparison for wording changes.

I can't copy text from one of the PDFs

It's a scan, or copying is restricted. Run OCR for scans. For a protected PDF, ask the sender for an unprotected version or remove the password if you know it.

Acrobat doesn't show Compare Files

Your plan is Acrobat Standard or the free Reader. Adobe lists the tool for Acrobat Pro, Premium and Studio only.

brew install diffpdf fails

The formula is called diff-pdf, with a hyphen.

Word's comparison is full of formatting changes

The two PDFs converted differently. In the Compare dialog's settings, turn off formatting so only content changes show.

PDF Opus: the best app for comparing PDFs (top pick)

The best app for comparing PDFs is PDF Opus. Compare two PDFs and get a change report. The comparison works word by word and line by line, aligns pages, detects changed images and drawings, and adds review annotations, with a Markdown or HTML report you can keep. Your documents are processed on your device. The app only goes online for purchases, licence checks (direct version) and update checks (direct version).

Know the limits: text that reflows onto another page shows as a deletion plus an insertion, annotations and form fields aren't compared, and font or colour changes aren't reported. For scans, make scanned PDFs searchable on your device with Apple Vision first; the original image stays unchanged.

Frequently asked questions

How do I compare two PDFs for differences?

Use a comparison tool that highlights changes: Acrobat Pro's Compare Files, Draftable Online, diff-pdf, or a word-level text diff of both files' text. Side-by-side viewing in Preview works for short documents.

Can I compare two PDFs in Preview on Mac?

Only by eye. Tile both windows with Window > Move & Resize > Left & Right and read them together. Preview has no tool that marks differences.

How do I compare two PDFs for free?

On a Mac, extract the text and run git diff --no-index --word-diff, or install diff-pdf with Homebrew. In a browser, Draftable Online is free, but it uploads your files.

Does Adobe Acrobat Reader compare PDFs?

No. Adobe lists Compare Files for Acrobat Pro, Premium and Studio.

Can I compare two PDFs on iPhone?

Not side by side. Use an online comparer in Safari, or search both files for the key terms. An iPad can show two PDFs next to each other.

Can I compare a PDF with a Word document?

Yes. Convert the PDF to Word and use Word's Compare, or upload both to Draftable, which compares across formats. See how to convert PDF to Word.

How do I compare two scanned PDFs?

Run OCR on both and compare the text, or compare the pages visually with diff-pdf.

Is it safe to compare PDFs online?

For public files, yes. For confidential ones, no: the files go to the service's servers, and Draftable's comparisons can be viewed by anyone with the link.

What is the difference between comparing text and comparing visually?

Text comparison lists changed words and ignores layout. Visual comparison finds any change on the page, including images and spacing, but flags a lot of noise when text moves.