When a PDF won’t open, rebuild it from the pages still inside and see what was recovered.
Not every page: pages missing from the file, like the end of a stopped download, can’t come back, and the result names them. A broken index or page list usually comes back in full.
Then the readable pages are redrawn as pictures, so you keep what’s visible. Their text can’t be selected; run OCR PDF on the result to make it searchable.
Files are processed in your browser and never leave your device.