Fix 'Unexpected end of file' or 'Premature end of file' errors in PDF. Recover truncated PDF files online. Free, private, no uploads.
Drop your truncated PDF here to fix the EOF error
No uploads. All processing happens in your browser.
🔧Open Repair PDF →The PDF file is missing its EOF (end-of-file) marker and trailer section. This happens when a download is interrupted, a server times out mid-transfer, or email attachment is truncated.
We append a valid PDF trailer and EOF marker, then scan and recover all complete objects from the truncated file body.
You try to open a PDF and get 'Unexpected end of file' — the file is truncated and missing its ending bytes, often after an interrupted download.
Salvage everything that was successfully downloaded without needing to re-download or ask the sender to resend a 50MB file.