How to Repair a Corrupted PDF Free 2026

Your PDF won’t open. Or it opens but the pages are blank. Maybe half the text is garbled, or your PDF reader throws an error like “file is damaged and could not be repaired.” Sound familiar?

I’ve dealt with corrupted PDFs more times than I’d like to admit – tax forms downloaded over bad Wi-Fi, contracts saved to a dying USB stick, files recovered after a hard drive crash. Over the past two months, I tested every free PDF repair method I could find. Some actually work. Most don’t. Here’s what I found.

If you regularly work with PDFs, you might also want to check our roundup of the best free PDF editors – having a solid editor can sometimes prevent corruption issues in the first place.

Quick Comparison: Best Free PDF Repair Tools

Tool Type Max File Size Works Offline Best For
iLovePDF Repair Online 100 MB (free) No Quick online fix for mildly corrupted files
Sejda PDF Repair Online 50 MB / 200 pages No Recovering text when layout breaks
PDF2Go Repair Online 100 MB No Batch repair of multiple files
AvePDF Repair Online 128 MB No Drag-and-drop simplicity
Ghostscript Command line Unlimited Yes Rebuilding heavily damaged PDFs
QPDF Command line Unlimited Yes Fixing structural errors in PDF internals
Google Chrome Browser trick Varies Yes Re-rendering and re-saving a clean copy
macOS Preview Built-in app Unlimited Yes Mac users with minor corruption issues

How to Tell If Your PDF Is Actually Corrupted

Before you start throwing your file at repair tools, figure out if the PDF is genuinely corrupted or if something else is going on. Here are the common signs:

  • Error messages when opening: “The file is damaged,” “Cannot decode data,” or “Invalid PDF structure”
  • Blank pages where content should be
  • Garbled text or missing fonts – characters showing as squares or random symbols
  • Missing images while text loads fine (or the opposite)
  • The file won’t open at all in any reader
  • File size is suspiciously small – a 50-page report shouldn’t be 2 KB

Quick sanity check first: try opening the file in a different PDF reader. If it opens fine in Chrome but not in Adobe Acrobat, the problem might be your reader, not the file. I once spent 20 minutes trying to “repair” a perfectly fine PDF that just needed a different viewer.

1. iLovePDF Repair – Easiest Online Option

iLovePDF is one of those PDF Swiss Army knife sites that does everything from merging to compressing. Their repair tool handles mildly to moderately corrupted files pretty well.

How to use it

  1. Go to iLovePDF.com and click “Repair PDF”
  2. Upload your corrupted file (drag and drop or browse)
  3. Hit “Repair PDF” and wait – usually takes 10-30 seconds
  4. Download the repaired file

In my testing, iLovePDF successfully fixed 4 out of 6 corrupted test files. It handled download interruptions and minor structural damage well. Where it failed: heavily corrupted files where the cross-reference table was completely destroyed.

Pros:

  • Dead simple – no signup required for basic use
  • Fast processing
  • Works on any device with a browser

Cons:

  • 100 MB file size limit on free tier
  • Limited to 1-2 tasks per hour without an account
  • Can’t handle severe corruption
  • Your file gets uploaded to their servers (privacy concern for sensitive docs)

2. Sejda PDF Repair

Sejda takes a different approach. Rather than just fixing the file structure, it tries to re-extract the content and rebuild the PDF. This means it sometimes recovers text even when other tools give up entirely.

How to use it

  1. Go to sejda.com and find “Repair PDF” under their tools
  2. Upload your file
  3. The tool automatically attempts repair
  4. Preview the result before downloading

The free tier limits you to 50 MB files, 200 pages, and 3 tasks per day. Honestly, those limits are reasonable for occasional use. The preview feature is genuinely useful – you can see if the repair actually worked before bothering to download.

Pros:

  • Preview before download
  • Recovers text content even from badly damaged files
  • Clean interface, no ads cluttering the page

Cons:

  • 3 tasks per day on free tier
  • 50 MB / 200 page limit
  • Layout might shift during rebuild

3. PDF2Go Repair

PDF2Go doesn’t get talked about much, but their repair tool quietly does a solid job. The standout feature is batch processing – you can upload multiple corrupted PDFs and fix them in one go.

How to use it

  1. Go to pdf2go.com and select “Repair PDF”
  2. Upload one or multiple PDF files
  3. Click “Start” and let it process
  4. Download individually or as a ZIP

I tested it with five corrupted files at once. It repaired three completely, partially fixed one (recovered text but lost images), and failed on one that was basically zero-byte. Not bad for a free tool with no account required.

Pros:

  • Batch processing – fix multiple PDFs at once
  • 100 MB limit per file
  • Can also upload from Google Drive or Dropbox

Cons:

  • Slower than iLovePDF for single files
  • Free tier shows ads
  • No preview of repaired result

4. AvePDF Repair

AvePDF is the simplest tool on this list. Upload, click repair, download. That’s it. No options, no settings, no confusion. If you just want something that works without thinking about it, start here.

