opendatalab/MinerU

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

What it solves

MinerU addresses the challenge of converting complex, multi-format documents into structured, machine-readable data. It provides a unified, reliable way to parse PDFs, images, Office files (Word, Excel, PowerPoint), and other formats like EPUB and HTML, making them ready for search, indexing, and use in AI agent workflows.

How it works

MinerU operates through a flexible, multi-tier parsing system that balances speed and quality. Users can choose between four tiers—Flash, Basic, Standard, and Advanced—depending on their specific needs for layout accuracy and processing speed. It supports local execution on various hardware, automatically detecting and utilizing available GPUs (NVIDIA, Intel, AMD, or Apple Silicon) for accelerated performance. The tool provides a unified interface, including a Python SDK, a command-line toolkit, and a web-based UI, to manage document conversion and output results into formats like Markdown, LaTeX, and HTML.

Who it’s for

MinerU is designed for developers and researchers building document-heavy applications, such as AI agents that need to "read" and cite long documents, or teams requiring robust, local-first document parsing for data pipelines.

Highlights

  • Supports a wide range of input formats including PDF, images, Office (DOCX/XLSX/PPTX), EPUB, OFD, and HTML.
  • Offers four distinct parsing tiers to trade off between speed and document complexity.
  • Provides hardware-accelerated inference on most major GPU platforms.
  • Features a unified toolset including a Python SDK, asynchronous Task API, and a Gradio-based WebUI.
  • Enables structured output in multiple formats, including Markdown, HTML, LaTeX, and DOCX.

Related

  • Project
  • Project
  • Project
  • Project
  • Project