Repair PDF

Attempt to fix corrupted or damaged PDF files.

Drop the broken PDF here

Even damaged files — we'll try to recover them

Choose File
Repairing...

Repair Complete!

How repair works

  1. Upload a PDF that fails to open, shows blank pages, or throws an error in another reader.
  2. Method 1 — structure rebuild: the tool parses whatever is still valid in the PDF object tree and writes a fresh xref (cross-reference) table so viewers can navigate the file.
  3. Method 2 — page-level recovery: if the structure is too badly damaged, pages are rendered to images and stitched into a clean new PDF. Text becomes non-selectable, but at least the content is saved.

When repair helps

Frequently asked

How bad can the damage be and still be repairable?

If PDF.js can read even one page, Method 2 will produce something useful. If the file is truncated mid-stream, the final few pages may be lost — but earlier pages usually survive.

Will repair recover deleted content?

No. Repair only reconstructs what is still in the file. Content deleted in another editor is not recoverable.

Is Method 2 output searchable?

No — Method 2 rasterises pages to images. Run OCR afterwards to restore searchability.

Will the file size change?

Method 1 output is usually similar in size. Method 2 output depends on page count and image quality — it is typically larger because pages become JPEGs.

Privacy: All repair logic (parsing, rendering, rebuilding) runs in your browser with PDF.js and pdf-lib. Damaged financial or medical PDFs never leave your device.