How can I fix a PDF that won't open or shows an error?
Open the damaged PDF and press Repair PDF. The tool reads it object by object and writes a fresh file with a new structure. If the file is too damaged for that, it rescues every page that can still be drawn as a picture with searchable text. Content that is missing from the file can't be brought back.
No upload · no limit · no login
Your file never leaves your device. The PDF is opened and changed by your own browser. Nothing is uploaded, there is no daily limit, no login and no watermark.
How to use it
- Choose the damaged PDF.
- Press Repair PDF.
- Download the result and check that all pages are there.
How it works
First, pdf-lib reads the file object by object without trusting its broken index, copies every page it can reach into a new document and writes it with a fresh structure. The new file is then checked by drawing every page with pdf.js. If that fails, pdf.js, which is very tolerant of damage, draws each page it can still read, and those pages are saved as pictures with an invisible text layer. Links, forms and bookmarks are lost in that second case. Neither step can recover parts that are missing from a truncated or overwritten file.
Last checked:
Questions
Will all my pages come back?
Only pages that are still in the file. If a download stopped half way, the missing part is not in the file at all.
My PDF asks for a password. Is it damaged?
No, it is protected. Use Unlock PDF with the password you know.
Is my PDF uploaded?
No. Everything happens in your browser on your own device, so the file never reaches our server. You can even switch off your internet after the page has loaded.