How to use the Repair PDF tool
- Load the broken PDFDrop it into the box or click to pick it.
- Let it diagnoseThe header, the end-of-file marker and every page are tested to see what can be read.
- Run the repairThe internal structure is rebuilt. If problems remain, readable pages are rescued one at a time.
- SaveDownload the fixed PDF.
Problems it can fix
- Damaged cross-reference tableThe index readers use to locate every object is rebuilt from the ground up.
- Incomplete downloadsFiles missing their ending and trailer, after an interrupted download or copy, are completed.
- Leading garbageStray bytes before the PDF header, often left by mangled email attachments, are stripped out.
- Corrupt objectsBroken objects are skipped so the remainder of the document stays usable.
- Page rescueIf all else fails, each page that can be displayed is saved to a new PDF with searchable text.
- Stays on your deviceThe repair runs in your browser with no upload at all.
How a PDF becomes corrupted
Internally, a PDF is a set of numbered objects, such as pages, fonts and images, followed by a table near the end that records where each object begins. An interrupted download, a USB drive pulled out too soon, an email server that re-encodes attachments, or an app crashing mid-save can all leave that table, or the file’s ending, missing or incorrect. Your reader then complains with messages like “There was an error opening this document” or “The file is damaged and could not be repaired”, or just shows an empty page.
What the repair process does
- Checking the file. It looks for the %PDF header, cutting away any rubbish in front of it, and for the %%EOF marker at the end, then attempts to open the document and read each page.
- Rebuilding the structure. Ignoring the faulty table, the tool walks through the file object by object and writes a fresh copy with a correct cross-reference table and trailer. Text, fonts, images and links come through untouched. The result is reopened to confirm every page loads.
- Rescuing pages. When the structure can’t be mended, a second engine with separate recovery logic opens the file and renders whatever pages it can. Those are saved into a new PDF as high-quality images with a hidden text layer, so searching and copying still work. Any page that couldn’t be read is listed for you.
When repair isn’t possible
- If the file is almost empty, or a few kilobytes when it should be several megabytes, it was most likely truncated. The missing data can’t be recreated, so fetch the file again from where it came from.
- Password-protected files must be opened first with Unlock PDF, which needs the password.
- Something that isn’t actually a PDF, like a Word file renamed with a .pdf ending, can’t be repaired. Open it with the correct program, or turn it into a PDF with Word to PDF.