Skip to content

MinerU Document Extraction Tools: Install, Tiers and Limits

AINewss Editorial

MinerU document extraction tools convert complex PDFs, Office files, images and more into LLM-ready Markdown or JSON. Developed as open source by OpenDataLab, version 4.x adds four quality tiers, local-first parsing and a documented hardware matrix. This guide covers installation, supported formats, backends, cloud options and the license caveat.

View 2 references
0 views 0 likes

Allow the functional cookie to save your likes. Privacy details

A document parsing pipeline turning a scanned PDF into structured Markdown

What are MinerU document extraction tools?

MinerU document extraction tools are an open-source parsing toolkit from OpenDataLab that converts complex documents, including PDFs and Office files, into LLM-ready Markdown or JSON. The current README describes MinerU 4.3, with installation targeting the 4.x line (mineru>=4.0,<5). Parsing is local by default: documents stay on your machine unless you explicitly request remote processing.

MinerU document extraction tools are an open-source parsing toolkit from OpenDataLab that converts complex documents, including PDFs and Office files, into LLM-ready Markdown or JSON. The current README describes MinerU 4.3, with installation targeting the 4.x line (mineru>=4.0,<5). Parsing is local by default: documents stay on your machine unless you explicitly request remote processing.

The project positions itself as infrastructure for building RAG and knowledge-base pipelines. That shows up in features like stable block locators, page and block continuation reads, and image output for pages and blocks, which are more useful to a retrieval system than a one-time text dump.

What can MinerU document extraction tools parse?

MinerU accepts PDF, images (PNG, JPG, JPEG, WEBP, GIF, BMP, TIFF, JP2), Word (DOC, DOCX), PowerPoint (PPT, PPTX), Excel (XLS, XLSX), RTF, OpenDocument formats (ODT, ODS, ODP), EPUB, OFD, HTML, MHTML, CSV and TSV. Plain text formats such as TXT, MD and TeX are meant to be read directly rather than parsed.

MinerU accepts PDF, images (PNG, JPG, JPEG, WEBP, GIF, BMP, TIFF, JP2), Word (DOC, DOCX), PowerPoint (PPT, PPTX), Excel (XLS, XLSX), RTF, OpenDocument formats (ODT, ODS, ODP), EPUB, OFD, HTML, MHTML, CSV and TSV. Plain text formats such as TXT, MD and TeX are meant to be read directly rather than parsed.

All four quality tiers apply to PDFs and images. Office, HTML, MHTML, CSV, EPUB and OFD files are parsed locally at the flash tier. EPUB is parsed in OPF spine order with internal links preserved, and MHTML is handled as a complete document. Output can be a Markdown file, structured JSON with parse summaries, or plain text to stdout.

How do you install MinerU?

The documented path uses uv and Python 3.12, with support for Python 3.11 through 3.14. Create an environment, install the 4.x package and run a standard-tier parse to verify everything works. The web UI is a separate command, and other installers are available if you prefer pipx or plain pip:

The documented path uses uv and Python 3.12, with support for Python 3.11 through 3.14:

pip install uv
uv venv .mineru --python 3.12
source .mineru/bin/activate
uv pip install -U "mineru>=4.0,<5"
mineru-kit parse document.pdf -o document.md --tier standard
mineru-kit webui

Other supported installers include uv tool install, pipx install and plain pip install, all pinned to the 4.x line. Verify with mineru --help or mineru version --json. Windows users activate the virtual environment with .mineru\Scripts\Activate.ps1.

What are MinerU's quality tiers?

MinerU 4.x replaces a single parse mode with four tiers that trade speed against accuracy. Choosing the right tier is the main practical decision, because it affects both hardware needs and output quality. Flash is for discovery and indexing, basic for low-resource machines, standard for regular reading, and advanced for difficult scans and layouts.

MinerU 4.x replaces a single parse mode with four tiers that trade speed against accuracy. Choosing the right tier is the main practical decision, because it affects both hardware needs and output quality.

Tier Quality and speed Good for
flash Lowest quality, fastest Discovery, preview, indexing
basic Basic quality, medium speed Low-resource local parsing
standard Standard high quality Regular reading, complex documents
advanced Better on hard documents, slowest Difficult layouts and scans

mineru-kit parse document.pdf -o document.md --tier standard is the documented standard-tier example. The older mineru CLI remains available alongside the newer mineru-kit commands.

What hardware does MinerU need?

The base install runs on CPU across Windows, Linux and macOS, with optional Intel, AMD, NVIDIA and Apple Silicon acceleration. A minimal basic-tier setup with ONNX needs about 0.8 GB of model download and 2 GB RAM. Standard or advanced tiers with ONNX plus llama.cpp need about 2 GB of models and 8 GB RAM.

