MinerU converts PDFs, images, and office documents into Markdown and structured JSON for apps, agents, and local workflows.
Overview
MinerU reads complex documents and turns them into LLM-friendly Markdown or structured data. It supports PDFs and images across multiple parsing quality tiers, and uses native Flash parsing for many office and web document formats on the local machine.
The workflow combines parsing, a local document library, and tools for search, continuation by page or block, and stable citation locators. Output can target several render formats including Markdown, HTML, and structured content lists depending on the interface used.
Integration options include a Python SDK, HTTP APIs, a command-line interface, optional parsing servers, a Gradio-based WebUI, and router-style multi-service setups. Agent-oriented usage emphasizes progressive reads and JSON control output rather than loading entire files at once.
Documents are parsed locally by default; remote parsing requires explicit configuration. The project positions itself as a document reader for agents, not as a RAG framework or chat application.
Key features
- PDF and image OCR parsing tiers
- Office and HTML native Flash parsing
- Markdown and structured export formats
- Local document library with search
- Page and block continuation locators
- Python SDK and HTTP task APIs
- Command-line parse and read commands
- Gradio WebUI for review and export
Use cases
- Converting PDFs to Markdown locally
- Agent reading of long documents by page
- OCR on scanned PDFs and images
- Application integration via SDK or API
- Indexing and searching parsed document text