📄 PDF · Updated October 17, 2026 · 8 min read

Fix a PDF That Won't Open: Repair a Corrupted File Free

Failed to load 2 pages back 🩹

To fix a PDF that won't open, rebuild its internal structure: most damaged files still hold every page, but the index that tells a viewer where each object sits is wrong, or a stream length no longer matches its data. GrabCast's free Repair PDF rebuilds that structure in your browser with qpdf, explains in plain English what was broken, and shows a preview before you download. We tested it on a fictional two-page board minutes file whose index had been shifted and whose stream lengths had been altered.

🩹 Try Repair PDF now — freeOpen →
Repair PDF result for library-minutes-broken-index.pdf: Repaired, 2 pages recovered, two fixes listed, before and after counts and page previews
A PDF with a broken index repaired in the browser, with a report of what was fixed.
💡 Why a PDF suddenly refuses to open

A PDF is not one continuous document but a collection of numbered objects, pages, fonts, images and text streams, plus a cross-reference table listing the exact byte where each one starts. If a sync client, an email gateway or a crashing app changes even a few bytes near the start, every offset in that table points to the wrong place. Viewers that trust the table give up with messages about a damaged file, even though the content itself is intact.

What Repair PDF does to fix a PDF that won't open

The tool first inspects the raw bytes, then tries up to three repair paths, keeping whichever recovers the most pages.

On the board minutes sample, the report listed two fixes: the cross-reference table was broken, so objects were located by scanning the whole file, and 2 content streams had wrong /Length values. Both pages came back with selectable text.

Reading the repair report

The result panel is designed to answer the questions you would ask a technician.

If the tool finds nothing wrong, it says the PDF is healthy and still offers a cleanly rewritten copy. That is a hint the problem lies with the app you open it in, for example an outdated viewer or a phone preview that cannot handle a large file.

Common reasons a PDF will not open

If the file is not a PDF at all, for example a Word document renamed with a .pdf ending, the tool says so: no PDF header and no PDF objects means there is nothing to recover.

Limits, privacy and what to try next

Repair can only use what is still inside the file. If part of it was never saved or was cut off, that part cannot be recreated; the report says how many pages were recovered and flags pages whose fonts were lost.

After a successful repair, open the -repaired.pdf in your usual viewer, search for a word to confirm the text layer works, and keep the damaged original until you are sure nothing is missing.

If only some pages are readable, extracting those pages saves what you can.

Step-by-step

1234
1Drop the file — Add the PDF that won't open; the repair engine loads once and works on your device.
Repair PDF drop zone waiting for a damaged file, with the note that the repair engine loads once and runs on your device
Drop the PDF that won't open, or click to pick it; nothing is uploaded.
2Read what was fixed — Check the plain-English list of problems the tool found in the file's structure.
What was wrong and fixed for library-minutes-broken-index.pdf, listing the broken cross-reference table and content streams with wrong /Length values
A plain-English list explains each problem the tool found and how it was fixed.
3Compare page counts — Look at pages readable before, pages after repair and the file size change, then download.
Before and after panel for the minutes: 2 pages readable before, 2 pages after repair, file size 112 KB to 97 KB, above the Download repaired PDF button
Compare the page counts before and after, then download the repaired copy.
4Preview the pages — Confirm the thumbnails show the content you expect before you rely on the repaired copy.
Preview of the repaired Friends of Oak Hollow Library minutes: page 1 with the treasurer table and page 2 with action items
Thumbnails of the first pages let you confirm the content survived before you download.

Common mistakes to avoid

⚠️Deleting the damaged original right after repair, before checking every page in the new copy.
⚠️Assuming a password prompt means damage; unlock the file with its known password instead of repairing it.
⚠️Repeatedly re-saving a broken file in different apps, which can drop pages a proper rebuild would have kept.
⚠️Ignoring a lower page count in the report and sending the repaired file as if it were complete.

Pro tips

✓Try opening the file in a browser tab first; if it shows there, a strict desktop viewer may be the problem.
✓Keep the Technical details open when asking IT for help; the qpdf messages pinpoint the damage.
✓Search the repaired file for a word near the end to confirm text survived on the last pages.
✓If the report says Unreadable before and only some pages after, ask the sender for a fresh copy.
✓Store important PDFs in two places so a single bad sync never leaves you with only a broken copy.

Frequently asked questions

Can every corrupted PDF be repaired?

No. The tool recovers every page whose data is still in the file. Data that was cut off or overwritten is gone, and the report shows how many pages came back.

Is my PDF uploaded to a server?

No. qpdf compiled to WebAssembly, pdf.js and pdf-lib run in your browser. Only the engines download the first time; the file stays on your device.

Will the repaired PDF keep selectable text?

Yes when qpdf or the object re-read succeeds, which covers most cases. Only the last-resort path turns pages into images, and the tool tells you when it used it.

What if the tool says the PDF is healthy?

Then no structural damage was found. Download the cleanly rewritten copy and try it, or open the file in another viewer.

Can it repair a password-protected PDF?

Not directly. Remove the password first with Unlock PDF, which requires you to know it, then repair the unlocked copy.

📌 Bottom line

Most PDFs that won't open still contain their pages; the index or stream lengths are what broke. Rebuild the structure locally, read the plain-English report, compare page counts, check the preview, and keep the original until the repaired copy has proven itself.

Open Repair PDF →

Related guides

Browse more: all PDF guides · Repair PDF