How to Repair a Corrupted PDF (and When It Cannot Be Saved)
A "corrupted" PDF usually means one of three different things, and only two of them are recoverable. Knowing which you have saves you from trying to repair a file that was never a PDF in the first place.
The three kinds of corrupted
- Damaged structure: the file is incomplete, the cross-reference table is broken, or an object is missing. Repairable — the content is there, the index is not.
- Truncated download: the transfer stopped partway. Sometimes repairable; often the last pages are simply gone.
- Not a PDF at all: the extension says .pdf but the file is an HTML error page, a partial download, or another format. No repair helps — you need the real file.
Check which one you have
- Look at the file size. A 40-page report at 12 KB is not a report — it is an error page with the wrong extension.
- Open it in a text editor and read the first line. A real PDF starts with %PDF-. If it starts with <html>, it is a web page.
- Try a second reader. Some are strict and reject files others open fine.
- Check the last pages. If the file opens but page 12 onwards is blank, it was truncated.
Repair it
- Open Repair PDF and add the damaged file.
- Run the repair. The tool rebuilds the cross-reference table and salvages the objects it can reach.
- Open the result and compare the page count with what you expected.
- Check the pages that matter. Anything with a signature, a table or a photograph is the most likely to be lost.
- Keep the original. A repair produces a new file; the original may still be needed.
Try these first
Re-download the file. Most corrupted PDFs arrived damaged in transit, and a second download takes ten seconds.
Ask the sender to re-send, ideally zipped. Compression catches transfer damage.
Open it in a browser instead of a desktop reader. Chrome and Firefox have lenient parsers and often open files Acrobat rejects.
If an older copy exists in an email thread or backup, that beats any repair.
What repair cannot do
It cannot invent data that is not in the file. If the download stopped at page 12, pages 13 onward do not exist.
It cannot recover an encrypted PDF without the password.
It cannot fix a file that is not a PDF.
It cannot guarantee layout. A badly damaged file may come back with the content intact and the positioning approximate.
Preventing it next time
- Download over a stable connection, and never close the tab mid-download.
- Zip files that matter before emailing them — corruption in transit is detectable in a zip.
- Keep the original export, not only the PDF. Regenerating from the source is always cleaner than repairing.
- Store important PDFs in two places. A single corrupt copy is a lost document.
Privacy
Damaged documents are often the important ones: a signed contract, a court filing, a medical record. Uploading them to a repair service just to find out whether they can be saved is a real exposure.
A browser-based repair examines and rebuilds the file on your own device, so a document you are trying to rescue never leaves your machine.