Cover illustration

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.

Important: Always work on a copy of your corrupted file. Never attempt repairs on the only copy — if something goes wrong, you could make it worse. Create a duplicate first, then try the methods below.

What Causes PDF Corruption?

Understanding the cause can help you choose the right repair method. Common causes include:

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:

  1. Adobe Acrobat Reader — the industry standard, most tolerant of minor issues
  2. Foxit Reader — lightweight alternative, often opens files Adobe can't
  3. PDF-XChange Editor — known for handling damaged files well
  4. Your web browser — Chrome, Edge, and Firefox all have built-in PDF viewers
  5. 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:

  1. Delete the corrupted copy
  2. Re-download from the original source, or re-copy from the original device
  3. Use a wired connection instead of Wi-Fi if possible
  4. If downloading, try a different browser or a download manager
  5. Wait for the download to fully complete before opening
Pro Tip: If the file was emailed to you, ask the sender to compress it into a ZIP file before resending. ZIP files include error-checking that can prevent corruption during email transfer.

Method 3: Check the File Size and Extension

Sometimes the "corruption" is actually a simple file issue:

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

  1. Right-click the corrupted PDF → Properties
  2. Go to the Previous Versions tab
  3. If any versions are listed, select one and click Restore
  4. This works if System Protection is enabled and a restore point exists

Windows: File History

  1. Navigate to the folder containing the PDF
  2. Click the Home tab → History
  3. Browse through previous versions and restore a good one

Mac: Time Machine

  1. Open Time Machine from the menu bar
  2. Navigate to when the file was working
  3. 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:

  1. Open Adobe Acrobat Reader
  2. Go to Help → Repair Installation
  3. Wait for the repair to complete
  4. 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):

  1. Download and install PDF24 Creator
  2. Open the tool and select Extract pages
  3. Add your corrupted PDF
  4. Try extracting pages in small batches (e.g., 1-10, 11-20, etc.)
  5. Identify which pages are corrupted and extract the rest
  6. Merge the good pages back together

Using online tools:

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:

  1. Open the PDF in Acrobat (if it opens at all)
  2. File → Save As → choose PostScript (.ps)
  3. Save the .ps file
  4. Open the .ps file in Acrobat (it will auto-convert to PDF)
  5. Save the new PDF

Using free tools:

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:

  1. Download Ghostscript from ghostscript.com
  2. Install it
  3. Open Command Prompt (Windows) or Terminal (Mac/Linux)
  4. Navigate to the folder with your corrupted PDF
  5. Run this command:
    gswin64c -o repaired.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress corrupted.pdf
  6. Replace corrupted.pdf with your filename
  7. Check if repaired.pdf opens correctly
What this does: Ghostscript reads the corrupted PDF and writes a fresh, clean version. It often fixes structural problems like broken cross-reference tables, missing objects, and invalid syntax.

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:

Paid options (if free doesn't work):

Privacy Note: Do not upload sensitive documents (tax returns, medical records, contracts with personal info) to online repair services. Use desktop tools instead for confidential files.

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:

Mac temp locations:

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:

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:

  1. Contact the source: Ask the person who sent or created the PDF to resend it.
  2. Check email archives: The original attachment might still be in your sent or received folder.
  3. Look for printouts: If you have a paper copy, you can scan it back in (use OCR to make it searchable).
  4. Check cloud version history: Google Drive, OneDrive, and Dropbox keep previous versions for 30+ days.
  5. 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.