Six approaches to the same PDF

Text extraction, Markdown conversion and layout-aware parsing solve different problems. Every row below is measured on the same fixtures, ranked by table score.

Parser comparison: output, OCR, licence and fixture scores
ParserOutputOCRLicenceTableReading orderHeading
pdf-inspectormarkdownnoneMIT
100%
100%
100%
LiteParsemarkdownbuiltinApache-2.0
100%
100%
80%
OpenDataLoader PDFmarkdownbuiltinApache-2.0
0%
76%
100%
@opendocsg/pdf2mdmarkdownnoneMIT
0%
76%
100%
unpdftextnoneMIT
0%
76%
0%
pdf-parsetextnoneMIT
0%
76%
0%

No parser in this roster currently reads the scanned fixture (0 of 6) — anything recovered there would require optical character recognition applied to a full-page image, which none of these adapters do. Table score is cell-weighted across the fixtures that carry a text layer; reading order and heading are averaged.