Logo PDFAreUsPDFAreUs

Cette page n’est pas encore traduite en français : elle s’affiche donc en anglais.

PDF Guides

How to Repair a Corrupted or Damaged PDF

A PDF can become corrupted from an interrupted download, a failed transfer, or an issue with the program that created it. When that happens, the file might not open at all, show blank or garbled pages, or trigger an error message in your PDF viewer.

By GaryLast updated 3 min read

Signs a PDF is corrupted

A corrupted PDF usually shows one of a few symptoms.

  • The file won't open at all, or your viewer shows an error
  • Pages appear blank or partially rendered
  • Text or images look scrambled or missing
  • The file size looks wrong compared to what you expected

How to repair a PDF

A repair tool attempts to rebuild the file's structure and recover as much readable content as possible.

  • Open the damaged PDF
  • Run the repair process
  • Review the recovered file
  • Download the repaired version

When repair can't fully recover a file

Repair tools work by rebuilding what's structurally intact in the file. If the underlying data itself is missing or badly damaged — not just the file's structure — some content may not be recoverable. It's always worth trying, but if you have access to the original source, re-exporting the PDF from there is the most reliable fix.

Rule out the simple causes first

Many files that look corrupted are fine, or were never complete in the first place. A minute of checking can save you a repair attempt.

  1. Check the file size. A PDF that shows 0 KB, or a few KB when it should be several MB, did not finish downloading. Download it again or ask the sender to resend it.
  2. Open it in a different program. Drag the file into a browser tab in Chrome, Edge or Firefox. If it opens there, the file is sound and your usual viewer is the problem.
  3. Copy it off the USB stick, phone or network drive to your computer and open the copy. Files opened directly from removable or cloud storage sometimes fail part-way.
  4. If it came by email, download the attachment again instead of opening the preview, or ask for it through a file-sharing link.
  5. If the viewer asks for a password, the file is protected, not broken. Use Unlock PDF with the password instead.

What Repair PDF actually does

A PDF is a collection of numbered objects (pages, fonts, images) plus an index at the end of the file that tells a viewer where each object starts. When a transfer is cut short or a program writes the file badly, the objects are often intact but the index is wrong or missing. Strict viewers refuse to open such a file.

Repair PDF reads the file as leniently as it can, finds the objects that are still there, and writes a fresh copy with a correct index. That fixes a large share of files that will not open or that open in one viewer and not another. It runs in your browser, and the damaged original is left untouched.

Check the repaired copy

  • Count the pages and compare with what you expected.
  • Scroll through every page looking for blank areas or missing images.
  • Check that text is still readable and that special characters have not turned into boxes.
  • If it was a fillable form, click into a few fields to see whether they still work.

When the tool reports that it cannot repair the file

Some files are beyond rebuilding. If the download stopped half-way, the second half of the document does not exist anywhere in the file, and no tool can recreate it. The same is true of a file that is not really a PDF, such as a web error page saved with a .pdf name.

Your best options then are the ones that go back to a good copy: the sender's original, the attachment in your sent or received mail, an earlier version in your cloud storage's version history, or the program that created the document. If the content exists on paper, scanning it again is often faster than any recovery attempt.

Keeping it from happening again

  • Wait for a download or save to finish before you open, move or rename the file.
  • Eject USB drives properly instead of pulling them out.
  • Keep the source document, such as the Word file, alongside any PDF you export.
  • For important files, keep a second copy somewhere other than the device you work on.

Frequently asked questions

Can every corrupted PDF be repaired?

Not always — repair works by rebuilding the file's structure, so it recovers what's still structurally intact. Severely damaged files may only be partially recoverable.

Why did my PDF get corrupted in the first place?

Common causes include an interrupted download or upload, a failed file transfer, or an error in the software that generated the PDF.

Is it safe to try repairing an important document?

Yes — repairing works on a copy of the file's content and doesn't further damage the original, so it's worth attempting before assuming the file is a total loss.

The repaired PDF opens but a page is blank. Can I get it back?

Not from this file. A blank page after repair means the content of that page was missing or damaged, and only the structure around it could be rebuilt. You will need another copy of the document for that page.

Is my PDF uploaded to a server for repair?

No. The repair runs in your browser, so the file stays on your device.

Related tools and guides

About the author

Gary

Gary builds and runs PDFAreUs and writes its guides, which explain how to prepare PDFs for email, job applications, school and government portals using tools that run in your browser.

More about Gary and PDFAreUs