Repair PDF
Rebuild a corrupted PDF - a truncated download, a broken cross-reference table, a file a reader refuses - into a clean one, in your browser.
Step-by-step guide with screenshotsDrop PDF files here
Drag them straight from your desktop
- PDF files only
- Up to 15 MB each
- 2 files a run - unlimited with Pro
Frequently asked questions
What kind of damage can be repaired?
Structural damage: a download that was cut off, a cross-reference table with wrong offsets, a missing or broken trailer, an index that no longer matches the objects. These are what usually stop a reader from opening a file, and the pages, fonts and pictures are still in the bytes behind them. Content that was overwritten or never arrived cannot be brought back.
How does the repair work?
Two repairers, in order. First qpdf checks the file and, if it reads it with warnings or errors, writes it out again with a fresh index. If qpdf can't read it at all, a second parser reads the file from the front object by object, keeps every page it finds and writes a new file, which qpdf checks again. Only a file that passes the check is called repaired.
Will the repaired file look the same?
Yes, for everything that survived - the page content isn't changed, only the structure around it. A truncated file loses the pages that were cut off; check the preview to see what is there.
Is the file uploaded to a server?
No. The check and the repair run in your browser; the file never leaves your device.
The file is password-protected - can it still be repaired?
It has to be opened first. An encrypted file is flagged rather than guessed at; unlock it in the list with its password and it is examined again from the readable bytes, and repaired if it needs it.
It says there is no damage - why did I get nothing?
Because the file is sound, and handing back the same document under a new name would only look like something happened. If it still will not open in a particular program, the trouble is elsewhere: run Inspect to see what the file actually contains.
Missing something, or did the result surprise you?