A download that was interrupted, an email attachment that got cut short, a file that throws errors such as “The file is damaged and could not be repaired” or complains about an invalid “xref” table. In these cases the pages may still be in the file, but the internal index that tells a PDF reader where to find them is broken.
The first method deals with exactly that: it rereads every object in the file, rebuilds the internal cross-reference table (the xref) and saves a clean copy. This is the fix for files damaged in the ways above.
If the page tree is broken, so the PDF opens with no pages or with pages missing, the second method searches the file for every page it contains and rebuilds the list.
The third is a last resort: if the structure can’t be saved, the readable pages are redrawn as images in a new PDF. The text is no longer selectable, but you can get it back with OCR PDF. At the end the tool tells you which method worked and how many pages it recovered.
The tool can’t recover what isn’t in the file: a file cut off halfway loses the missing pages, and a 0-byte file or one that isn’t a PDF can’t be repaired. It doesn’t repair Word or Excel files either. If the PDF has a password, remove it first with Unlock PDF, if you know it.
Before anything else, try downloading the original again or ask the sender to send it once more: a fresh copy is the cleanest fix. And since the repair runs entirely in your browser, the damaged file is never uploaded anywhere.