Signs that a PDF is damaged
- A reader says the file is damaged, cannot be opened, or "There was an error opening this document".
- Some pages are blank, or images and text are missing.
- The file opens in one program but not in another.
- Other tools, such as merge or convert, fail with this file only.
- The file was cut off during a download or an email transfer, so it is smaller than it should be.
Why PDF files break
A PDF is a structured file. At its end there is a table that tells the reader where each page, font and image is stored. If that table is wrong or missing, many readers give up, even though most of the content is still there. This happens when a download is interrupted, when a program crashes while saving, when a file is copied from a failing USB stick or memory card, or when a tool writes a file that does not follow the PDF standard.
How the repair works
The first step runs in your browser. qpdf, an open-source PDF library, reads the file and writes it again, which fixes many problems on its own. If qpdf cannot read the file, a second library scans it object by object and rebuilds the structure, and qpdf then writes a clean, standard PDF. This fixes the most common problems, and your file stays on your device. The result note says what happened: no damage found, the number of problems fixed, or a rebuilt structure, and how many pages were recovered.
If this is not enough, you can send the file to our server for a second, stronger attempt. There, other open-source PDF engines read the content again, page by page, and write a new file from it. The file is sent over an encrypted HTTPS connection and deleted right after the repair; the result is kept for 15 minutes at most.
What can and cannot be recovered
Repair can only save data that is still in the file. If a download stopped at 60 percent, the missing 40 percent cannot be restored, and the last pages may stay blank or missing. Encrypted files need the correct password. A file that is not really a PDF, for example a renamed Word file or an HTML error page saved with a .pdf extension, cannot be repaired as a PDF. In that case, check the original source and download the file again.
Bookmarks, links and form fields are kept when they can still be read. If the damaged part of the file held them, the repaired PDF may lose them, even though the pages themselves look fine.
After a successful repair, it is a good idea to save the document in a safe place and to keep the original damaged file too, in case you want to try another program later.
Next steps
A repaired PDF works with all other tools. You can compress it, merge it with other files, or convert it with PDF to Word. If the file opens but is slow on the web, Optimize PDF for Web makes it load page by page.