BookTranslator
BookTranslator

Bouxsaej neix caengz miz youq ndaw vah mwngz, ndigah yienh youq ndaw vah Yinghgoz.

PDF Translation Failed? Find Which of Five Problems You Have

Most failed PDF translations are either an upload that never finished or a file the tool cannot read. Nine test files show how to tell which, and what to do.

BookTranslator

BookTranslator Team

11 faencik doeg

When a PDF translation fails, first work out where it failed. Either the file never finished reaching the translation tool, or it arrived and the tool could not use it. The two need opposite fixes. A dropped upload needs a better connection and nothing else; a file problem will fail again on any connection until you change the file.

The difference matters more than most troubleshooting lists suggest. In BookTranslator's own analytics events for failed PDF uploads between October 12 and November 8, 2026, failures that happened while the file was still uploading outnumbered failures after it arrived by roughly two to one. Many failed uploads involve a perfectly good PDF.

This guide sorts the remaining cases into five problems, using nine deliberately broken test files to show what each one looks like. It also covers two broken files that do not fail at all, which is the more dangerous outcome.

Five problems, by where they happen

What happenedWhere it failsTypical messageWhat to do
1. The upload never finishedBefore the file arrivesMentions an interrupted upload, a timeout, or a lost connectionUpload again on a stable connection. The file is probably fine
2. The file took too long to analyzeAfter it arrivesSays the PDF analysis timed outRetry once, then split very large or complex files
3. The file is not really a PDFAfter it arrives, before analysisSays the file is named .pdf but its content looks like another formatUpload it in its real format, or export a real PDF
4. The PDF cannot be openedDuring analysisSays the PDF may be corrupted or password-protectedGet the open password or a fresh copy of the file
5. There is nothing to translate as a PDFAfter analysisUsually a general "couldn't be uploaded" messageUse the right workflow, such as comic pages instead of one long strip

The rest of this guide explains how to confirm each one in a minute or two, and which existing guide owns the full fix.

How we built the test files

On November 11, 2026, we generated a three-page text PDF and eight broken variants of it with PyMuPDF 1.27.2.2. We then ran each file through two checks that BookTranslator's upload step uses, taken from its current source code: the file-type sniff that compares a file's actual bytes with its extension (the file-type 22.0.1 library), and the PDF analysis step that counts pages and text before a price is shown. We also ran pdfinfo from Poppler 26.08.0 on every file, because it is a free command-line tool that anyone can use to inspect a PDF without changing it.

This is a test of those two checks, not of a full translation. It shows which files are stopped at the door and which get through.

Test filepdfinfo saysFile-type checkPDF analysisResult
Normal text PDFPages: 3, Encrypted: noPDF3 pages, 474 wordsAccepted
Image-only pages (a scan)Pages: 3PDF3 pages, 0 words, 3 pages with no textAccepted as a scanned PDF
Open passwordIncorrect passwordPDFFails: "document closed or encrypted"Rejected (problem 4)
Permissions password onlyEncrypted: yes (print:no copy:no ...)PDF3 pages, 474 wordsAccepted
First 60% of the file (cut-off download)Couldn't read xref tablePDF3 pages, 316 words, 1 page with no textAccepted, with a page missing
HTML page saved as .pdfMay not be a PDF fileNo signature found1 page, 5 wordsAccepted
EPUB renamed to .pdfMay not be a PDF fileEPUBNot reachedRejected (problem 3)
PNG renamed to .pdfMay not be a PDF filePNGNot reachedRejected (problem 3)
Zero-byte fileDocument stream is emptyNo signature foundFails: empty streamRejected

Two rows deserve attention before anything else, and they come up again at the end: the cut-off download and the HTML page both passed. A missing error message is not proof that the file you uploaded is the file you meant to translate.

Problem 1: the upload never finished

If the message mentions your connection, an interrupted or incomplete upload, or an upload that timed out, the file did not fully arrive. Nothing about the PDF itself has been tested yet.

Upload it again on a stable connection. On a phone, keep the page open until the upload completes, and avoid switching networks partway through. Very large files take longer and give a weak connection more chances to drop, so if a large book keeps failing on mobile data, try a wired or home Wi-Fi connection before changing the file.

Two limits to check first, because they fail before any upload starts:

  • BookTranslator's uploader refuses files over 300 MB.
  • The file must have a supported extension. A PDF must end in .pdf.

Problem 2: the PDF took too long to analyze

Before showing a price, BookTranslator reads the whole PDF to count pages and text and to decide whether it is scanned. That analysis has a time limit. When a file exceeds it, the message says the PDF analysis timed out. In the PDF failures we looked at, this was the most common failure after a file had arrived.

The code treats this as a service-side result, not a defect in your file, so retrying once is reasonable. If it fails again, the file is usually very long, very image-heavy, or built from unusually complex pages. Split it into parts, such as one PDF per chapter or per few hundred pages, and upload the parts. Splitting also makes the translated output easier to review section by section.

Problem 3: the file is not really a PDF

