PDF compatibility evidence

PDF to Markdown quality depends on the page, not the extension

This evidence note separates tested conversion behavior from layouts that require review or OCR.

What the PDF research was designed to answer

PDF files describe positioned marks on pages. A converter must infer reading order and document structure, so a successful file read is not enough evidence of a reliable Markdown result.

The quality spike compared a structured candidate against a basic PDF.js text-item ordering baseline. It required better behavior on reading order, repeated noise, or heading structure without introducing known text loss.

Readable source order

Can ordinary report text be reconstructed without mixing later columns or pages into the current paragraph?

Traceable output

Can each Markdown section retain a reliable reference to its original PDF page?

Conservative warnings

Can the converter identify layouts where normal reading-order rules are not trustworthy?

No false OCR result

Can image-only pages stop clearly instead of returning empty or misleading Markdown?

Tested claims and current status

The published behavior is tied to fixed fixtures, repeated conversion checks, browser tests, and a real downloadable sample. It is not a claim that every PDF layout can be reconstructed.

AreaStatusWhat the evidence shows
Single-column reading orderValidatedRequired report sections remain in source order and the tested body text stays covered.
Headings, paragraphs, and listsValidatedRelative font and spacing signals rebuild basic structure with deterministic output.
Repeated header and footer noiseValidatedThe three-page sample removed six repeated lines without deleting its required body content.
Page traceabilityValidatedSuccessful output retains ordered HTML comments such as <!-- Page 1 -->.
Columns and table-like layoutsWarningAffected pages remain available but are identified for comparison with the source PDF.
Scanned pagesBlockedThe converter returns SCANNED_OR_NO_TEXT and does not fabricate OCR output.

How the boundaries were checked

The preflight set covered a single-column report, repeated page furniture, heading hierarchy, a two-column paper, and table or scan risk. Production tests also covered damaged input, a scan-only PDF, a risk result, and a 30-page reference file.

Deterministic output

The same file and build must produce the same Markdown bytes, warning codes, page numbers, and ordering.

Performance boundary

The 30-page reference completed inside the 10-second target in the tested desktop browser.

Download verification

Browser tests checked the .md filename, page marker, expected text, and a real download event.

Local processing

The core flow completed without sending source PDF bytes or generated Markdown to a server.

What this evidence does not prove

It does not prove high-fidelity reconstruction of every two-column paper, complex table, equation, handwritten page, embedded image meaning, or unusual PDF producer.

A warning is a request for human review, not a quality score. The original PDF remains the visual source of truth whenever layout carries meaning.

Continue with the right next step.

Compare the workflow guide with the evidence behind its limits.