Repair PDF Files That Won't Open
About this tool
About Repair PDF
Repair PDF fixes files that won't open, report errors, or show missing pages. It first rebuilds the file's internal structure with qpdf, an open-source PDF library compiled to WebAssembly and run in your browser. If that isn't enough it tries a second, more tolerant reader that can recover documents with broken cross-reference tables, truncated endings or wrong stream lengths. As a last resort, and only if you allow it, it rebuilds the PDF from rendered page images, which saves what is visible but makes text unselectable. Every result is re-opened and checked before you download it, and you see what was fixed, the method used, and page counts before and after. Password-protected files can be repaired with their password and keep their encryption. It all runs in your browser, so damaged confidential files are never uploaded.
Built and maintained by Abhi JainUpdated
Recent changes
- Add text export, diff, redaction, and repair tools
- Add tools for PDF text extraction, comparison, redaction, and repair
How to Repair a Damaged PDF
- 1
Add the damaged PDF
Drop the file into Repair PDF. Enter its password if it has one.
- 2
Repair
Click Repair PDF. Optionally allow rebuilding from page images if the structure can't be recovered.
- 3
Check and download
Review what was fixed and the page count, then download the repaired PDF.
Repair PDF: questions and answers
Can every damaged PDF be repaired?
No. Files that are cut off early or aren't really PDFs may be beyond structural repair. The image rebuild can still save the pages a viewer can draw.
Will repairing change my file?
The content is kept, but the file is re-saved, so its internal layout and size may change. Encryption is kept when you provide the password.
What does Rebuild from page images do?
It renders each readable page and creates a new PDF from those images. It looks the same, but text is no longer selectable or searchable.
Is my file uploaded?
No. Repair runs entirely in your browser. Files up to 40 MB can be opened.