Guides

Check whether a PDF download lost its end marker

Follow these steps using a local file and keep the original.

Check whether a PDF download lost its end marker
Actual local tool workspace with a synthetic sample.

Prepare the example

Reproduce with these original sample files: a4-3pages.pdf. Make a copy before following any rename, truncation or byte-edit instruction.

Use a disposable copy shortened by 512 bytes to reproduce an interrupted download.

Run the workflow

  1. Open the related tool below and load the prepared file(s).
  2. The diagnostic warns about a missing PDF EOF marker near the file end.

Verified example result

This example was reproduced in Chrome on 2026-12-04 using FileTypeKit 0.9.0 and synthetic data. The expected result or expected refusal was checked; this does not establish support for every real file.

Observed tool output (English)
{
  "bytes": 895,
  "detected": "PDF",
  "confidence": "signature",
  "checks": [],
  "warnings": [
    "PDF end marker absent near end; download may be incomplete. Do not append a guessed marker."
  ],
  "recoveries": []
}

Limitations and what to verify

Appending a marker does not rebuild cross-reference tables. Obtain the full source file.

Open related toolDownload sample