Repair a PDF that will not open MEND
Most broken PDFs still hold their pages and have lost the index to them. This finds the pages still whole and writes the file out again with a new index, in this tab. What “the file is damaged” means.
The damaged PDF
What is wrong with it
The repaired PDF
Questions people ask about MEND
What kind of damage can it repair?
The common kinds: an index at the end that points to the wrong places, a file that was cut short in downloading, bytes added before the start by an email program or a server, a missing trailer, and a broken list of pages. In each case the pages that are still in the file are found and kept, with their text.
What can it not repair?
Anything that is not in the file any more. If a download stopped halfway, the pages after that point are gone, and the result says how many could not be recovered. An encrypted PDF cannot be rebuilt without its password.
Why does it offer to turn the pages into pictures?
As a last resort, for a file whose objects cannot be read at all but which a forgiving reader can still partly draw. The pictures keep how each page looks; the text is lost, though OPTIC can read it back.
How do I know the repair worked?
Before and after, the file is opened by pdf.js and every page it lists is drawn; the result gives both counts. Look through the result before you rely on it.
Is the PDF uploaded?
No. It is read and rebuilt by pdf-lib, and checked with pdf.js, both loaded from this site, in your browser tab.
Doing this often? PDF Studio reads damaged scans with OCR, straightens them, and runs the same clean-up across a whole batch. On its own, US$2 a month; with everything else, US$5 a month or US$48 a year.