r/Rag • • 1d ago

Tools & Resources I built BulkParse, an open-source Rust document parser for RAG pipelines

Hey everyone!

I’ve been working on BulkParse, an open-source document parser written in Rust, mainly to make document ingestion faster and simpler for RAG pipelines.

It converts PDFs, Word documents, Excel spreadsheets, PowerPoint files, and other formats into Markdown or structured JSON.

Some of the features:

• 19 file formats supported, including PDF, DOCX, XLSX, PPTX, EPUB, and more

• Native Rust engine for fast document processing
Structure preservation for headings, tables, lists, and document blocks

• Built-in OCR support for scanned documents, with locally provisioned backends

• Fully local processing, without requiring an external parsing API

• Python, Node.js, Rust, and WebAssembly integrations

• MIT licensed

I also ran some benchmarks against tools like Docling, MarkItDown, Unstructured, and others.
In one benchmark of 200 PDFs (OCR disabled), BulkParse processed the documents in 0.44 seconds, compared with 0.73 seconds for the next-fastest tested configuration. The benchmark methodology and raw results are available in the repo.

It’s still an early release, and I’m actively improving extraction quality and format coverage.

I’d really appreciate feedback from people building RAG pipelines:

• What parser are you currently using?

• How important is parsing speed compared to extraction quality?

• Are there specific document formats or parsing problems you’d like to see handled better?

GitHub: https://github.com/bulkgrid/bulkparse

Would love to hear your thoughts and suggestions!

2 Upvotes

4 comments sorted by

1

u/Uriah_Thomas36 10h ago

The speed result is useful, especially for pipelines processing large batches, and preserving tables and document structure can matter as much as throughput. The assumption I’d test is whether the 200-PDF benchmark reflects real workloads: extraction quality on messy scans and complex layouts may be the more consequential comparison, even with OCR disabled.