Repair PDF
Recover a corrupted PDF that won't open. We rebuild the file's structure with multiple recovery engines and verify the result. Free, fast and secure.
or drop a damaged .pdf here
Recovers PDFs that won't open — rebuilds the cross-reference table and object structure.
or import from
By uploading files, you agree to our terms of use
Related tools
Unable to open a PDF? It may have a corrupted cross-reference table, broken object streams, or structural damage. oMyPDF's Repair PDF tool runs a multi-engine recovery pipeline — qpdf-wasm rebuilds the file structure, Ghostscript re-renders the content, and pdf-lib reconstructs the document from scratch — returning the first successfully validated result. Works for many common types of PDF corruption.
How to repair a PDF
- 1
Upload
Select the damaged PDF that won't open, or drag and drop it in.
- 2
Repair
Click Repair — we run several recovery engines and verify the result opens.
- 3
Download
Download the recovered PDF, with a summary of what was fixed.
Why a PDF stops opening
A PDF is a collection of numbered objects — pages, fonts, images, streams — plus a cross-reference table at the end recording the byte offset of each one. Viewers read that table first and then jump straight to whatever they need. It is an efficient design with one consequence: the index is written last, and a file whose index is missing or wrong is unreadable even though every object in it is perfectly intact.
That is why interrupted saves are the leading cause. A crash mid-write, a disk that fills up, a USB drive pulled out, a network share that drops, a download that ends early — all produce a file with good content and a bad map. Email systems that alter attachments in transit and failing storage account for most of the remainder.
The encouraging part is that in the common cases the data is still there. Recovery is a matter of scanning the file for the objects, working out what they are, and building a correct index around them, rather than reconstructing anything from nothing.
Progressively stronger strategies
There is no single repair that is right for every file, so several are tried in order of increasing intervention and the first one that produces a genuinely working document is what you get.
The first pass rebuilds the cross-reference table and object structure, scanning the file for objects and reconstructing the index around them. It fixes the largest share of real-world damage and changes nothing about the pages themselves. If that is not enough, a full re-render interprets each page and writes it out again as a new document — heavier, and able to recover files whose page content is itself malformed, at the cost of re-encoding. A final structural rewrite handles the remaining cases where the document can be parsed but not saved correctly.
Every candidate is re-opened and validated before being offered. That matters more than it sounds: a repair that produces a plausible-looking file which fails when someone actually needs it is worse than an honest failure, so a file that cannot be verified is never returned.
What can and cannot come back
Recoverable damage is damage to the map rather than the territory: broken cross-reference tables, corrupt object streams, incorrect offsets, a truncated tail, structural errors from software that wrote the file incorrectly. In these cases the pages usually all return.
Unrecoverable damage is missing data. A download that stopped at 30% does not contain the other 70%, and nothing can infer it. A file overwritten by another, a file whose bytes have been scrambled by a failing disk, or something that is not a PDF at all — all are beyond any repair tool, however sophisticated.
The honest way to think about it is that repair reorganises what survives. When a page's content stream is genuinely gone, that page cannot be rebuilt, and the report will tell you the count came back short rather than quietly handing you a document with a hole in it.
Before you repair, and afterwards
Work on a copy and keep the damaged original. Repair strategies are attempted against the file as given, and having the original means a different approach can be tried later if the first result is incomplete.
Spend two minutes looking for a better source first, because it beats any repair. Check the sender's mailbox, your cloud storage version history, the application that generated the file, and the recycle bin. A regenerated file is perfect; a repaired one is as good as what survived.
Once you have a working document, verify it properly — open every page rather than the first, confirm the page count, and check that text still selects. Then it behaves like any other PDF, so Compress PDF, Merge PDF and the rest all work on it normally.
Repair PDF features
Multi-engine recovery
We try qpdf rebuilds, a Ghostscript re-render, then a structural rewrite — strongest available wins.
Verified result
Every recovered file is re-opened and checked before it's returned, so you don't get a still-broken PDF.
Repair report
See exactly what was done — pages recovered, size change and the issues that were fixed.
Security & privacy
Repair needs several independent PDF engines and a validation pass on each candidate, which is more than a browser tab can host, so your file is uploaded. It travels over an encrypted connection, is worked on inside an isolated directory, and both the damaged original and every repair candidate are erased within the hour. The files people bring here are usually the only copy of something that matters — nothing is archived, indexed, used for training, or read by a person.
Frequently asked questions
Is the oMyPDF Repair PDF tool free?
Yes. The Free plan includes 10 PDF repairs a day on files up to 100 MB, with no watermark and no sign-up. Need more? Plus and Pro lift the daily limit.
What kind of damage can it fix?
It recovers PDFs with broken cross-reference tables, corrupt or missing objects, truncated saves and structural errors that stop a file from opening. It rebuilds the file's internal index and object structure.
How does it work?
It runs progressively stronger recovery strategies — a qpdf cross-reference and object rebuild, a Ghostscript full re-render, and a pdf-lib structural rewrite — and validates each result by re-opening it, returning the first that works.
Can it recover every file?
Not always. If a file is severely truncated, encrypted, or isn't really a PDF, there may be too little intact data to rebuild. In that case you'll get a clear message rather than a broken download.
Will I lose content?
The goal is to recover as much as possible. Most repairs keep all pages; severely damaged regions may be dropped if they can't be reconstructed. The repair report tells you the recovered page count.
Are my files safe?
Your PDF is processed on our server over an encrypted (HTTPS) connection, repaired immediately, and the file is deleted right after.
What does the repair report tell me?
Which recovery strategy succeeded, how many pages came back, the resulting file size, and any notes about what had to be dropped. The page count is the number to check first — if it matches what the document should have, the repair is almost certainly complete.
Why do PDFs get corrupted in the first place?
Almost always because a write was interrupted. A PDF ends with a table saying where every object lives, and that table is written last, so a crash, a full disk, a disconnected drive or a dropped transfer during save leaves a file whose contents are intact but whose index is missing or wrong. Faulty storage and email systems that mangle attachments account for most of the rest.
My PDF opens but every page is blank. Can that be fixed?
Sometimes, and it is worth trying. Blank pages usually mean the page objects survived but the references to their content streams are broken, which is exactly the class of damage a cross-reference rebuild addresses. A full re-render can also recover pages that a viewer refuses to draw.
Can it repair an encrypted PDF?
Not while it is encrypted, since the structure cannot be read to be rebuilt. If you have the password, remove it with Unlock PDF and then repair the decrypted copy.
Will repairing lose any quality?
The gentler strategies rewrite structure only and touch nothing about the pages. The full re-render is different in kind — it draws every page again, which is what makes it able to recover files the others cannot, and can slightly alter the encoding of images along the way. The report tells you which one was used.
What if nothing works?
You get a clear message rather than a file that appears to work and fails later, which is the more useful outcome. From there, look for the source: an earlier copy, an email attachment, a cloud version history, or the application that produced it — regenerating from the original beats any recovery.