Back to Learning Center

How to Fix Corrupted PDFs: Recovery and Repair Guide

PDF won't open or displays errors? Learn how to repair corrupted PDF files, recover your data, and prevent future corruption issues.

PDF Smaller Team
8 min read
pdf repaircorrupted pdftroubleshootingfile recovery

How to Fix Corrupted PDFs: Recovery and Repair Guide

You double-click your PDF. Nothing happens. Or worse, you get an error: "This file is damaged and could not be repaired."

Cool. Great. Just what you needed today.

Before you panic and assume your file is toast, try these fixes. Most corrupted PDFs can be saved.

Signs Your PDF is Corrupted

Obvious signs:

  • PDF won't open at all
  • Error messages: "File is damaged," "Cannot be repaired," "Invalid format"
  • PDF opens but shows blank pages
  • Text is garbled or displays as symbols
  • Images are missing or distorted

Subtle signs:

  • PDF opens but crashes when scrolling
  • Specific pages won't display
  • Printing fails with errors
  • File size is 0 KB or suspiciously small

If you see any of these, your PDF is probably corrupted.

Why PDFs Get Corrupted

Understanding the cause helps prevent it happening again:

1. Incomplete Downloads

What happened: Download was interrupted (internet cut out, browser crashed).

Result: You got 80% of the file. The missing 20% breaks everything.

How to tell: File size is smaller than expected.

2. Storage Device Errors

What happened: Hard drive, USB drive, or SD card has bad sectors.

Result: Data written to disk got scrambled.

How to tell: Other files on the same drive might also be corrupted.

3. Unexpected Shutdowns

What happened: Power outage or forced restart while file was open.

Result: PDF wasn't properly saved, leaving it in an inconsistent state.

How to tell: File was recently opened/edited before the shutdown.

4. File Transfer Issues

What happened: Corruption during email, FTP, or cloud sync.

Result: Bits got flipped during transmission.

How to tell: File worked fine on one computer but not another.

5. Software Bugs

What happened: The program that created or edited the PDF had a bug.

Result: Malformed PDF structure.

How to tell: Other PDFs from the same source might have issues.

6. Virus or Malware

What happened: Malicious software altered the file.

Result: Corrupted or intentionally damaged PDF.

How to tell: Antivirus software flags the file.

Quick Fixes to Try First

Before diving into repair tools, try these simple fixes:

Fix 1: Try a Different PDF Reader

Why it works: Sometimes the PDF is fine, but your reader is the problem.

Try these:

  • Adobe Acrobat Reader (the official standard)
  • Chrome/Edge browser (built-in PDF viewer)
  • Firefox PDF viewer
  • Preview (Mac)
  • Foxit Reader

If one reader fails, another might succeed.

Fix 2: Re-Download the File

If you downloaded it:

  1. Delete the corrupted file
  2. Clear your browser cache
  3. Download again from the original source

Why it works: If the download was interrupted, a fresh download might be perfect.

Fix 3: Request the File Again

If someone sent it to you:

  • Ask them to resend it
  • Try a different file transfer method (email → cloud storage, or vice versa)

Why it works: Corruption might have occurred during transmission.

Fix 4: Check for Backups

Possible backup locations:

  • Cloud storage auto-backups (Dropbox, Google Drive)
  • Your computer's backup system (Time Machine on Mac, File History on Windows)
  • Email attachments (if it was sent to you)
  • Recycle Bin/Trash (maybe an uncorrupted version was deleted)

Why it works: You might have an uncorrupted version you forgot about.

Advanced Repair Methods

If simple fixes didn't work, it's time for repair tools.

Method 1: Use Our Repair Tool

Our PDF repair tool attempts to fix common corruption issues:

Step 1: Go to PDF Smaller's Repair Tool

Step 2: Upload your corrupted PDF

Step 3: Click "Repair PDF"

Step 4: Download the repaired file

What it fixes:

  • Malformed PDF structure
  • Missing file headers
  • Broken cross-reference tables
  • Damaged metadata
  • Invalid object streams

Success rate: 60-80% for moderately corrupted files

Limitations: Can't recover completely destroyed data, but can often salvage readable content.

Method 2: Open and Re-Save in a Different Program

How to do it:

  1. Open corrupted PDF in Chrome or Firefox browser
  2. If it opens (even partially), print to PDF
  3. Save as a new PDF file

Why it works: The browser's PDF engine might tolerate errors and reconstruct a valid PDF from the damaged one.

Variations:

  • Open in Adobe Acrobat → Save As → new file
  • Open in Mac Preview → Export as PDF
  • Open in any PDF reader → Print to PDF

