All tools · Documents · Repair PDF
Repair PDF.
A PDF that a reader refuses to open is often not destroyed — its index is. Junk bytes added by a mailer or download wrapper, or a buggy generator, leave the pages intact while every internal offset points at the wrong place. This tool runs qpdf, a widely trusted PDF engine compiled to WebAssembly, right in your browser: it re-locates the surviving objects and writes out a structurally clean file. The broken PDF never leaves your device.
⚠ Repair rebuilds the file’s structure (cross-reference table, trailer, object offsets). If parts of the actual content were destroyed, those parts cannot be resurrected — but everything still present is recovered.
Drop damaged PDF files here, or browse
Files stay on your device — nothing is uploaded.
Read the guide: How to Repair a Corrupt PDF That Won't Open (Without Uploading It)
Frequently asked questions
What kinds of damage can be fixed?
The recoverable kind: junk added before or after the real document (mail gateways and download managers do this), object offsets that no longer match where objects actually sit, and similar index-level damage from buggy generators. The pages survive; only the map to them is wrong.
What can’t be fixed?
Content that is genuinely gone. A file whose tail was cut off mid-transfer loses its recovery anchor and often cannot be rebuilt, and destroyed page or image bytes cannot be resurrected — repair recovers what still exists, it does not recreate data.
Is my broken file uploaded for repair?
No. The reconstruction happens entirely in your browser via qpdf compiled to WebAssembly, and works with Wi-Fi off. Corrupt files are often important files — they stay on your device.
Embed this tool
Add this free, no-upload tool to your own site with one line:
<iframe src="https://fileanvil.com/embed/repair-pdf/" width="100%" height="480" style="border:1px solid #ddd;border-radius:12px" title="Repair PDF"></iframe>