Repair PDF
Fix a corrupted or damaged PDF that won't open: see what is wrong, rebuild what is left and get the pages back. Runs in your browser; nothing is uploaded.
- Runs in your browser
- Nothing is uploaded
- Free, no sign-up
or drop it here. Up to 100 MB. Nothing is uploaded.
How it works
Choose a PDF that won't open, or opens with an error. Your browser first checks what the file really is. A web page, Word document, ZIP or picture with a .pdf name is named as what it is, and can be saved with the right extension. An empty or all-zero file is called what it is too, since there is nothing in it to recover.
For a PDF, every object in the file is found by reading it from start to end, without trusting its cross-reference table (the index that damaged PDFs most often lose). The page lists what is wrong: cut short, a broken or missing index or trailer, wrong stream lengths, changed line endings, junk before or after the PDF, or blocks of zeros. Then the latest complete copy of each part is taken, compressed object stores are unpacked as far as they decode, the list of pages is linked up again, damaged compressed data keeps what decodes, and the result is saved as a clean PDF.
Before the download is offered, the rebuilt PDF is opened with a second PDF reader to check every page. The page says how many pages were recovered out of how many the file says it had, and which pages have parts missing. Previews show each recovered page, so you can see what came back. To copy the text out, use PDF to text.
Questions
How do I repair a corrupted PDF file?
Choose the PDF here. Your browser reads every part of the file, says what is wrong with it, rebuilds the parts that are left into a clean PDF and checks it with a second PDF reader. Download it if the pages look right. There is no sign-up, and the file isn't uploaded.
Why won't my PDF open?
Most often the download or copy stopped part-way, so the end of the file is missing, or the file isn't a PDF at all: a website's sign-in or error page, or a Word file or picture saved with a .pdf name. Other causes are a broken index (the cross-reference table), line endings changed by a text-mode transfer, and blocks lost to a disk or sync error. This tool tells you which it is.
Can every damaged PDF be fixed?
No, and no tool can. A file that was cut short doesn't hold the pages that were in the missing part, and data overwritten with zeros is gone. What is still in the file can usually be rebuilt. The page says how many pages came back out of how many the file says it had, and which pages have parts missing, and it only says repaired when nothing was lost.
Is it safe to use this PDF repair tool online?
Yes. It is online only in the sense that it runs in your web browser: the PDF is read and rebuilt on your device and never uploaded, so contracts, statements and scans stay with you.
Limits
Opens one file of up to 100 MB at a time. A PDF that needs a password to open can't be repaired here, because its parts can't be read without the password; a PDF that only restricts printing or copying is repaired and keeps its restrictions.
Pages that were in a missing or overwritten part of the file can't be recovered by any tool. Damaged pictures keep the rows that decode and damaged page content keeps what came before the damage. A digital signature shows as no longer valid in the rebuilt copy, and bookmarks or form fields may be lost when the part holding them is damaged.
Privacy
This tool runs entirely in your browser. The files you open and what you type are never sent to a server, and nothing is stored after you close the page. See the privacy page.
Related tools
Unlock PDF
Remove the password from a PDF you know the password to, so it opens without one; e-Aadhaar and e-PAN passwords made for you. Nothing is uploaded.
Compress PDF
PDF size reducer: make a PDF fit 100 KB, 200 KB, 500 KB or 1 MB by shrinking its scans and photos, with the text still selectable. Nothing is uploaded.
PDF to text converter
Copy the text out of a PDF or save it as a TXT file, with line breaks kept or joined into paragraphs. Password-protected PDFs too, and nothing is uploaded.