Method 3: Use Adobe Acrobat's Built-In Repair

If you have Adobe Acrobat Pro:

  1. Open the corrupted PDF
  2. If it prompts to repair, click "Yes"
  3. If no prompt, go to File → Save As and choose a new name

Adobe's repair is pretty good - it's designed to handle malformed PDFs.

Method 4: Command Line Repair with QPDF

For tech-savvy users:

Install QPDF:

  • Mac: brew install qpdf
  • Windows: Download from qpdf.sourceforge.io
  • Linux: sudo apt install qpdf

Repair command:

qpdf --check corrupted.pdf
qpdf --qdf corrupted.pdf repaired.pdf

What it does: Attempts to reconstruct a valid PDF structure.

Method 5: Extract Text and Images Manually

When all else fails:

For text:

  1. Open the corrupted PDF in a browser
  2. If any text displays, select and copy it
  3. Paste into a text editor
  4. Create a new PDF from the text

For images:

  • Use a tool like "pdfimages" to extract any recoverable images
  • Rebuild the document manually

This is a last resort - it's tedious but might save critical content.

Prevention: How to Avoid Corruption

Best practices:

1. Use Reliable Storage

  • Don't store important files on failing drives
  • Regularly check drive health (use SMART monitoring tools)
  • Use cloud storage with versioning (Google Drive, Dropbox)

2. Complete Downloads Properly

  • Don't interrupt downloads
  • Verify file size matches what's expected
  • Use a download manager for large files

3. Backup Regularly

  • 3-2-1 rule: 3 copies, 2 different media types, 1 off-site
  • Automate backups (Time Machine, Backblaze, etc.)
  • Periodically test that backups actually work

4. Safely Handle Files

  • Don't force-quit programs while saving PDFs
  • Use "Save As" instead of overwriting important files
  • Close PDFs properly before shutting down

5. Keep Software Updated

  • Update PDF readers regularly
  • Use reputable PDF creation tools
  • Scan for malware regularly

6. Validate Critical PDFs

After creating important PDFs:

  1. Close and reopen to verify they work
  2. Check file size is reasonable
  3. Test opening on a different device

When Repair Isn't Possible

Sometimes a PDF is truly unrecoverable:

  • File is 0 KB (no data to recover)
  • More than 50% of data is missing
  • Encrypted and password is lost
  • Severe physical drive damage

If repair fails:

  1. Check backups thoroughly
  2. Contact the original creator for a new copy
  3. If it's a purchased document, contact support for re-download
  4. Accept the loss and recreate if necessary

Learn from it: Implement better backup practices going forward.

Special Case: Password-Protected Corrupted PDFs

The worst-case scenario: PDF is both corrupted AND password-protected.

Options:

  1. Try unlocking the PDF first (if you have the password)
  2. Then attempt repair
  3. If unlocking fails, the file is likely unrecoverable

Reality check: Encrypted corrupted files are nearly impossible to fix without the password and a working encryption structure.

File Size After Repair

Expect changes:

  • Repaired PDF might be smaller (lost some embedded data)
  • Or larger (repair tool added padding/structure)
  • Or the same (lucky you!)

If repaired file is much larger:

  • Compress it to optimize size
  • Compression can also fix minor structural issues

Success Rates by Corruption Type

High success (80-95%):

  • Incomplete downloads
  • Minor transfer errors
  • Malformed metadata
  • Broken bookmarks

Medium success (50-80%):

  • Damaged object streams
  • Missing fonts
  • Partial page data loss
  • Software bugs

Low success (10-40%):

  • Severe storage device failure
  • Multiple corruption sources
  • Virus damage
  • Large sections of missing data

Zero success:

  • File is 0 KB
  • Encrypted with unknown password + corruption
  • Complete data destruction

The Bottom Line

If your PDF is corrupted:

  1. Try opening in different PDF readers
  2. Re-download if possible
  3. Check for backups
  4. Use our PDF repair tool
  5. Try browser print-to-PDF method
  6. Extract content manually if needed

Prevention is key:

  • Regular backups (3-2-1 rule)
  • Reliable storage
  • Safe file handling
  • Complete downloads properly

Success rates:

  • Most corruption is fixable (60-80% success)
  • Severe corruption is harder (10-40% success)
  • 0 KB files are unrecoverable

Ready to fix your corrupted PDF?

Repair Your PDF Now →

Free repair. Browser-based. No uploads.


Last updated: December 17, 2025

Ready to try it yourself?

Put what you learned into practice with our free tools.

Related Articles