Repair a damaged PDF
Rewrite a broken PDF and check that it opens. If the file is beyond saving, you are told so.
- Files never leave your device
- Free, no sign-up
- No daily limit
Drop a PDF file here
or drag it here, or paste it.
Privacy: your files are opened and processed by your browser, on this device. They are never uploaded to YardMaths or anyone else, and they are gone when you close the tab.
How to repair a PDF
- Choose the PDF that will not open, or drop it on the box. The card tells you if the file already looks damaged to this page.
- Leave the picture rebuild box ticked if you accept that, in the worst cases, the file may come back as page images without selectable text. Untick it if you prefer to get no file rather than that kind of file.
- Press Repair PDF. Your browser reads the file as forgivingly as it can, writes it again with a fresh structure, and then opens the result with a second PDF engine to make sure every page can be drawn.
- Read the result line. It says which method worked and how many pages came through, and it names any page that was lost. If nothing could be saved, it says that too.
- Download the repaired file and open it. Your original file is left untouched, so you can try again with other settings.
Why this tool runs in your browser
A broken PDF is often the only copy of something that matters: a form that was half downloaded, an attachment that was cut short, a scan from a failing disk. The content may be a tax return, a contract or a medical report, and handing it to a stranger’s server in the hope that it can be mended is a poor trade.
The repair here runs inside your browser. It reads the file, rewrites it and checks it on your own device, and the pages are never sent anywhere. That also lets the page be plain about the result: it knows exactly what it could and could not read, because it did the work in front of you.
What this tool does, and what it does not
Many PDFs that “will not open” have a damaged index (the table that tells a reader where each page is), extra bytes at the start or the end, or a wrong length on a part of the file. Those are fixed by reading the file by its contents instead of by its index and writing a new, clean one.
A file that was cut short is different. If part of the file never arrived, the missing pages and pictures do not exist anywhere to be recovered. In that case the tool saves what can still be read, tells you how many pages that is, and offers the picture rebuild only when the pages can still be drawn.
Limits to know before you start
- Repair cannot bring back data that is missing from the file. A truncated download or a failing disk can mean lost pages, and the result line names what was lost.
- The check at the end confirms that every page opens and draws without an error in a second PDF engine. It cannot know whether a page that draws is blank because its content was lost.
- The picture rebuild produces a PDF of page images: it looks like the original but the text can no longer be selected or searched, and the file can be larger. It is used only if you leave the box ticked and the normal repair fails.
- Password-protected PDFs are not damaged, so they are not handled here. Remove the password first; you need to know it, and this tool never tries to guess or break one.
Repair PDF FAQ
Can every damaged PDF be repaired?
No, and this page does not pretend otherwise. A file with a damaged index or extra bytes often comes back fine. A file that is cut off or mostly garbage may lose pages, and some are beyond saving. In that case you get a clear message instead of an empty file.
What does Repair PDF actually do to my file?
It reads the file by its contents instead of its index, writes a new copy with a fresh index, and opens that copy with a second PDF engine to confirm every page draws. Your original is not changed.
Why does the repaired file have text I cannot select?
That happens only with the picture rebuild, which is the last resort when the file cannot be fixed in place. The pages are redrawn as images, so the text is a picture. If you need real text, untick the rebuild box and try your original source again.
Why does my PDF say it is damaged in the first place?
Common causes are a download or an email attachment that stopped early, a file saved to a drive that was removed too soon, or a program that crashed while writing. The file is then missing its ending or its index.
Is it safe to repair a PDF with private information here?
Yes. The repair runs in your browser, so the file is not sent to YardMaths or to anyone else. You can check that in your browser’s network panel: nothing is uploaded while it works.
Last updated . Free to use, no sign-up.