The 128 MB file size limit is the most generous among the online tools I tested. Processing was fast too – my 45 MB test file was done in about 15 seconds.

Pros:

  • 128 MB file limit – largest among free online tools
  • Extremely simple interface
  • Fast processing
  • Files auto-deleted from their servers after 30 minutes

Cons:

  • No batch processing
  • Limited to basic repair – won’t handle severe corruption
  • No repair options or settings to tweak

5. Ghostscript – The Power User’s Fix

Here’s the thing about online tools: they’re convenient, but they’re running simplified versions of the same underlying technology. Ghostscript is that underlying technology (or close to it). It’s a command-line tool that can rebuild a corrupted PDF from scratch by reinterpreting every page.

This is the tool that fixed files no online service could touch. I had a 200 MB PDF from a crashed InDesign export – completely unreadable in every viewer. Ghostscript rebuilt it in about 40 seconds with nearly perfect output.

How to use it

Install Ghostscript first:

  • Windows: Download from ghostscript.com, run the installer
  • Mac: brew install ghostscript
  • Linux: sudo apt install ghostscript or sudo yum install ghostscript

Then run this command:

gs -o repaired.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress corrupted.pdf

What this does: Ghostscript reads your corrupted PDF, interprets every page as best it can, and writes a brand new clean PDF. The /prepress setting keeps quality high. You can swap it for /ebook if you want a smaller file.

If that doesn’t work, try the more aggressive approach:

gs -o repaired.pdf -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER corrupted.pdf

Pros:

  • Most powerful repair method available for free
  • No file size limits
  • Works completely offline – no data leaves your machine
  • Can handle severe corruption that online tools can’t
  • Scriptable for batch processing

Cons:

  • Command line only – not everyone’s comfortable with that
  • Needs installation
  • Output file might have slightly different formatting
  • Error messages can be cryptic

6. QPDF – Fix PDF Structure Errors

QPDF is different from Ghostscript. Where Ghostscript rebuilds the entire PDF by re-rendering it, QPDF works at the structural level. It fixes the internal organization of the PDF (cross-reference tables, object streams, linearization) without touching the actual content.

This distinction matters. If your PDF has structural damage but the content is intact, QPDF will fix it without any quality loss. Ghostscript might subtly change fonts or spacing during its rebuild process. QPDF won’t.

How to use it

Install QPDF:

  • Windows: Download from qpdf.sourceforge.io
  • Mac: brew install qpdf
  • Linux: sudo apt install qpdf

Run the repair:

qpdf --replace-input corrupted.pdf

Or to keep the original and create a new fixed copy:

qpdf corrupted.pdf repaired.pdf

QPDF will automatically detect and fix structural issues. You can also check a PDF for problems without fixing it:

qpdf --check myfile.pdf

Pros:

  • Preserves content exactly – no re-rendering
  • Extremely fast (processes a 100 MB file in seconds)
  • Can check PDFs for issues without modifying them
  • No file size limits, works offline

Cons:

  • Command line only
  • Can’t fix content-level corruption (garbled text, missing images)
  • Less effective than Ghostscript for severe damage

7. The Google Chrome Trick

This one sounds weird, but it genuinely works for certain types of corruption. Chrome has its own built-in PDF renderer (PDFium), and it’s surprisingly tolerant of malformed PDF files. Here’s the trick:

  1. Drag your corrupted PDF into a Chrome browser tab
  2. If Chrome renders it (even partially), hit Ctrl+P (or Cmd+P on Mac)
  3. Change the destination to “Save as PDF”
  4. Save the new file

What you’re doing is letting Chrome interpret the corrupted file and create a completely new, clean PDF from its rendering. I fixed two files this way that iLovePDF couldn’t handle – both had issues with their internal cross-reference tables.

Downside: the new PDF loses interactive elements. Form fields, bookmarks, hyperlinks, embedded attachments – all gone. You get the visual content only. For many use cases that’s perfectly fine.

Pros:

  • Already installed on most computers
  • No upload to external servers
  • Free and requires zero setup

Cons:

  • Strips interactive elements (forms, bookmarks, links)
  • Only works if Chrome can render the file in the first place
  • Output quality depends on Chrome’s rendering

8. macOS Preview

Mac users have a built-in option that often gets overlooked. Preview can sometimes open corrupted PDFs that Adobe Acrobat refuses to touch. Apple’s PDF engine is more forgiving with certain types of structural errors.

How to use it

  1. Right-click your corrupted PDF and choose “Open With > Preview”
  2. If it opens, go to File > Export as PDF
  3. Save it as a new file

Like the Chrome trick, this creates a fresh PDF. Preview handles font embedding issues particularly well – I had a PDF with completely garbled text in Adobe Reader that displayed perfectly in Preview and exported cleanly.

Pros:

  • Built into macOS, nothing to install
  • Handles font-related corruption well
  • Preserves basic annotations

Cons:

  • Mac only
  • Can’t handle severe corruption
  • May lose some advanced PDF features during export

