Head to head
LiteParse vs @opendocsg/pdf2md
Same fixture, different extraction paths. These results describe this adapter configuration and this small test set.
| Capability | LiteParse | @opendocsg/pdf2md |
|---|---|---|
| Output | markdown | markdown |
| OCR | builtin | none |
| Licence | Apache-2.0 | MIT |
| Parser charge | No parser API fee | No parser API fee |
When to test LiteParse
Compare a layout-aware extraction path with plain-text baselines on the same PDF.
OCR capability does not establish accuracy on scans. The published fixtures contain text layers.
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.
Measured fixture results
How these checks workCaptured 2026-09-12 · darwin/arm64 · Node v22.21.1. Median of up to three sequential local samples. Timings will vary on other machines.
| Fixture / parser | Status | Median | Aligned cells | Reading order |
|---|---|---|---|---|
| LiteParsetext-layer.pdf | ok | 112.0 ms | Not scored | Not scored |
| @opendocsg/pdf2mdtext-layer.pdf | ok | 4.0 ms | Not scored | Not scored |
| LiteParsetables.pdf | ok | 144.0 ms | 9/9 (100%) | Not scored |
| @opendocsg/pdf2mdtables.pdf | ok | 4.0 ms | 0/9 (0%) | Not scored |
| LiteParseragged-table.pdf | ok | 215.0 ms | 20/20 (100%) | Not scored |
| @opendocsg/pdf2mdragged-table.pdf | ok | 3.0 ms | 0/20 (0%) | Not scored |
| LiteParsemulti-column.pdf | ok | 745.0 ms | Not scored | Preserved · 40/40 lines |
| @opendocsg/pdf2mdmulti-column.pdf | ok | 4.0 ms | Not scored | Changed · 40/40 lines |
LiteParse · text-layer.pdf · raw output
Samples: 349.0 ms, 109.0 ms, 112.0 ms
<!-- Page 1 --> Quarterly Report Revenue grew 12% year over year.
@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.
LiteParse · tables.pdf · raw output
Samples: 146.0 ms, 144.0 ms, 143.0 ms
<!-- Page 1 --> # Financial Summary | Region | Q1 | Q2 | Q3 | |---|---|---|---| | North | 120 | 145 | 160 | | South | 98 | 102 | 115 | | East | 210 | 198 | 225 |
@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
LiteParse · ragged-table.pdf · raw output
Samples: 216.0 ms, 214.0 ms, 215.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 · 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
LiteParse · multi-column.pdf · raw output
Samples: 745.0 ms, 744.0 ms, 745.0 ms
<!-- Page 1 --> # On Reading Order Left column line 1. Left column line 2. Left column line 3. Left column line 4. Left column line 5. Left column line 6. Left column line 7. Left column line 8. Left column line 9. Left column line 10. Left column line 11. Left column line 12. Left column line 13. Left column line 14. Left column line 15. Left column line 16. Left column line 17. Left column line 18. Left column line 19. Left column line 20. Right column line 1. Right column line 2. Right column line 3. Right column line 4. Right column line 5. Right column line 6. Right column line 7. Right column line 8. Right column line 9. Right column line 10. Right column line 11. Right column line 12. Right column line 13. Right column line 14. Right column line 15. Right column line 16. Right column line 17. Right column line 18. Right column line 19. Right column line 20.
@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.