About Repair PDF
Repair PDF re-parses your file with progressively broader tolerance — accepting malformed indirect objects, ignoring corrupted /Info dicts, and copying pages one at a time when bulk-load fails. Whatever pages still parse get re-saved into a fresh PDF whose structure is rebuilt from scratch by pdf-lib's writer.
Honest scope: this isn't a full byte-scan recovery tool like desktop Acrobat or qpdf. It can't reconstruct a missing cross-reference table from raw bytes, and it can't rescue files that are truncated mid-stream. What it CAN do: fix files that strict parsers reject due to spec-bending exports, recover the surviving pages of a partially-broken PDF, and strip out invalid metadata that trips other readers.
If the first few strategies fail, a fallback uses pdf.js (a different, more tolerant parser) to render and re-emit each page — this rescues many files that pdf-lib alone can't open. When that also fails, the file is genuinely beyond what browser-based tools can fix; try desktop Acrobat's repair mode or qpdf.
How it works
- Upload your problematic PDFEven if other PDF viewers refuse to open it, this tool tries multiple parsing strategies before giving up.
- Click RepairThe tool tries strict parse → lenient parse → page-by-page recovery → pdf.js fallback. The first strategy that produces a readable document wins.
- Download the resultThe output is a fresh PDF written from whatever the parser could read. Open it in your normal viewer to check — if pages are missing or visuals look off, the source was beyond browser-tool recovery.