The base install runs on CPU across Windows, Linux and macOS, with optional Intel, AMD, NVIDIA and Apple Silicon acceleration. A minimal basic-tier setup with ONNX needs about 0.8 GB of model download and 2 GB RAM. Standard or advanced tiers with ONNX plus llama.cpp need about 2 GB of models and 8 GB RAM.

The mineru[full] extra is the heavy option: roughly 3 GB of models, 16 GB RAM, an NVIDIA Volta-or-newer GPU with at least 8 GB VRAM, and about 5 GB of extra disk space. Apple Silicon is recommended at standard tier with the torch extra; an Intel Mac is better served by basic tier on the base package.

Does MinerU send documents to the cloud?

By default, no. Local parsing is the normal path, and remote parsing happens only when you pass --remote and provide a MINERU_API_KEY. You can check usage with mineru usage. Hosted demos also exist on Hugging Face Space (limited to flash and basic tiers because of ZeroGPU constraints) and ModelScope Studio (all four tiers).

By default, no. Local parsing is the normal path, and remote parsing happens only when you pass --remote and provide a MINERU_API_KEY. You can check usage with mineru usage. Hosted demos also exist on Hugging Face Space (limited to flash and basic tiers because of ZeroGPU constraints) and ModelScope Studio (all four tiers).

That local-first design is the main reason teams choose MinerU for sensitive documents. Be aware that choosing a hosted demo or --remote changes the data handling completely.

How do you use MinerU from Python?

For a document library workflow, the README describes starting a local service and using DoclibClient. This path gives you stable locators and page or block continuation reads, which are useful when a document exceeds one response. The service must be running before the client can submit a parse request:

For a document library workflow, the README describes starting a local service and using DoclibClient:

from mineru import DoclibClient, ParseRequest

client = DoclibClient()
req = ParseRequest(path="paper.pdf", tier="standard")
client.ensure_parse(req)
content = client.get_parse(req)
print(client.read_content(content))

The service is started with mineru server start. A simpler scripted route is mineru parse document.pdf --json, which defaults to the first 10 pages, while mineru-kit parse processes all pages. Stable locators look like doc:{short_id}/tier:{tier}/page:{page_no}/block:{block_no}.

MinerU 4.x vs 3.x

The 4.x line reorganized both the CLI and the quality model. Older tutorials that mention pipeline, vlm or hybrid backends describe the 3.x generation. Version 4.x standardizes on four named tiers, a new mineru-kit command set and a documented migration path. Check your installed version with mineru version --json before following any guide.

The 4.x line reorganized both the CLI and the quality model.

Dimension MinerU 3.x MinerU 4.x
CLI mineru commands mineru-kit plus mineru
Quality control Backend flags such as pipeline / vlm / hybrid Four tiers: flash to advanced
Install target mineru[all] mineru>=4.0,<5
Python 3.10–3.13 in older guides 3.11–3.14
Migration — Documented 3.x to 4.0 guide

If you are following an older tutorial that mentions pipeline, vlm or hybrid backends, expect it to be out of date for 4.x.

Frequently asked questions about MinerU

The frequent questions cover scanned papers, commercial licensing and accuracy claims. MinerU accepts scanned PDFs and the standard and advanced tiers are aimed at complex layouts. Its license is Apache 2.0 based with additional conditions, not plain Apache 2.0. Numeric accuracy figures in older guides refer to earlier versions, not necessarily 4.x.

Can MinerU handle scanned academic papers?

Yes. PDFs including scanned papers are a stated input type, and the standard and advanced tiers are intended for complex layouts. Tables, formulas and reading order are typical RAG pain points, so test your own document set before committing.

Is MinerU free for commercial use?

The repository uses a MinerU Open Source License described as based on Apache 2.0 with additional conditions. That is not identical to plain Apache 2.0. Read the license file before deploying commercially.

Does MinerU publish an accuracy score?

The README links to OmniDocBench but does not print a current numeric score in the text we read. Older third-party guides quote OmniDocBench figures for earlier versions. Do not carry those numbers into a 4.x decision without checking a dated evaluation.

Limitations and scope

This guide reflects the official README as of December 2026; version 4.3 is the stated release. Hardware figures are minimums, not throughput guarantees. Output quality varies heavily with scan quality and layout complexity, and the four tiers are a speed/quality tradeoff rather than a promise.

The license has extra conditions beyond Apache 2.0, and cloud parsing is opt-in, not the default.

This guide reflects the official README as of December 2026; version 4.3 is the stated release. Hardware figures are minimums, not throughput guarantees. Output quality varies heavily with scan quality and layout complexity, and the four tiers are a speed/quality tradeoff rather than a promise. The license has extra conditions beyond Apache 2.0, and cloud parsing is opt-in, not the default.

References

  1. MinerU official repository READMEgithub.com
  2. MinerU ecosystem and RAG integrationsmineru.net