Repair a damaged PDF

Rebuild a PDF that won’t open or shows errors, from everything in it that can still be read. The file never leaves your device.

How to repair a damaged PDF

  1. Drop the damaged PDF into the box above, or choose it from your device.
  2. PDF-IO rebuilds the file’s structure from everything it can read. This starts right away.
  3. See what was fixed, and download the repaired copy.
  4. Open the copy and check it: content lost in the damaged part of the file can’t be brought back.

Common causes

  • A download or email attachment that was cut off or only partly saved.
  • A copy from a failing USB stick, memory card or old hard drive.
  • Programs that write PDFs carelessly, such as some scanners and online form generators.

If the original is still available, getting a fresh copy is the most reliable fix. The repaired PDF works with every other PDF-IO tool, for example to compress it afterwards.

Questions

What kind of damage can be repaired?
The most common kind: a broken or missing index of the file’s contents (the cross-reference table), wrong lengths and positions, a missing end, or a file that was saved or downloaded only partly. PDF-IO rebuilds the structure from the objects it finds and writes a clean copy.
Will I get all my pages back?
Everything that is still in the file, yes. If part of the file is missing, for example after a download that broke off, the pages and images in that part can’t be recovered by any tool. The result shows how many pages were rebuilt.
Is my PDF uploaded?
No. The repair runs inside your browser with qpdf, an open-source PDF tool compiled to run in the browser. Nothing is sent to a server.
What if the PDF is password-protected?
Use Unlock PDF instead: it asks for the password and repairs the file in the same step.
Why does it say no damage was found?
The file’s structure is intact. If one program still refuses it, the cleanly rewritten copy often helps anyway. If the problem is the content, for example a page that looks wrong, try opening it in another reader or a browser.

Other tools