A file's name and its contents can disagree. Browsers, chat apps, and download sites sometimes save an EPUB, an image, or a web page with a .pdf name. BookTranslator compares the file's first bytes with its extension. In our test, an EPUB and a PNG renamed to .pdf were both caught there, and the message names the format the content actually looks like.

The fix depends on what the file really is:

  • An EPUB or another document with the wrong name: rename it to its real extension and upload it that way. You may get a better result, because the EPUB translator works with the book's real chapters instead of fixed pages.
  • An image saved as a PDF: upload the image itself, or put the pages into a real PDF with a scanner app or PDF tool.
  • Something you do not recognize: on a Mac or Linux computer, file yourfile.pdf in Terminal reports what the bytes are. It reported EPUB document, PNG image data, and HTML document text for our three renamed files.

Problem 4: the PDF cannot be opened

If the message says the PDF may be corrupted or password-protected, the analysis could not open the file. Our test showed two common causes.

An open password. A PDF that asks for a password before it shows anything cannot be read without that password. pdfinfo reports Incorrect password, and the analysis fails. Get the password from the document's owner, make an unlocked copy, and follow our guide to translating a password-protected PDF.

A permissions password is different. Our file that only restricts printing and copying was not stopped by the upload checks, because its content opens without a password. That does not make it fair game: BookTranslator still asks you to remove protection before uploading, and removing a permissions password needs the owner's password or approval. The same guide explains that lock and when to ask the owner first.

A damaged or incomplete file. Some damaged files cannot be opened at all. The fix is a fresh copy from the original source, not a repair tool. Download it again, or ask the sender to export it again. A zero-byte file is a related case: the uploader refuses it before sending, usually with a general upload error, and it almost always means a download or sync never finished.

Problem 5: there is nothing to translate as a PDF

Some PDFs open fine but contain nothing a PDF workflow can translate. The case the current code rejects before payment, often with only a general "couldn't be uploaded" message, is a PDF where every page is one long stitched image, such as a webtoon or comic strip shrunk onto a narrow page. The text on those pages is too small to recognize. Upload the page images or a CBZ archive instead, and see how to translate a CBZ comic.

A scanned book is not this problem. A PDF made of page photos has no text layer, but BookTranslator does not reject it. Its analysis counts a page as scanned when it has fewer than 50 characters of extractable text, and when at least half the pages are scanned, the whole file goes to the scanned-PDF path, which uses OCR to read the page images. Our image-only test file was accepted that way. If you are deciding between OCR and a normal translation, this comparison of text extraction and OCR explains the difference, and the scanned PDF guide covers the full workflow.

Two broken files that did not fail

The most useful result from the test files was not an error. Two damaged inputs passed both checks.

A cut-off download. We kept the first 60% of a valid three-page PDF, which is what an interrupted download often leaves behind. pdfinfo could not read it (Couldn't read xref table). The analysis repaired it well enough to report three pages, but found text on only two. The text of page 3 was gone. Translating that file would likely produce a clean-looking result with a missing page.

A quick check: a complete PDF almost always has the marker %%EOF at or very near its end. Ours did; the cut-off copy ended in the middle of an object. On a Mac or Linux computer, tail -c 32 yourfile.pdf shows the last characters. Also open the file in your PDF reader and compare its page count with the length you expect before you pay for a translation.

A web page saved with a .pdf name. Download links sometimes save the "your download will start" page instead of the document. HTML has no binary signature, so the file-type check had nothing to compare, and the analysis read the page as one page of five words. BookTranslator shows an estimated word count with the price; a document that should run to tens of thousands of words but shows only a few hundred is the wrong file.

These are the cases where a PDF translation QA checklist earns its keep: check the page count and the last page of the translated file before you rely on it.

If the failure came from another tool

The five problems above apply to any PDF translator, but each tool also has its own limits. Google Translate's document mode and DeepL's document translation each cap file size and length, and Google's document tool does not translate text inside scanned pages. If one of those tools failed, check what Google Translate can do with a PDF or DeepL's document translation limits before assuming the file is broken.

A two-minute check before you upload again

  1. Read the message. Connection, offline, or timeout during upload means problem 1. Upload again on a stable connection.
  2. Check the real type. file yourfile.pdf should say PDF document. If it names another format, that is problem 3.
  3. Open it locally. If your PDF reader asks for a password, that is problem 4. If it opens, note the page count.
  4. Check the ending. tail -c 32 yourfile.pdf should include %%EOF. If not, get a fresh copy before translating.
  5. Look at one page. If you cannot select any text, it is a scan, and the scanned path handles it.

When the file passes these checks, upload it to the PDF translator and look at the word count shown with the price. It is an estimate with a per-page minimum, so it will not reveal one missing page, but a document that should run to tens of thousands of words and shows a few hundred is the wrong file. For a missing page, the page count and %%EOF checks above are the reliable signals.

Okuthunyelwe Okuhlobene

PDF Translation Failed? Find Which of Five Problems You Have