Few things are more frustrating than a PDF that refuses to open. Whether Adobe Acrobat says the file is damaged, Chrome just shows a blank page, or the file seems truncated after a download, there is often a way to recover your document. Here is how to repair a corrupted PDF file for free.
What does a corrupted PDF look like?
Common symptoms of a damaged or corrupted PDF:
- "File is damaged and cannot be repaired" — Adobe Acrobat or Reader
- "Failed to load PDF document" — Chrome or Firefox
- The file opens but pages are blank or missing content
- The file opens but shows garbled text or missing images
- The download appears to complete but the file size is 0 bytes or unusually small
- The file opens the first few pages but stops partway through
Method 1: Use Filero's free Repair PDF tool
- Go to filero.app/tools/repair-pdf.
- Upload your damaged PDF.
- Click Repair PDF.
- Download the repaired file.
Filero uses Ghostscript to re-render the PDF — it reads the damaged file as best it can, reconstructs the internal PDF structure from scratch, and outputs a clean, valid document. This fixes most common types of corruption.
Method 2: Try a different PDF viewer
Sometimes a PDF is not actually corrupted — it just uses features that your current viewer does not support. Before attempting repair:
- If it fails in Chrome, try opening it in Adobe Acrobat Reader (free download).
- If it fails in Acrobat, try opening it in Foxit PDF Reader or SumatraPDF.
- On Mac, try the built-in Preview app — it handles malformed PDFs quite well.
Method 3: Re-download the file
If you received the PDF via email or download, the most common cause of corruption is an incomplete transfer. The file was not fully written to disk before you tried to open it.
- Check the file size — if it is a few hundred bytes, it is almost certainly incomplete.
- Ask the sender to resend the file, or re-download it from the original source.
- Avoid opening PDFs directly from email before they finish downloading.
Method 4: Use the print-to-PDF trick
If the PDF opens partially (some pages load but not all), try printing the visible content to a new PDF:
- Open the damaged PDF in any viewer that shows at least some pages.
- Press Ctrl + P (or Cmd + P on Mac).
- Set the destination to Save as PDF.
- Click Print/Save. You will get a new PDF containing only the pages that loaded successfully.
Method 5: Use Ghostscript on the command line
If you are comfortable with the command line, Ghostscript is the most powerful free tool for PDF repair. It is the same engine Filero uses:
- Windows: Download Ghostscript from ghostscript.com and run:
gswin64c -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=repaired.pdf damaged.pdf - Mac/Linux: Install via Homebrew or your package manager, then run:
gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=repaired.pdf damaged.pdf
What types of corruption can be repaired?
PDF repair works best for structural corruption — where the file data is present but the PDF's internal index or metadata is broken. This includes:
- Broken cross-reference tables (the PDF's internal index)
- Incorrect byte offsets pointing to wrong locations in the file
- Truncated end-of-file markers
- Partially written files from interrupted saves
Repair cannot recover content that was never written to the file. If the disk sector containing your document was physically overwritten, or if the file was intentionally truncated, the content is gone.
How to prevent PDF corruption
- Always wait for downloads to complete before opening.
- Do not save PDFs directly to a USB drive — copy them to your computer first, then to USB.
- Keep backups of important documents in cloud storage (Google Drive, OneDrive, Dropbox).
- Avoid saving PDFs to failing or nearly-full storage drives.
Frequently asked questions
Will repairing the PDF lose any content?
If the corruption is structural, Ghostscript can reconstruct the file without any content loss. If parts of the file were physically missing or overwritten, those sections cannot be recovered — but the rest of the document will be preserved.
Can I repair a password-protected PDF?
Repair tools can sometimes reconstruct a password-protected PDF, but you will still need the password to open the repaired file. If you have the password, try unlocking it first with Filero's Unlock PDF tool, then attempt repair on the unlocked version.
Is my file private when using Filero's repair tool?
Yes. Your file is uploaded over HTTPS, processed on our server, and deleted immediately after you download the repaired result. We do not store, log, or inspect your files.
Ready to try it?
Use Filero's free Repair PDF tool. No account needed, works on any device.
Open Repair PDF