Few things are as frustrating as trying to open an important PDF — a contract, a tax document, a research paper — only to be met with an error message: "The file is damaged and could not be repaired" or "There was an error opening this document. The file is damaged."
Before you give up or pay for expensive recovery software, know this: many corrupted PDFs can be repaired with simple, free methods. This guide walks you through 10 different approaches, starting with the easiest and most likely to work.
What Causes PDF Corruption?
Understanding the cause can help you choose the right repair method. Common causes include:
- Incomplete downloads: The file was still downloading when you tried to open it, or the download was interrupted.
- Storage media errors: Bad sectors on a hard drive, USB drive, or SD card.
- Power failures: The computer shut down while the file was being saved or transferred.
- Virus or malware: Malicious software may have modified or encrypted the file.
- Software bugs: A crash during PDF creation or editing left the file incomplete.
- File system corruption: Issues with the drive's file system (e.g., after an improper shutdown).
- Email issues: Some email clients corrupt attachments, especially large ones.
- Improper file extension: The file was renamed to .pdf but isn't actually a PDF.
Method 1: Try a Different PDF Reader
This is the simplest fix and works more often than you'd think. Different PDF readers have different levels of tolerance for minor corruption. What one reader rejects, another may open without issue.
Try these readers in order:
- Adobe Acrobat Reader — the industry standard, most tolerant of minor issues
- Foxit Reader — lightweight alternative, often opens files Adobe can't
- PDF-XChange Editor — known for handling damaged files well
- Your web browser — Chrome, Edge, and Firefox all have built-in PDF viewers
- Mac Preview — if you have a Mac, Preview is surprisingly robust
If the file opens in one reader but not another, immediately save a new copy from the working reader (File → Save As). This often creates a clean, repaired version.
Method 2: Re-download or Re-copy the File
If the PDF came from the internet or was copied from another device, the corruption may have happened during transfer. Simply re-downloading or re-copying can fix it.
Steps:
- Delete the corrupted copy
- Re-download from the original source, or re-copy from the original device
- Use a wired connection instead of Wi-Fi if possible
- If downloading, try a different browser or a download manager
- Wait for the download to fully complete before opening
Method 3: Check the File Size and Extension
Sometimes the "corruption" is actually a simple file issue:
- File size is 0 KB: The file is empty — it was never properly saved or copied. You'll need to obtain it again from the source.
- Wrong extension: The file might actually be a .doc, .jpg, or .zip that was renamed to .pdf. Try renaming it back to its original extension.
- Partial file: Check the file size against what you expect. A 50-page PDF should be at least a few hundred KB. If it's suspiciously small, it's incomplete.
How to check on Windows: Right-click the file → Properties. On Mac: Ctrl-click → Get Info.
Method 4: Restore from Previous Version or Backup
Windows and Mac both have built-in features that can recover previous versions of files.
Windows: Previous Versions
- Right-click the corrupted PDF → Properties
- Go to the Previous Versions tab
- If any versions are listed, select one and click Restore
- This works if System Protection is enabled and a restore point exists
Windows: File History
- Navigate to the folder containing the PDF
- Click the Home tab → History
- Browse through previous versions and restore a good one
Mac: Time Machine
- Open Time Machine from the menu bar
- Navigate to when the file was working
- Select the file and click Restore
Also check your cloud backups — Google Drive, OneDrive, Dropbox, and iCloud all keep version history for files.
Method 5: Use Adobe Acrobat's Built-in Repair
Adobe Acrobat Reader (free) has a hidden repair feature that can fix many common issues:
- Open Adobe Acrobat Reader
- Go to Help → Repair Installation
- Wait for the repair to complete
- Restart Acrobat and try opening the PDF again
Note: This repairs the Acrobat software itself, not the PDF file directly. But often, what seems like a corrupted PDF is actually a problem with the reader's installation.
Method 6: Extract Pages with Free Tools
If only part of the PDF is corrupted, you may be able to extract the good pages. This works when the file opens partially or when certain pages cause crashes.
Using PDF24 Creator (free, Windows):
- Download and install PDF24 Creator
- Open the tool and select Extract pages
- Add your corrupted PDF
- Try extracting pages in small batches (e.g., 1-10, 11-20, etc.)
- Identify which pages are corrupted and extract the rest
- Merge the good pages back together
Using online tools:
- ILovePDF → Split PDF — try extracting page ranges
- Smallpdf → Split PDF — similar functionality
Method 7: Convert to PostScript and Back
This is a classic repair technique that "rebuilds" the PDF from scratch. It works by converting the PDF to PostScript (a printer language) and then back to PDF, which can fix structural issues.
Using Adobe Acrobat:
- Open the PDF in Acrobat (if it opens at all)
- File → Save As → choose PostScript (.ps)
- Save the .ps file
- Open the .ps file in Acrobat (it will auto-convert to PDF)
- Save the new PDF
Using free tools:
- PDF24 Creator has a "PDF to PS" and "PS to PDF" function
- Ghostscript (advanced users) can do this via command line
Method 8: Use Ghostscript (Advanced)
Ghostscript is a powerful free command-line tool that can repair many PDF issues. It's more technical but very effective.
Steps:
- Download Ghostscript from ghostscript.com
- Install it
- Open Command Prompt (Windows) or Terminal (Mac/Linux)
- Navigate to the folder with your corrupted PDF
- Run this command:
gswin64c -o repaired.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress corrupted.pdf - Replace
corrupted.pdfwith your filename - Check if
repaired.pdfopens correctly
Method 9: Try Online PDF Repair Services
Several websites offer free PDF repair. They upload your file, attempt server-side repair, and let you download the result.
Free options:
- PDF24 Tools (tools.pdf24.org) — has a "Repair PDF" tool, completely free
- ILovePDF — offers repair in some regions
- Sejda — free for files up to 200 pages or 50MB
Paid options (if free doesn't work):
- Stellar Repair for PDF — dedicated repair software, ~$39
- SysTools PDF Recovery — another professional option
- Recovery Toolbox for PDF — online repair, pay per file
Method 10: Recover from Temporary Files
When a PDF is being viewed or edited, many programs create temporary files. If the original was corrupted, a temp copy might still be intact.
Windows temp locations:
C:\Users\[YourName]\AppData\Local\TempC:\Windows\Temp- Adobe temp files often start with
~orADOBE
Mac temp locations:
/tmp~/Library/Caches- Use Terminal:
open $TMPDIR
Look for files with .pdf extension or files that are large enough to be your document. Copy them to a safe location and try opening them.
How to Prevent PDF Corruption in the Future
An ounce of prevention is worth a pound of repair. Follow these best practices:
- Always wait for saves to complete: Don't close the program or eject the drive while a file is being saved.
- Use "Save As" periodically: Instead of relying on auto-save, manually Save As to create fresh copies.
- Keep backups: Use cloud storage (Google Drive, OneDrive) or an external drive.
- Eject drives properly: Always use "Safely Remove Hardware" before unplugging USB drives.
- Use reliable storage: Replace aging hard drives before they fail.
- Don't edit PDFs directly on USB drives: Copy to your computer first, edit, then copy back.
- Verify after transfer: Open a file after copying or downloading to confirm it's intact.
- Use UPS for desktop computers: An uninterruptible power supply prevents corruption from power outages.
When to Give Up (and What to Do Next)
Unfortunately, not every PDF can be repaired. If you've tried all 10 methods and the file still won't open, consider:
- Contact the source: Ask the person who sent or created the PDF to resend it.
- Check email archives: The original attachment might still be in your sent or received folder.
- Look for printouts: If you have a paper copy, you can scan it back in (use OCR to make it searchable).
- Check cloud version history: Google Drive, OneDrive, and Dropbox keep previous versions for 30+ days.
- Professional data recovery: If the file is on a failing drive, a data recovery service might recover it (expensive, $100-$1000+).
Frequently Asked Questions
Q: Can a PDF get a virus?
Yes, PDFs can contain malicious code (JavaScript, embedded files, links). Keep your PDF reader updated, and be cautious with PDFs from unknown senders. Most modern readers block dangerous content by default.
Q: Why does my PDF open but show blank pages?
Blank pages usually mean the content objects are corrupted but the page structure is intact. Try Method 7 (convert to PostScript and back) or Method 8 (Ghostscript), which often rebuilds the content correctly.
Q: Is it safe to use online PDF repair tools?
For non-sensitive documents, reputable tools are generally safe — they delete files within 1-2 hours. For confidential documents, always use desktop tools. Never upload tax returns, medical records, or legal documents to unknown websites.
Q: Can I repair a password-protected corrupted PDF?
You'll need to know the password first. If you know the password, enter it when the repair tool prompts you. If you don't know the password, you'll need to remove it first (only do this for files you own or have permission to access).
Q: How can I tell if a PDF is corrupted before opening it?
Check the file size — if it's 0 KB or suspiciously small, it's likely corrupted. You can also open it in a text editor (like Notepad): a valid PDF should start with %PDF-1. and end with %%EOF. If it starts with garbage text, it's corrupted or not actually a PDF.
Summary
PDF corruption is common but often fixable. Start with the simple methods (different reader, re-download, check file size) before moving to advanced techniques (Ghostscript, PostScript conversion). Always work on a copy, and for sensitive files, prefer desktop tools over online services.
For more PDF tips and tutorials, explore our complete article library.