How to Compare Two PDFs Side by Side: Free Diff Tools
Learn how to compare two PDF files side by side. Find differences between PDF documents with free online tools and desktop methods.
You have two versions of a PDF and you need to know what changed. Maybe it's a contract that came back with "minor revisions." Maybe it's a design proof with tweaks you need to verify. Maybe someone swears they didn't change anything but you don't trust them.
Scrolling back and forth between two PDFs trying to spot differences is miserable. Your eyes glaze over. You miss things. By the tenth page, you're just pretending to check.
There's a better way. Free PDF comparison tools can automatically detect differences between two documents — text changes, image swaps, moved elements, even subtle formatting shifts. Here's how to do it.
What Can PDF Comparison Detect?
Good PDF diff tools catch more than just text changes. Here's what they can find:
- Text changes: Added, removed, or modified words, sentences, and paragraphs.
- Formatting changes: Font size, style, color, and alignment differences.
- Image changes: Swapped, resized, repositioned, or removed images.
- Layout changes: Moved elements, resized objects, shifted margins.
- Page-level changes: Added or removed pages, reordered content.
- Annotation changes: Added, removed, or modified comments and markup.
The depth of comparison depends on the tool. Simple side-by-side viewers show visual differences. Advanced diff engines parse the actual PDF structure.
Free Methods to Compare PDFs
1. Browser-Based Comparison Tools (Fastest)
The quickest way to compare two PDFs is right in your browser. Online comparison tools let you upload both files and instantly see the differences highlighted.
Here's how it works:
- Open the comparison tool in your browser
- Upload both PDF files (the original and the modified version)
- The tool processes both files locally — nothing goes to a server
- View the results: added text highlighted in green, removed text in red, changes in yellow
- Download or screenshot the comparison for your records
This takes under a minute for most documents. The comparison happens entirely in your browser, which means your confidential contracts and sensitive documents stay private.
2. Side-by-Side View in Adobe Reader (Free Version)
Adobe Acrobat Reader has a basic comparison feature in its free version. It's not as full-featured as the Pro version, but you can open two PDFs side by side and manually compare them.
- Open both PDFs in Adobe Reader
- Go to Window → Tile → Horizontally (or Vertically)
- Both documents appear side by side
- Scroll through both simultaneously to spot differences
This is manual comparison — you're relying on your eyes. But the synchronized scrolling makes it much easier than tabbing between separate windows.
3. DiffPDF (Free Desktop Software)
DiffPDF is a free, open-source tool specifically designed for comparing PDFs. It's available for Windows, Mac, and Linux.
DiffPDF offers three comparison modes:
- Appearance mode: Compares the visual appearance of each page, pixel by pixel. Catches any visual difference regardless of what caused it.
- Text mode: Compares the text content word by word. Shows exactly which words were added, removed, or changed.
- Annotation mode: Focuses on differences in annotations, comments, and form fields.
For contract review, text mode is most useful. For design proofs, appearance mode catches visual changes that text comparison would miss.
4. Mac Preview + Quick Look
Mac users can compare PDFs using built-in tools. Select both files in Finder, press Space to open Quick Look, then click the grid view icon. Both PDFs display side by side.
For a more detailed comparison, open both PDFs in Preview. Use the thumbnail sidebar to navigate to the same page in each document, then arrange the windows side by side. It's manual but works well for short documents.
5. Command Line: diff and pdftotext
For text-focused comparison, you can extract text from both PDFs and use the standard Unix diff command:
- Install
poppler-utils(Linux/Mac) orxpdf(Windows) - Extract text:
pdftotext file1.pdf file1.txtandpdftotext file2.pdf file2.txt - Compare:
diff file1.txt file2.txt
This gives you a plain-text diff — fast, precise, and easy to pipe into other tools. It won't catch visual or formatting changes, but for text-only comparison, it's hard to beat. Use diff --side-by-side or diff --unified for more readable output.
What to Look For When Comparing PDFs
Contract and Legal Document Review
When reviewing contracts, pay special attention to:
- Numbers and dates: A changed digit or date can completely alter an agreement. Comparison tools sometimes miss these in dense paragraphs.
- Defined terms: Watch for subtle changes to definitions in the opening sections. Changing "Employee" to "Contractor" is a massive difference.
- Obligations and conditions: "Shall" vs. "may," "and" vs. "or" — single word changes can shift obligations dramatically.
- Signature blocks: Check that the signing parties, titles, and dates match expectations.
Design and Marketing Proofs
For visual documents, focus on:
- Typography: Font changes, size adjustments, spacing differences.
- Colors: Even slight color shifts matter for brand materials.
- Image placement: Cropped, moved, or swapped images.
- Alignment: Text and element positioning relative to margins and other objects.
Academic and Research Papers
When comparing revised papers or thesis drafts:
- Citations and references: Added, removed, or modified references.
- Data and statistics: Changed numbers in tables, charts, or results sections.
- Methodology changes: Even small edits to methods sections can affect the paper's conclusions.
Advanced Comparison Techniques
Comparing Specific Pages
If you know only certain pages changed (like an updated pricing table or revised terms section), extract just those pages before comparing. This gives you cleaner, faster results without noise from unchanged pages.
Comparing Scanned PDFs
Scanned PDFs are images, not text. Standard text comparison won't work. You need:
- Run OCR on both scanned PDFs to extract text
- Compare the extracted text using any diff tool
- For visual differences, use pixel-based comparison (like DiffPDF's appearance mode)
Comparing More Than Two Versions
Some tools support comparing multiple document versions in sequence. This is useful for tracking changes across several rounds of revisions. Compare v1 to v2, then v2 to v3, to build a complete change history.
Common Comparison Problems
False Positives
Tools sometimes flag differences that aren't meaningful — like invisible metadata changes, font embedding differences, or whitespace variations. Focus on content changes, not structural noise.
Missing Subtle Changes
Very small text changes (a period added, a space removed) can be hard to spot in visual comparisons. Run both text and visual comparisons for thorough review.
Reordered Pages
If pages were moved or rearranged, page-by-page comparison gets confused. Check the page order first, then compare matching pages.
Encrypted or Protected PDFs
Password-protected or DRM-locked PDFs can't be compared by most tools. You'll need to remove the protection first (if you have the right to do so).
Choosing the Right Tool for Your Situation
- Quick contract review: Browser-based comparison tool. Fast, visual, no installation needed.
- Detailed text analysis: DiffPDF in text mode or command-line pdftotext + diff. Precise, word-by-word comparison.
- Design proof review: DiffPDF in appearance mode or browser tool with visual overlay. Catches every visual change.
- Batch comparison: Command-line tools with shell scripting. Automate comparison of multiple document pairs.
- Scanned documents: OCR first, then text comparison. Or use pixel-based visual comparison.
Best Practices for Document Comparison
- Always keep versioned copies: Never overwrite the original. Name files clearly (contract_v1.pdf, contract_v2.pdf) so you always know which is which.
- Compare before signing: Always compare the final version you're asked to sign with the version you agreed to. Don't trust that "nothing changed."
- Save the comparison output: Keep a record of what was different. Screenshot the results or save the diff report. If a dispute arises later, you have documentation.
- Verify page counts: If the new version has a different number of pages, something was added or removed. That's an immediate red flag.
- Use redline mode when available: Some tools show changes inline with strike-throughs and underlines, like Microsoft Word's Track Changes. This is the most intuitive way to review edits.
The Bottom Line
Manually comparing PDFs by eyeballing two screens is a waste of time and a recipe for missed changes. Free tools — whether browser-based for convenience, desktop software for power, or command-line for automation — do the heavy lifting for you.
Next time someone sends you a "revised" document, don't just trust that only what they mentioned changed. Run a comparison. You'll be surprised how often there's more going on than meets the eye.