A damaged PDF, read part by part.
Repair a damaged PDF in your browser, nothing is uploaded: its parts are found by reading the file through and written again, and you are told what was found.
By Suraj Kumar4 min read
A PDF that came from a broken download, a full disk or a program that stopped halfway often still holds its pages. What breaks is usually the table at its end that says where each part of the file is. Here is what can be brought back, what cannot, and how to tell the two apart.
What usually breaks in a PDF.
A PDF is a list of numbered parts (pages, fonts, pictures) and, at its end, a table that gives the place of every part in bytes. A reader jumps from the table to the part it needs. When the end of the file is cut off, or bytes were added or lost in the middle, the table points at the wrong places and many readers give up.
The parts themselves are often all there. A reader that is willing to go through the file from its first byte can find each part by its number and build the table again. That is what Repair PDF does, with the same PDF engine that opens files in the PDF merger.
Repair a PDF.
Open Repair PDF and drop the file. Its row says whether the table was broken and how many pages were found. Press Repair and save: every page that was found is written into a new file, in order, with a sound table, and its links and bookmarks come along.
Before the copy is offered, it is opened again on its own. It must open without any repair and have every page that was found; if it does not, it is not offered, and the page says why. A locked file asks for its password first, as it would in the merger.
What a repair cannot bring back.
Rebuilding the table cannot make bytes that are gone. If the download stopped at page 40 of 60, the last pages are not in the file and no program can find them. A picture cut off halfway draws only its first half, and words in a damaged part of a page are missing.
So read the copy before you rely on it, and get the file again from where it came if you can. A file that will not open in any reader at all, here included, has lost more than its table.
The file stays on your device.
The damaged file is read and written in your browser. Nothing is uploaded, which matters for the files people most often need repaired: statements, contracts and forms sent by email.
Once the copy opens again, it can go on to the other PDF tools: be made smaller, split or signed.
Further reading
Topics: repair PDF · fix corrupted PDF · PDF will not open · damaged PDF · recover PDF file · PDF error opening · repair PDF online free
A little less theory. A little more doing.
Try it on your own terms, with a free browser tool.
Try the tool