Repair Corrupted PDF
Fix damaged or corrupted PDF files in your browser. Quick structural repair for most errors, or full page rebuild for severely damaged files — nothing uploaded to any server.
Drop a damaged PDF here or click to upload
Stays on your device · no server upload
—
Repair complete — PDF downloaded.
Pages
—
Before
—
After
—
⚠ Could not repair this file
Try switching to Rebuild mode — it re-renders every page as an image and creates a fresh PDF, which can recover even severely corrupted files.
How to Use Repair PDF
To repair a corrupted PDF, upload the damaged file using the upload area. Choose Quick repair to rebuild the PDF's internal structure (cross-reference table, object streams, trailer) without touching any content — this fixes the vast majority of corruption errors including incomplete downloads, truncated files, and broken headers.
If Quick repair fails or the file is severely damaged, switch to Rebuild mode. This renders every page to an image using PDF.js (which is more tolerant of corruption than most PDF parsers) and builds a completely new PDF from those images. Rebuild mode can recover files that no other tool can open, though the output will be image-based rather than text-searchable. After repair, download the recovered PDF.
Frequently Asked Questions
What types of PDF corruption can this fix? expand_more
Quick repair fixes structural issues: broken cross-reference tables, corrupted object streams, missing or invalid trailers, incomplete downloads, and encoding errors. Rebuild mode goes further by rendering each page via PDF.js and creating a fresh PDF — recovering files that are missing large sections of data.
Will the repaired PDF look identical to the original? expand_more
Quick repair produces an identical-looking output because only the internal structure is rebuilt. Rebuild mode renders pages to JPEG images, so the visual appearance is preserved but text will not be selectable unless you also run OCR.
What if neither mode works? expand_more
If the file is too corrupted even for PDF.js to render, the file may be unrecoverable. Try opening it in Adobe Acrobat Reader's repair mode, or check if you have an older backup copy.
Is my PDF uploaded to a server? expand_more
No. All repair work runs locally in your browser using pdf-lib and PDF.js. Your file never leaves your device.
Can I repair a password-protected PDF? expand_more
Quick repair uses the 'ignore encryption' flag in pdf-lib, which can re-save many encrypted PDFs without the password. Rebuild mode uses PDF.js which similarly attempts to render encrypted files without requiring a password for the repair.