You open a contract from an email or an old saved document and get “The file is damaged and could not be repaired” or “There was an error opening this document”. That message does not always mean the contents are gone. The download may have been cut off, or the file may never have been a PDF. The fix depends on the cause, so work through the checks below in order.
One-minute checks
- Work on a copy. If you overwrite the original while experimenting, there is no way back.
- Try another program. Drag the file into a Chrome or Edge window. If it opens there, the problem is more likely your usual PDF viewer than the file. Update or reinstall the viewer.
- Look at the file size. A 0 KB file has nothing in it to repair. If it is smaller than the sender’s copy, the transfer was cut off.
- Download it again if you can. That beats any repair. Wait for the download to finish and open the saved file, not the preview inside the email.
What the symptom suggests
| Symptom | Likely cause | What to do |
|---|---|---|
| Size is 0 KB | Saving or sending failed | Get it again; it can’t be repaired |
| Smaller than the original | Download was cut off | Download again, otherwise repair |
| Only a few KB, downloaded from a website | Your login expired and a notice page was saved with a .pdf name | Sign in again and download |
| It asks for a password | Not damaged, just protected | Look for the password in the sender’s instructions |
| Opens in a browser, but an upload form rejects it | Slightly broken file structure, or a size or password rule | Check the rules, then repair and upload again |
| Several files from one USB stick fail | The storage device | Copy your other files somewhere safe first |
Is it really a PDF?
On Windows, open the file in Notepad and look at the very beginning. A normal PDF usually starts with %PDF-, for example %PDF-1.7. Unreadable characters after that are normal. Just look, then close it without saving: saving from Notepad can ruin a healthy PDF.
- If it starts with
<!DOCTYPE html>or<html, it is a web page. Sign in to the site again and download the real file. - If it starts with
PK, it is probably a Word or Excel document (DOCX, XLSX) or a ZIP. Ask the sender what the original format was. - If you see
PNGorJFIFnear the start, it is a picture.
Files like these are not damaged, so repairing them as a PDF will not help.
Save the pages that are left
If you can’t get the file again, try Repair PDF.
- Drop in the PDF that will not open. Files up to 200 MB work.
- Click “Convert”. The pages left in the file are found and saved into a new PDF.
- Download the file ending in
-repairedand check the page count and the last page first. Your original is not changed.
The tool first tries to keep the original content and save it again. If that finds too few pages, it carries over the pages it can display as images. If you can’t select the text in the result, that is what happened; run Scanned PDF to text (OCR) if you need the words. If the file has grown, use Compress PDF.
Everything happens inside your browser and the file is not uploaded.
What can and can’t be recovered
- Usually works: only the index at the end of the file (the list of where each page is) is broken, or a little of the end is missing.
- Sometimes works in part: the download stopped about halfway. You may get only the pages in the part that arrived, and with some files none at all.
- Does not work: 0 KB files, files whose contents were overwritten with other data, and password-protected files.
The repaired file is a new PDF with the pages moved into it, so bookmarks are dropped and fillable fields may stop working. Digital signatures are no longer valid either. For signed contracts and certificates whose authenticity matters, don’t submit a repaired copy; ask the issuer for a new one.
Keeping it from happening again
- Eject USB sticks before pulling them out. Removing one while it is saving is a common cause of broken files.
- On a phone, wait for the “download complete” notice before opening a large PDF.
- When you send an important document, tell the other person the page count or file size so a cut-off transfer is noticed right away.
- Keep contracts and records in two different places, such as your computer and a cloud drive.