How to repair a corrupted PDF

Your PDF throws an error and won't open in any program. Here's why files get corrupted and how to try recovering one online in a couple of minutes.

In short: To repair a corrupted PDF, upload it to repair-pdf, which rebuilds the file structure around the surviving content. It works when the file is intact but the cross-reference table is broken. Pages physically missing from a truncated download can't be recovered, so try re-downloading the original.

troubleshooting

Recovery paths for broken files, failed runs, and rerun decisions.

What to do next

Table of contents

You double-click the file, and instead of a document you get an error window: "The PDF could not be opened, it is damaged," "There was an error opening this document," or just a blank gray screen. The same file won't open in Acrobat, in a browser, or on your phone. Inside it is a signed contract, a scanned ID, or a report that's due in half an hour. The panic is familiar: there's no original at hand, the sender is offline, and the deadline isn't moving.

The good news is that "damaged" rarely means "the data is gone." What usually breaks is not the content but the PDF's internal structure: the cross-reference table (xref) and the object catalog that the program uses to find pages. One interrupted download, a glitch while copying to a USB drive, or a bad export from accounting software, and the reader stops understanding the structure even though the text and images inside are fine. Repair rebuilds that structure around the data that survived.

Before you fix anything, rule out a false alarm. Sometimes the file is fine and the viewer is to blame: an old version of Acrobat, a browser extension, or a hung process. Try opening the document in another program and drag it into a fresh Chrome tab. If it scrolls through normally there, you don't need recovery. If the error shows up everywhere, the file itself is broken, and it's time to repair it.

How to repair a PDF, step by step

1. Open Repair PDF and upload the problem file. Even if no program can open it, you can still upload it: the tool works with the raw bytes, not with what your reader can display. 2. Wait for processing. The service rebuilds the xref table, restores the object tree, and assembles a valid document. 3. Download the result and try opening it right away, ideally in two different programs (for example, Acrobat and Chrome), to confirm the problem wasn't a specific reader. 4. Scroll through every page to the end. Check that the text is readable, the images are in place, and the numbering doesn't cut off partway. 5. If some pages are still missing or blank, the source file was truncated during download. Ask the sender to send it again or to deliver it through another channel (cloud storage instead of email).

What can go wrong

  • The file didn't download completely, the classic cause of a broken PDF. Repair returns the part that did load, but the last pages may be gone. Re-download the original over a stable connection before giving up.
  • The document is password-protected, not corrupted. In that case the error is different, about a password or access rights, and recovery isn't the answer: remove the protection first.
  • After repair the file is noticeably heavier, since rebuilding can bloat the structure. Run the result through Compress PDF to bring the size back down before sending.
  • Only the text came back, while a complex layout or interactive form fields shifted. For an archive copy that's no problem, but a fillable form may have to be rebuilt from the original.
  • The file opens, but the pages are out of order or extra blank ones appeared. Drop the extras with Remove blank pages, and fix the order in Split PDF and Merge PDF.

What to check before sending

  • The document opens in at least two different programs with no errors or warnings.
  • All pages are present: the last one doesn't cut off, and there are no sudden blank spreads between sheets.
  • The text can be selected and copied, rather than turning into unreadable symbols or an image.
  • Signatures, stamps, and important scans are clearly visible, with nothing pushed off the edge of the page.
  • The file size fits the content. If it ballooned several times over, compress it before sending.

What to do next

Once the file opens again, get it into the shape you need: remove stray spreads with Remove blank pages, tidy up the weight with Compress PDF, and for long-term storage convert it to the archival format with PDF to PDF/A. All the tools run in the browser without an account, and uploaded files are deleted automatically, so the recovered document stays only with you.

Frequently asked questions

Why does a PDF stop opening at all?

Usually the file didn't finish downloading, or a write to a USB drive got cut off: the internal cross-reference table (xref) points to chunks that aren't there. The reader sees a broken structure and refuses to render the document.

Can any corrupted PDF be recovered?

No. If part of the data is physically missing (the file was truncated during download), there's nowhere to pull the text of the lost pages from. Repair rebuilds the structure around the surviving content: what's there will open, the rest won't.

The file opens, but every page is blank or full of garbled characters. Is that fixable?

Sometimes. If only the layout is damaged and the page streams are intact, rebuilding restores the display. If the streams themselves or the embedded fonts are damaged, the text may stay unreadable, and then only the original or a backup will save you.

Will re-saving through 'Print to PDF' help?

Only if the document opens at least somehow. Print to PDF makes a fresh copy from what the program shows, and it often fixes small layout glitches. But a file that won't open at all can't be rescued this way: there's nothing to print.

What happens to my file after I upload it?

The uploaded PDF and the recovered result are deleted automatically 120 minutes after processing. Files are not used to train AI, and no account is needed.

More from this cluster

If you need a practical next step or service guidance after reading, open these pages.

Related tools

What to do next

If you need a practical next step or service guidance after reading, open these pages.