MegaParse

Parser that converts PDF, DOCX, PPTX, XLSX, and CSV files into lossless LLM-ready output.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

Quivr's team built MegaParse as the ingestion layer for LLM applications that cannot afford to lose information in parsing. It converts PDF, DOCX, PPTX, XLSX, CSV, text, and image files into clean LLM-ready output while keeping tables, headers, footers, and tables of contents intact. Two modes cover most needs: the standard parser runs locally on top of system tools, while MegaParseVision routes page images through multimodal models including GPT-4o, GPT-4, and Claude 3.5 or Claude 4 for the hardest layouts, which requires OpenAI or Anthropic API keys. Installation is pip install megaparse on Python 3.11 or newer, with Poppler, Tesseract OCR, and libmagic as system dependencies, and the repository ships a FastAPI server plus Docker files for running it as a service. The project is Apache-2.0 licensed with about 7,400 stars, though commits stopped in February 2025, so treat it as stable rather than evolving. RAG builders use it as a single entry point for heterogeneous document collections instead of stitching together format-specific extractors, and the vision mode stays optional for cost control.

Should you use MegaParse?

Pick it when

Pick MegaParse when a RAG app needs one entry point for PDF, Office, and CSV files with headers, tables, and tables of contents preserved, plus an optional GPT-4o or Claude vision mode for a few hard documents.

Look elsewhere when

Skip it if you want a project that is still evolving: commits stopped in February 2025. Docling or Unstructured fill the same multi-format ingestion role without building on a stalled codebase.

Alternatives to MegaParse

  • Unstructured

    Same one-layer role across 60+ formats with chunking, vector staging, and a paid enterprise platform, though local OCR also relies on tesseract.

  • Docling

    Local layout and table models instead of paid vision APIs for hard pages, MIT licensed, and maintained under the LF AI and Data Foundation.

  • Zerox

    Sends every page to a vision model for simplicity, which costs more per page than MegaParse's local-first parsing with optional vision.

  • Marker

    Handles hard PDF layouts locally with its own layout and OCR models, avoiding per-page API costs, but its weights need a paid license above 5 million dollars in revenue.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Intermediate (3/5)
License
Apache-2.0
Added
Jul 29, 2026

Tags