parsebench

Head to head

@opendocsg/pdf2md vs pdf-parse

Same fixture, different extraction paths. These results describe this adapter configuration and this small test set.

Configured adapter capabilities
Capability@opendocsg/pdf2mdpdf-parse
Outputmarkdowntext
OCRnonenone
LicenceMITMIT
Parser chargeNo parser API feeNo parser API fee

When to test @opendocsg/pdf2md

Compare a lightweight Markdown converter against native layout-aware parsers.

The current adapter does not declare reliable table reconstruction or OCR support.

When to test pdf-parse

Compare extracted text with Markdown before choosing a parser for retrieval workflows.

This comparison measures the configured text adapter, not every feature offered by the upstream library.

Measured fixture results

How these checks work

Captured 2026-09-12 · darwin/arm64 · Node v22.21.1. Median of up to three sequential local samples. Timings will vary on other machines.

Measured parser results on synthetic fixtures
Fixture / parserStatusMedianAligned cellsReading order
@opendocsg/pdf2mdtext-layer.pdfok4.0 msNot scoredNot scored
pdf-parsetext-layer.pdfok2.0 msNot scoredNot scored
@opendocsg/pdf2mdtables.pdfok4.0 ms0/9 (0%)Not scored
pdf-parsetables.pdfok2.0 ms0/9 (0%)Not scored
@opendocsg/pdf2mdragged-table.pdfok3.0 ms0/20 (0%)Not scored
pdf-parseragged-table.pdfok2.0 ms0/20 (0%)Not scored
@opendocsg/pdf2mdmulti-column.pdfok4.0 msNot scoredChanged · 40/40 lines
pdf-parsemulti-column.pdfok2.0 msNot scoredChanged · 40/40 lines
@opendocsg/pdf2md · text-layer.pdf · raw output

Samples: 64.0 ms, 4.0 ms, 3.0 ms

# Quarterly Report 

Revenue grew 12% year over year. 


pdf-parse · text-layer.pdf · raw output

Samples: 64.0 ms, 2.0 ms, 1.0 ms

<!-- Page 1 -->

Quarterly Report
Revenue grew 12% year over year.
@opendocsg/pdf2md · tables.pdf · raw output

Samples: 5.0 ms, 3.0 ms, 4.0 ms

# Financial Summary 

Region Q1 Q2 Q3 North 120 145 160 South 98 102 115 East 210 198 225 


pdf-parse · tables.pdf · raw output

Samples: 2.0 ms, 1.0 ms, 2.0 ms

<!-- Page 1 -->

Financial Summary
Region Q1 Q2 Q3
North 120 145 160
South 98 102 115
East 210 198 225
@opendocsg/pdf2md · ragged-table.pdf · raw output

Samples: 3.0 ms, 3.0 ms, 4.0 ms

# Q3 Results by Region 

Region Manager Q1 Q2 Q3 Notes North Alice Chen 120 145 160 strong South 98 102 115 East Bob Lee 210 198 225 recovering West Dana 88 99 pending 


pdf-parse · ragged-table.pdf · raw output

Samples: 2.0 ms, 2.0 ms, 3.0 ms

<!-- Page 1 -->

Q3 Results by Region
Region Manager Q1 Q2 Q3 Notes
North Alice Chen 120 145 160 strong
South 98 102 115
East Bob Lee 210 198 225 recovering
West Dana 88 99 pending
@opendocsg/pdf2md · multi-column.pdf · raw output

Samples: 5.0 ms, 4.0 ms, 4.0 ms

# On Reading Order 

Left column line 1. Right column line 1. Left column line 2. Right column line 2. Left column line 3. Right column line 3. Left column line 4. Right column line 4. Left column line 5. Right column line 5. Left column line 6. Right column line 6. Left column line 7. Right column line 7. Left column line 8. Right column line 8. Left column line 9. Right column line 9. Left column line 10. Right column line 10. Left column line 11. Right column line 11. Left column line 12. Right column line 12. Left column line 13. Right column line 13. Left column line 14. Right column line 14. Left column line 15. Right column line 15. Left column line 16. Right column line 16. Left column line 17. Right column line 17. Left column line 18. Right column line 18. Left column line 19. Right column line 19. Left column line 20. Right column line 20. 


pdf-parse · multi-column.pdf · raw output

Samples: 2.0 ms, 2.0 ms, 2.0 ms

<!-- Page 1 -->

On Reading Order
Left column line 1. Right column line 1.
Left column line 2. Right column line 2.
Left column line 3. Right column line 3.
Left column line 4. Right column line 4.
Left column line 5. Right column line 5.
Left column line 6. Right column line 6.
Left column line 7. Right column line 7.
Left column line 8. Right column line 8.
Left column line 9. Right column line 9.
Left column line 10. Right column line 10.
Left column line 11. Right column line 11.
Left column line 12. Right column line 12.
Left column line 13. Right column line 13.
Left column line 14. Right column line 14.
Left column line 15. Right column line 15.
Left column line 16. Right column line 16.
Left column line 17. Right column line 17.
Left column line 18. Right column line 18.
Left column line 19. Right column line 19.
Left column line 20. Right column line 20.
Compare on your own PDF