File Repairer
Windows 10 & 11 Buy license · $29.95
PDF files

How to repair a corrupted PDF file that won't open

PDF says the file is damaged and could not be repaired? Learn the quick fixes, why PDFs break, and how to recover the pages when nothing opens it.

Updated 5 minute read The File Repairer team

To repair a corrupted PDF, first get a fresh copy (re-download it or ask the sender to resend it), because most "damaged" PDFs are simply incomplete downloads or attachments. Then try opening it in a different viewer, such as Microsoft Edge or another browser, and check for an earlier version in OneDrive or Previous Versions. If a viewer can open it, print or save it to a new PDF. If nothing opens it, a PDF repair tool can rebuild the file's structure and recover the pages, text and images that are still there.

Typical messages include Adobe Acrobat Reader's There was an error opening this document. The file is damaged and could not be repaired, There was an error processing a page, or a browser's Failed to load PDF document. The steps below work for all of them on Windows 10 and Windows 11.

Why PDF files get corrupted

A PDF is made of numbered objects (pages, fonts, images and text streams), followed by a cross-reference table that tells the reader where each object starts, and a short trailer at the very end. Readers usually jump to the end first to find that table. So if the end of the file is missing, the reader can fail even though most of the pages are intact.

CauseWhat goes wrong
Interrupted download or email attachmentThe file is cut short, so the trailer and cross-reference table are missing
Crash or power cut while savingObjects are half written or the table points to the wrong places
File transferred in text modeSome old FTP setups and scripts alter line endings and break binary data
Failing drive, USB stick or memory cardRandom blocks of the file are unreadable or replaced with zeros
Data recovery from a formatted or crashed drivePieces from other files are stitched in
Wrong file typeA web page or error message was saved with a .pdf name

For more on causes and how to avoid them, see why files get corrupted.

Step 1: Check the file and get a fresh copy

  1. Check the size. Right-click the PDF and choose Properties. A 0 KB file is empty. A file much smaller than expected was almost certainly cut off.
  2. Check it is really a PDF. Open a copy in Notepad. The first line of a real PDF starts with %PDF- followed by a version number. If you see <html or an error message instead, you downloaded a web page, not the document. A complete PDF normally ends with %%EOF near the bottom.
  3. Get it again. Re-download from the original link, save the email attachment again, or ask the sender for a new copy. If you can, try a different browser or save it straight to your Downloads folder rather than opening it in place.

Step 2: Try another viewer

Different PDF readers handle damage differently. A file one reader refuses may open in another.

  • Microsoft Edge. Right-click the PDF and choose Open with > Microsoft Edge. Edge's built-in viewer is installed on every Windows 10 and 11 PC.
  • Another browser. Chrome and Firefox also have built-in PDF viewers. Drag the PDF into a browser window.
  • Adobe Acrobat Reader. Make sure it is up to date via Help > Check for updates (or the menu in newer versions). Reader quietly fixes some minor damage when it opens a file.

If any viewer opens the document, save a clean copy immediately. Use its print option and choose Microsoft Print to PDF as the printer. This creates a brand-new PDF from what the viewer could display. The new copy usually loses links, bookmarks and form fields, and its text may not be selectable, but the pages are safe.

Step 3: Restore an earlier version

  • OneDrive or SharePoint: right-click the file and choose Version history.
  • Previous Versions: right-click the file, choose Properties and open the Previous Versions tab. This only lists copies if File History or restore points covered the folder.
  • The source document: if you made the PDF from Word or another program, export it again from the original.

Step 4: Repair the PDF with File Repairer

When no viewer can open the PDF and there is no other copy, it needs repairing. File Repairer fixes PDFs that show errors, display blank pages or won't open at all, and recovers the pages, text and images that are still in the file.

  1. Drag the PDF, or a whole folder of them, into File Repairer.
  2. Click Repair All. Each file gets a result: Repaired, Partly repaired, No damage found or Failed.
  3. Preview the recovered pages and check the "what was recovered" panel.
  4. Save the repaired copy. It is saved with " (repaired)" in the name, to a folder you choose or a "Repaired" folder next to the original. Your original is never changed or overwritten.

Checking, repairing and previewing are free, so you can see what comes back before deciding anything. Everything runs on your own PC; your PDFs are never uploaded, which matters for contracts, statements and anything confidential. If you have a folder of PDFs and don't know which are damaged, Tools > Check Files for Damage marks each one without changing anything.

What can and can't be recovered

Be realistic about the outcome:

  • Truncated files (cut off during download) usually recover every page up to the point where the data stops. Pages after that point were never received and can't be rebuilt. A fresh download is the only way to get them.
  • Files with scattered damage usually recover most pages; a damaged image or page may come back partly.
  • Password-protected or encrypted PDFs are a separate matter. File Repairer doesn't remove passwords or break encryption, and you need the password to open them.
  • Deleted PDFs need data recovery software first. File Repairer repairs files; it doesn't recover deleted ones or read failing drives.

If the PDF opens but some or all pages are white, the cause may be the viewer rather than the file. See why a PDF opens with blank pages before repairing.

If your PDFs came back from a data recovery tool and many of them won't open, the guide on recovered files that won't open explains how to check and repair them in bulk. For the full list of formats File Repairer handles, see the supported file types.

Frequently asked questions

Why does Adobe Reader say the file is damaged and could not be repaired?

Reader tries to fix small problems automatically, and shows this message when the damage is beyond what it can handle. The most common cause is a download or attachment that was cut short.

Is it safe to use an online PDF repair site?

Online services require you to upload the document, which may not suit contracts or personal records. File Repairer runs entirely on your PC and never uploads your files.

Can a repair recover missing pages from a cut-off PDF?

Pages that were never downloaded aren't in the file, so no tool can rebuild them. The pages before the cut-off can usually be recovered, and a fresh download gets the rest.

Get three guides like this every month, plus software update notices.Subscribe →