Most RAG quality problems I've debugged turned out to be parsing problems. A merged table cell comes loose and the model can't tell which row a number belongs to, two-column PDFs get interleaved line by line, speaker notes vanish. So I ran five converters on the same files to see where each one breaks.
Full disclosure: I wrote one of them (OpenDocKit), so read this with that in mind. The harness, raw outputs and a one-click rerun on a free GitHub runner are all public, and if a tool is set up unfairly I'd like to hear about it.
Setup: standard GitHub runner, 4 cores, no GPU, no API keys. Each tool installed the way its docs recommend for full format support and called with default options.
PDF (opendataloader-bench, 200 PDFs with hand-checked references, not mine)
| Tool | Score | Time for 200 PDFs | Runs a model |
|---|
| Docling | 0.892 | 1,063 s | yes |
| OpenDocKit | 0.889 | 36 s | no |
| Unstructured | 0.697 | 52 s | no |
| Kreuzberg | 0.689 | 4 s | no |
| MarkItDown | 0.589 | 33 s | no |
Same documents, other formats. I wrote those 200 reference documents out as DOCX, ODT, RTF, HTML and EPUB and scored every tool against the same answers. This is where the differences surprised me:
- MarkItDown returns RTF files as raw RTF source (0.17) and can't open ODT
- Kreuzberg and Unstructured read RTF text and tables but drop every heading (0.74)
- Docling drops to 0.91 on HTML
- OpenDocKit scored 0.99 on all five; Unstructured beats it slightly on DOCX and ODT (0.996 vs 0.992)
Real files from other projects' test suites (743 files):
- PowerPoint speaker notes: Kreuzberg, Unstructured and Docling each lose roughly 1,400 to 1,500 of about 23,000 words, almost all from notes
- 113 fuzzer findings and malicious files: MarkItDown and Unstructured each went past 6 GB of memory on one file
Install size: OpenDocKit 104 MB, MarkItDown 337 MB, Kreuzberg, Docling and Unstructured between 5.8 and 6.8 GB.
What I'd pick: hard PDF tables or scans on your own hardware → Docling. Raw throughput → Kreuzberg. Lots of mixed formats from users you don't control, on a CPU box → that's the case I built OpenDocKit for. It has no OCR of its own; scanned pages go to a vision model you plug in (OpenAI, Claude or Gemini).
A few things it does that matter for RAG specifically: vertically merged table cells are repeated on every row so a chunk keeps its context, output comes split per page/slide/sheet with page numbers for citations, and IsolatedConverter runs each file in a worker process with memory and time limits. There are loaders for LangChain, LlamaIndex and LightRAG, plus an MCP server. MIT licensed.
Benchmark report: https://github.com/hyeonsang010716/OpenDocKit/blob/main/benchmarks/README.md
Repo: https://github.com/hyeonsang010716/OpenDocKit
Happy to run other tools or document types if people have suggestions.
(The report also includes kordoc, a converter built for Korean office documents. It tops the PDF benchmark at 0.965, but I left it out here since it targets a different niche.)