How to Repair a Corrupted PDF File (When It Won't Open)
"There was an error opening this document. The file is damaged and could not be repaired." If you've seen that message right before a deadline, you know the feeling. The good news: many "damaged" PDFs are only slightly broken, and the content can often be rescued.
Why PDFs get corrupted
- An interrupted download or email attachment that didn't finish
- A USB drive removed before the file finished copying
- The app that created the PDF crashed while saving
- A bad conversion from another format
- File transfer apps that change the file (for example, FTP in text mode)
Inside every PDF is a table that tells readers where each page and image lives. When that table or the end of the file goes missing, the reader gives up — even though most of the content is still there.
First, try the quick checks
- Download the file again. Corrupted downloads are the most common cause.
- Ask the sender to resend it, ideally as a link rather than an attachment.
- Try a different reader: Chrome, Edge or Firefox can open many PDFs that Adobe Reader rejects.
- Check the file size. A 0 KB or suspiciously small file is truncated and needs re-downloading.
How to repair a corrupted PDF file
- Open the free Repair PDF tool.
- Upload the broken file. It's processed in your browser — nothing is uploaded.
- The tool rebuilds the PDF's internal structure and recovers the pages it can find.
- Download the repaired PDF and open it.
Repair works best on files with broken cross-reference tables, missing end markers or minor structural damage. It can't recreate data that isn't in the file at all.
When the file is damaged and could not be repaired
If repair doesn't work, a few more options:
- Look for an earlier version. Windows: right-click > Properties > Previous Versions. Mac: Time Machine. Cloud drives like Google Drive and OneDrive keep version history.
- Check your email's sent folder or the original download link for a clean copy.
- If you created the PDF, export it again from the source Word or Excel file.
- If you can open any pages at all, extract them with Extract PDF Pages or pull the text with Extract Text from PDF.
Password-protected PDF errors aren't corruption
Sometimes a PDF that won't open is simply encrypted. If you're prompted for a password and you have it, open it normally or use Unlock PDF to save a copy without the password.
How to prevent corrupted PDFs
- Always eject USB drives properly.
- Share large PDFs through a cloud link instead of email attachments.
- Keep the original source file (DOCX, XLSX) alongside the PDF.
- Back up important documents in two places.
Summary
Most corrupted PDFs are only structurally damaged, and a repair tool can rebuild them. Start by re-downloading, try another reader, then run the file through the free Repair PDF tool. If that fails, go looking for a previous version or the original source file.