In short
- Check the file size first. A PDF of 0 KB or a few KB is empty or cut short, and no tool can bring it back. Otherwise try a different program, such as a browser, then save a fresh copy of what opens.
- Many files that say damaged are only a download that stopped early, a web page saved as .pdf, or a file one program dislikes. If nothing opens it, ask for a new copy.
- Open and rebuild a PDF on EditFlip
You double-click a PDF and get a message: the file is damaged, cannot be opened, or is not a valid PDF. Or it opens with blank pages, or half the pages are missing. It feels like the end of the file, and sometimes it is. Often it is not.
This guide explains what actually damages a PDF, how to tell damage from a wrong file name ending, and the recovery attempts worth making, in the order that costs the least time. If one of them works, EditFlip can then rebuild the file as a clean copy. If none works, the last section says what to ask the sender.
On EditFlip, step by step
- Step 1
Try to choose the file
Go to editflip.com, press Choose files and pick the PDF. If the page can read it, you get Options with a Preview button. A file that is too damaged to be read is refused, and then the next sections are the way forward.
- Step 2
Look through it in Preview
Press Preview and go through every page. Note which pages are fine and which are empty or wrong. A file that opens fully has only angered your other program, and a copy rebuilt here usually opens everywhere.
- Step 3
Rebuild a clean copy with Edit and Done
Press Edit, then Done straight away, without changing anything. EditFlip builds a new file with (edited) after its name. It is a fresh PDF made from what could be read. Press Download and try opening it in the program that complained.
- Step 4
Keep only the good pages if some are broken
If some pages show and others do not, use Split, Pick pages, and tap only the good ones. You get a new PDF with those pages alone. Use Compress as a second rebuild if the first copy still fails. Tell the sender which pages are missing.
What damages a PDF
A PDF is a structured file, with its list of pages and fonts near the end. If the end is missing, many programs cannot find the list and say the file is damaged, even though the pages are inside. This is what happens when a download stops half way, when a phone runs out of space while saving, or when a copy is interrupted.
The common causes are plain ones. A download that was cut off by a weak connection. A USB stick or an SD card pulled out while the file was still being written. An email system or a chat app that changed the bytes of an attachment. A file saved onto a full drive. A sync folder that holds half of the file while the other half is still uploading.
Real corruption inside the data, like a bad part of a disk, is much rarer than people think. Most damaged-PDF messages come from files that never arrived complete.
Is it damage, or the wrong kind of file?
Check the size first. In File Explorer on Windows or Finder on a Mac, look at the file's size. A PDF of 0 KB is empty. A PDF of 1 to 3 KB when it should be 2 MB is almost never real: it is a download that failed or an error message saved under a PDF name. Compare with the size the sender or the website gave, if it is known.
A file name ending can lie. A web page can be saved as report.pdf when a site returned a login or error page instead of the document. A Word file renamed to .pdf will not open as a PDF either. You can often check by opening the file in a plain text program like Notepad or TextEdit: a real PDF begins with the characters %PDF followed by a version, and a web page begins with something like html or DOCTYPE. If it is a web page, the download link failed and you need to get the file again, logged in this time.
A file that was compressed into a ZIP or sent as a document with extra letters on the end, for example report.pdf.zip or report.pdf.download, needs its real ending restored. Be careful with renaming. Only rename a file when you know what it really is.
Quick things to try before anything else
Open the file in another program. Browsers such as Chrome, Edge, Firefox and Safari are often more forgiving than a dedicated reader, and they can show pages that another program refuses. On a Mac, try Preview. On a phone, try the browser, or open the PDF from your files app.
Download it again, if it came from the web. Use a good connection, and do not open it while it is still downloading. If it came by email, save the attachment to your device first and then open it from there, and not straight from the mail program, because some programs open a partial temporary copy.
Copy the file to a different folder, ideally one that is not synced to OneDrive, iCloud or Google Drive, and try again. Sync folders sometimes hold a placeholder, a small stand-in for the real file that only fills in when needed. If the file is only available online, the program sees an empty shell. Make sure the file is fully downloaded to the device first.
Rebuilding the PDF
When a program opens some or all pages, you can often save the content into a fresh file, which is a better fix than keeping the original. Any program that opens the file can print it to a new PDF. On Windows that means the Microsoft Print to PDF printer, on a Mac the Save as PDF button in the print window, and on a phone the Print and Save as PDF option. The new file is built clean and usually opens everywhere.
The price of that route is that links, bookmarks and form fields are normally lost, because the file is drawn again and not copied. Text usually stays text. Check the new file against the old one before you delete anything.
EditFlip does the same kind of rebuild without a printer step. Choose the PDF, press Edit, then Done, and the site builds a new file from what it could read. This works on a file that opens fine for you but upsets another program. It cannot give back pages that are not in the file.
Getting back what is still there
Partial recovery is common. If the first pages show and the rest are blank, the file was most likely cut off. The pages that arrived are good. Keep them: use Split on EditFlip, tap Pick pages, choose the working ones and you get a new PDF with only those. A PDF that is mostly missing is still worth keeping until the full file arrives.
If a scanned PDF opens but looks like nonsense, with strange characters or squares, the damage may be only in the text layer. The page pictures can still be fine. Convert the pages to JPG, look at them as pictures, and put them back into a PDF with Make one PDF. You lose the searchable text, and OCR can bring it back if the picture is clear.
Do not use a site that promises to repair any PDF if it asks you to upload a private document. Contracts, ID scans and bank papers should stay on your device. EditFlip works in the browser and nothing leaves your device.
When to ask for a new copy
If the size is tiny, the file begins with something that is not %PDF, every program refuses it, and a rebuild finds nothing, the content is gone. Stop spending time on it. Ask the sender for a new copy, and say how you got the file: the download link, the email attachment, the USB stick.
Ask them to send it in a way that does not touch the bytes. A ZIP file protects an attachment from some systems. A shared link to a cloud folder is often safer than a mail attachment for large files, since the link hands over the real file. If the original came from a scanner, the scanner can produce it again.
Once you have a good copy, open it at once and save a second one somewhere else. A file you cannot afford to lose should exist in two places.
On a phone and on a computer
On a phone, damaged files are most often downloads that stopped when the screen locked or the signal dropped, or files received through a chat app. Open the chat file again from the original message, or ask the sender to send it as a document and not as a photo. In your browser, long-press a download link, or check the Downloads list for the real size.
The steps on EditFlip are the same on both. Choose the PDF, press Preview, and rebuild it with Edit and Done. Everything is done on your own device, so a large file takes a moment on an old phone, but it never leaves it.
Choose the PDF, look through it in Preview, and rebuild a clean copy with Edit and Done. Keep just the good pages with Split if some are broken. Free, no account, and the file stays on your device.
Open and rebuild a PDF on EditFlip →Questions
How do I open a corrupted PDF file?
Try another program first, such as a web browser. Then rebuild it: print it to a new PDF from the program that opens it, or choose it on EditFlip and use Edit then Done. If nothing opens it, ask for a new copy.
What causes a PDF to become corrupted?
Most often a download or copy that stopped early: a weak connection, a USB stick removed too soon, a full drive, a sync folder that is not finished. Damage inside the data is rarer.
How can I tell if a PDF is really damaged or just has the wrong ending?
Check the size, and open it in Notepad or TextEdit. A real PDF starts with %PDF. A web page or an error message saved as .pdf starts with other text. A size of 0 KB or a few KB for what should be a large file is a failed download.
Can I recover the pages that are not blank?
Often yes. If some pages show, keep them with Split and Pick pages on EditFlip to make a new PDF. Pages that are not in the file cannot be brought back.
Does rebuilding a PDF change it?
A rebuild keeps the text and pictures it could read. Some things that live outside the pages may not carry over, like bookmarks or links, so compare the new file with the old one before deleting anything.
Is it safe to use an online repair site for a private PDF?
Be careful with any site that needs you to upload the file. Contracts and ID documents should stay on your device. EditFlip runs in your browser, and the file is not uploaded.
Why does a PDF open on my phone but not on my computer?
The two programs read files with different strictness. One accepts a slightly broken file and the other refuses it. Send yourself a rebuilt copy, made with Edit then Done on EditFlip, and try again.