What Actually Causes PDF Corruption?

Understanding why PDFs break can help you prevent it from happening again. The most common causes I’ve seen:

Interrupted downloads or transfers. This is the number one cause. If a download stops at 98%, you get a truncated file. Same thing happens with email attachments that time out mid-transfer, or files copied to USB drives that get disconnected too early.

Storage media failure. Bad sectors on a hard drive, a dying SSD, or a damaged SD card can corrupt any file. PDFs are especially vulnerable because their internal structure relies on precise byte offsets – even a few flipped bits can make the whole file unreadable.

Software crashes during save. If your PDF editor or converter crashes while writing a file, you’re left with a partially written PDF. The content might be there but the file structure (specifically the cross-reference table at the end of the file) is incomplete.

Cloud sync conflicts. Dropbox, Google Drive, OneDrive – all of them can create sync conflicts if you edit a PDF on two devices. The merged file might be garbage. I’ve seen this happen with shared contracts where two people opened the same PDF simultaneously.

Malware or antivirus interference. Some antivirus programs modify or quarantine PDFs they flag as suspicious, which can corrupt the file in the process. If a PDF suddenly won’t open after a virus scan, check your quarantine folder.

My Recommended Repair Strategy

After testing all these tools, here’s the approach I’d recommend. Start simple and escalate:

  1. Try a different PDF reader first. Seriously. Open it in Chrome, Firefox, or a different desktop reader before assuming it’s corrupted.
  2. Try an online tool. iLovePDF or AvePDF handles maybe 60-70% of corrupted PDFs. Takes 30 seconds. If the file isn’t sensitive, start here.
  3. Use the Chrome/Preview trick. If online tools fail, try re-rendering through Chrome or Preview. Works well for structural issues.
  4. Break out Ghostscript. If nothing else works, Ghostscript is your best shot. It can rebuild files that everything else gives up on.
  5. Try QPDF for structural issues. If the file opens but behaves oddly (wrong page order, broken bookmarks, crashes when scrolling), QPDF might fix it where Ghostscript won’t.

For sensitive documents – financial records, legal contracts, medical forms – skip the online tools entirely. Go straight to Ghostscript or QPDF. Your data stays on your machine.

Need to do more with your PDFs after repair? Our guide to free PDF editors covers tools for editing, annotating, and converting. And if you’re dealing with scanned documents, check out our article on free PDF OCR software to make those files searchable.

Tips to Prevent PDF Corruption

  • Always verify downloads. After downloading a large PDF, check the file size matches what the site says. If it’s significantly smaller, download again.
  • Don’t yank USB drives. Use “Safely Remove” before disconnecting. Those few seconds save hours of recovery work.
  • Keep local backups. Don’t rely on a single copy in cloud storage. Keep a local backup of important PDFs.
  • Use reliable PDF software. Cheap or outdated PDF creators are notorious for generating files with structural issues that break in other readers.
  • Avoid editing the same PDF on multiple devices simultaneously. If you’re using cloud sync, close the file on one device before opening on another.

FAQ

Can a corrupted PDF be fully recovered?

It depends on the type and severity of corruption. Minor structural damage (broken cross-reference tables, incomplete headers) can usually be fully repaired with tools like Ghostscript or QPDF. If the actual content data is damaged – overwritten sectors on a hard drive, for example – you might recover most of the text but lose some images or formatting. Files that are almost entirely overwritten or zero-byte typically can’t be recovered.

Is it safe to upload corrupted PDFs to online repair tools?

For non-sensitive documents, yes – reputable tools like iLovePDF and Sejda delete uploaded files after processing (usually within 1-2 hours). But for confidential documents like financial statements, legal contracts, or medical records, use offline tools instead. Ghostscript and QPDF both work entirely on your local machine without sending any data anywhere.

Why does Adobe Acrobat say my PDF is damaged but Chrome opens it fine?

Adobe Acrobat strictly validates PDF structure according to the specification. Chrome’s PDF renderer (PDFium) is more lenient and will try to display content even if the file doesn’t fully comply with the PDF standard. The file likely has structural issues that don’t affect the visible content. Use the Chrome print-to-PDF trick to create a clean copy that Acrobat will accept.

Can I repair a password-protected PDF that’s also corrupted?

This is tricky. If you know the password, some tools (Ghostscript in particular) can decrypt and repair simultaneously. If you don’t know the password, you’ll need to unlock the PDF first and then attempt repair. Keep in mind that encryption adds complexity to the file structure, so corrupted encrypted PDFs are harder to fix than unencrypted ones.

What’s the difference between Ghostscript and QPDF for PDF repair?

Ghostscript re-renders the entire PDF – it reads each page, interprets the content, and writes a completely new file. This means it can fix almost any type of corruption, but it might subtly change formatting. QPDF works at the structural level without touching content – it fixes cross-reference tables, object streams, and file organization. QPDF is faster, preserves content exactly, but can only fix structural issues, not content-level corruption.

Share this article

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top