mrkeyoor.comAsk

opendatalab/MinerUtested 09 Nov 2026commit 8cd0842

MinerU review

Use MinerU if you can operate the parsing service and compare required fields with original documents.

  • Safety failed
  • Build 9 s
178 sto install
  • Tests timed out
  • 286 packages
Dataevaluationupdated 19 Nov 2026
+222stars / 7d

MinerU converts PDFs, scans and other documents into readable text and structured outputs. Its README describes local parsing, a document library and application interfaces. LowerGears reported that an invoice field survived recognition but disappeared from exported Markdown.

Verdict

Use MinerU if you can operate the parsing service and compare required fields with original documents. Our run at commit 8cd0842 installed in 178 seconds, built in 9 seconds and reached the 900-second test limit. Skip it for invoice ingestion that accepts Markdown without a field check: LowerGears reported a recognized IBAN disappearing during export. The later deployment attempt stopped because the runner found no required Compose file.

MinerU infographic: converts PDFs and scans into readable text, plus its uses, our test result, pitfalls and who it suits
Tested 9 November 2026: the source install took 178 s and the build 9 s.

We ran it

Lab card: what happened when we ran MinerU
Lab card from our sandbox run
Screenshot of MinerU (opendatalab.github.io/MinerU)
opendatalab.github.io/MinerU
Install✓ · 178s286 packages · 8297 MB
Build✓ · 9s
Tests✗ timed out · 900sran, no count parsed
Known vulns57(pip-audit)
Repo1096 files~158,859 lines of source · 28.6 MB · 4 CI workflows · tests dir

Answers from our run

Does MinerU build from source?

Dependencies installed in 178 seconds (286 packages), and the build succeeded in 9 seconds. We cloned commit 8cd0842 into a clean Debian container with 3 CPUs and no project-specific setup.

Do MinerU's tests pass?

We could not finish them: the suite was still running after 15 minutes in our container.

Does MinerU have known vulnerabilities in its dependencies?

pip-audit flagged 57 known advisories in the dependency tree at the time of our run.

Who should not use MinerU?

Invoice workflows that accept exported Markdown without checking payment details.

What are the alternatives to MinerU?

Docling, PaddleOCR. Use MinerU if you can operate the parsing service and compare required fields with original documents.

Setup3/5Our source checkout installed in 178 s and built in 9 s, a heavy install of 286 dependencies, and we did not run a README task.Editor’s note: Installation and build completed, but tests timed out and the later deployment stopped at its prerequisite check; complete service setup ease was not assessed.
Docs4/5The README has an install section (“Quick Start”) and usage in the same section; we did not run its quickstart ourselves.Editor’s note: The README documents installation, tiers and telemetry, but a complete documented parsing workflow was not executed in our run.
Community5/5Last push on 2026-11-18, 84,003 stars and maintainers answered or closed 10 of the 10 most-discussed issues we sampled.Editor’s note: Sampled discussions contain maintainer responses and user workarounds, but adoption and support response times were not measured.
Maturity3/5Latest release mineru-4.2.3-released on 2026-11-16, repository created 2024-02-29 and its test suite timed out in our sandbox.Editor’s note: The source scan found CI workflows and tests, but the suite timed out and current extraction reliability was not assessed.

How we score

Discussed on

  1. hnOpen-source tool helps you convert PDF documents, web pages, etc., into Markdown61 points

Who it’s for

Developers building PDF ingestion who can compare required fields with original pages.
Dataset builders who preserve source documents alongside extracted content.
Operators who can select a parsing tier and backend and follow a document through their application.

Who it’s NOT for

Invoice workflows that accept exported Markdown without checking payment details.
Teams requiring a small installation: our installed environment occupied 8,297 MB.
Operators requiring demonstrated extraction accuracy or balanced multi-GPU processing from this assessment.

Setup reality

Our November 9, 2026 sandbox run at commit 8cd0842 installed in 178 seconds and built in 9 seconds. It recorded 286 dependencies, 8,297 MB on disk and 57 known vulnerabilities from pip-audit. Tests timed out in 900 seconds; the log tail included unrecognized CLI-option errors. A November 19 deployment attempt stopped at a safety check because the runner found no required Compose file.

The README requires Python >=3.11,<3.15 and documents installation in a virtual environment, parsing tiers and model setup. Local parsing is the default. Remote parsing requires explicit configuration. Doclib telemetry starts enabled and has inspection and disable commands.

The recorded sandbox configuration was 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm.

MinerU installed in 178 seconds and built in 9 seconds in our sandbox, then its tests hit the 900-second limit. Use it when you can operate the parsing service and compare required fields with original documents. Skip it for invoice ingestion that accepts Markdown without that comparison: LowerGears reported that a recognized IBAN disappeared during export. Recognition and export retention are separate acceptance checks.

What people use MinerU for

MinerU users report chart extraction, dataset preparation and PDF parsing behind application interfaces. Those uses place different demands on the result: a dataset needs reusable content, an invoice workflow needs payment fields, and an application needs the uploaded file to reach the parser. The examples below identify the person or discussion behind each outcome rather than treating every reported use as a result from our lab.

  • In LowerGears' August 2026 document comparison, MinerU returned bar-chart values as a table and generated an image description. The author also rebuilt Markdown after an invoice IBAN disappeared from the stock export.
  • The presenter of MinerU 2.5 with vLLM: Extract Data from Any PDF describes creating custom datasets from extracted content and reusing that content. The presenter also describes earlier heavy production use as sluggish.
  • In Dify integration issue #2006, swordry reported successful PDF uploads and parsing through Swagger UI, followed by problems using the Dify workflow despite green plugin authorization.
  • In heading-classification issue #1730, spetaa enabled experimental title_aided processing with an external model endpoint and changed the prompt and return format.

For research papers, hqmank's math-heavy PDF demonstration describes Markdown containing LaTeX and extracted images. That gives a concrete output to inspect: an equation, its surrounding paragraph and any associated table or caption. For application ingestion, the equivalent check follows the required field into the final exported file. The acceptance target is the content consumed by the next system, rather than text recognition alone.

What happened when we ran it

Our November 19 hands-on attempt failed its safety check because no Compose file was found. The earlier November 9 sandbox run reached installation, build and tests at commit 8cd0842. Installation took 178 seconds, the build took 9 seconds, and tests reached the 900-second limit. These are separate runs with different stopping points, so their results belong in separate deployment and source-checkout accounts.

The November 19 run summary describes deployment using the project's own Docker Compose with every port bound to 127.0.0.1. The safety-step result instead records failure because none of compose.yaml, compose.yml, docker-compose.yaml or docker-compose.yml existed where required. We classify the attempt by that failed prerequisite. The subsequent teardown result was ok.

At commit 8cd0842, the November 9 test tail included No such option: --api-server-no-advanced, No such option: --no-advanced and Unsupported API server tier 'unknown'. The message listed supported tiers as auto, flash, basic, standard and advanced. Progress dots and skipped-test markers also appear in our sandbox measurement log. The recorded outcome is a timeout accompanied by those messages.

Sandbox step or observation Recorded result
Installation Succeeded in 178 seconds
Dependency footprint 286 dependencies recorded, 8,297 MB on disk
Build Succeeded in 9 seconds
Tests Timed out in 900 seconds
pip-audit 57 known vulnerabilities
Source checkout 1,096 files, about 158,859 source lines, 28.6 MB
Repository signals Four CI workflow files, a tests directory, no Dockerfile detected

We measured 57 known vulnerabilities with pip-audit in the installed environment. Our November 9 measurements record 3 CPUs, 8 GB RAM and image label ghcr.io/astral-sh/uv:python3.12-bookworm. The installed environment occupied 8,297 MB, while the source checkout occupied 28.6 MB. Those figures measure different things: the installation footprint includes the environment assembled for the run; the checkout figure describes the repository files.

Where people get stuck: imports, exports and application wiring

Historical MinerU and magic-pdf reports describe failures at several different boundaries, including imports, table processing and application integration. In #233, a generic missing-dependency message persisted after detectron2 installation. In #556, an ARM Linux image encountered precompiled dependency problems. In #1723, access to a wheel host was affected by server network policy. Similar installation symptoms therefore led to different investigations.

Report and affected path What the user encountered Response and outcome
Issue #233: magic-pdf 0.6.x dependencies A missing-dependency message persisted after detectron2 installation cyz2453057960 exposed the import error and reported success after updating matplotlib. Linux GL/EGL advice appeared separately.
Issue #556: ARM Linux container Installation selected 0.6.1 instead of 0.7.1 The maintainer identified unsupported precompiled dependencies on ARM Linux. James-Dao proposed trying an AMD image.
Issue #1723: remote company server An older magic-pdf package kept being selected Mipple-gxy traced wheel-host access failure to server network policy and manually transferred a wheel; version confusion continued.
Issue #659: magic-pdf 0.7.1 GPU tables An array-axis error occurred during GPU table processing while CPU processing worked Disabling table recognition avoided the crash. The maintainer suggested an isolated Paddle test.
Issue #1131: magic-pdf 0.10.x in Sanic PaddleOCR import failed in the service although standalone calls worked The maintainer suspected repeated initialization and multiprocessing. The user said a single worker still invoked multiprocessing.

Dify introduces another boundary after the parsing endpoint. Issue #2006 records successful Swagger uploads with magic-pdf 1.2.2 and green authorization in Dify 1.1.3. The discussion also records Request URL is missing an 'http://' or 'https://' protocol. Authorization, file delivery and parsing are separate steps. A useful application acceptance check follows an upload through Dify to the returned document result.

An invoice can survive recognition and lose payment details during export

LowerGears reported that the model transcribed an invoice's IBAN, but MinerU's Markdown generator discarded it as page furniture. The August 2026 comparison places the loss between recognized blocks and the final Markdown. Page furniture refers here to material such as footers, page numbers and fine print. An invoice footer can contain a required payment field even when removing it makes continuous text cleaner.

The workaround was to rebuild Markdown from the block list. LowerGears says they reran the comparison column after rebuilding the export, so the changed output belongs alongside the stock-output observation. For an invoice acceptance check, compare payment fields across the original PDF, recognized blocks and final Markdown. A field present in the blocks but absent from Markdown directs attention to export processing.

OCR means recognizing text in a scanned page. That check alone would have missed the reported IBAN loss because the recognized value existed before export. Preserve a small set of required fields with their original page locations when evaluating a document workflow. The useful distinction is whether a value is absent from recognition, removed during export or lost later when an application consumes the result.

Long documents and multiple GPUs expose different completion problems

Renee1003 reported successful parsing at 10 pages and a segmentation fault at 50 pages, while their usual PDFs were around 300 pages. Issue #5045 concerns a Docker pipeline deployment and subsequent package changes. Its visible log records a 50-page processing window followed by exit code 139 and restarting. Document length, batch configuration and the last completed page belong together in a capacity record.

In issue #667's LitServe discussion, 234687552 reported 15 concurrent requests across four GPUs, with GPU 0 saturated and the others relatively idle. randydl suggested disabling table recognition and repeating the load check. A separate user reported successful requests after installing python-multipart. Another reported HTTP 500 with 'Layoutlmv3_Predictor' object has no attribute 'parameters'. These are distinct request, processing and utilization outcomes.

Table recognition also appears in issue #724, whose title reports that a 4.5M PDF had still not finished after half an hour. The configuration enabled TableMaster, and the report included H100 hardware. The maintainer checked configuration, considered a separate OCR example's speed normal and requested a sample. For capacity assessment, record document completion and utilization on each GPU alongside the version, backend and export mode.

Local parsing and telemetry are separate settings

The README says local parsing is the default and Doclib telemetry starts enabled. MinerU's privacy and telemetry documentation describes telemetry as locally aggregated command outcomes, tier choices, coarse environment categories and performance metrics. Its stated exclusions include document contents, extracted text and images, file names and paths, search queries and API keys. Remote document parsing requires explicit configuration rather than following automatically from the local default.

The README documents mineru telemetry status and mineru telemetry preview for inspection. It documents mineru telemetry disable to stop collection and sending, and MINERU_TELEMETRY_DISABLED=1 for the Doclib server environment. The standalone parser SDK, mineru-kit parse and V1 API Server are outside that telemetry scope. These are documented commands and boundaries, rather than commands executed during this correction.

Historical integrations add other network routes. Issue #1730's heading-classification configuration includes an external model endpoint and API key. An API warning in issue #5045 describes SSRF and internal-network probing risk when callers can select inference endpoints on a publicly reachable service. SSRF means a caller can cause the server to contact another destination. A deployment description should name the parsing route and enabled integrations.

English instructions exist alongside Chinese troubleshooting discussions

MinerU has English and Simplified Chinese READMEs, and several detailed issue conversations are largely Chinese. The English README covers installation, parsing tiers, telemetry and service commands. The ARM conversation in #556, Dify discussion in #2006 and heading-classification prompts in #1730 require following the language of the individual exchange. Issue numbers and exact exception strings help connect translated advice to the original problem.

The distinction between a suggestion and a reported success survives translation. In #233, a user explicitly says updating matplotlib worked. In #1131, the maintainer proposes an initialization conflict, and the user explains that a single worker still invokes multiprocessing. In #1730, participants modify prompts and output formatting; spetaa reports missing headings with an input described as 498, and later discussion identifies truncated output. Those exchanges describe different stages of troubleshooting.

MinerU vs Docling, PaddleOCR and other named alternatives

LowerGears reported Docling using less than half MinerU's GPU memory in their setup. The comparison discussion also favors Granite-Docling's Markdown tables and heading levels on clean digital documents. The author used their own service, hexread.com, for a six-document comparison on an L4 GPU. The MinerU invoice column was rerun after its Markdown was rebuilt from recognized blocks.

Alternative Attributed comparison evidence Reason to include it in a corpus check
Granite-Docling LowerGears preferred native pipe tables and real heading levels and reported less than half MinerU's GPU-memory use Raw Markdown readability or GPU-memory budget decides the choice.
PaddleOCR-VL LowerGears included it on the same six document types and L4 GPU Compare its document output against the same required fields.
GLM OCR xignaceh preferred it after mixed MinerU results and finding Docling slow Include another model when the same documents produce inconsistent results.
OXR Bilibili listings include a MinerU 4 comparison and a follow-up about two handwritten images Inspect the actual outputs and handwriting examples.

The first three rows describe LowerGears' observations and xignaceh's separate preference. The OXR row describes Bilibili video titles. PaddleOCR-VL is the particular comparison candidate; PaddleOCR is the broader toolkit. Likewise, an observation about Granite-Docling's export belongs to the configuration and documents being discussed. Keep the same original files, required fields and export format when comparing candidates for your application.

Outdated claims, corrected

The promotional claim that MinerU extracts everything into clean Markdown conflicts with the reported invoice omission. The X promotion makes the completeness claim, while LowerGears' invoice account identifies a transcribed field removed during export. The correction is specific: recognized content can differ from exported content. The original page is the reference for checking both stages.

hqmank's X description says everything runs locally with no API or tokens. The README documents explicit remote parsing, and #1730 shows an external model endpoint with an API key. Local parsing is a documented route. The phrase does not describe every integration, and telemetry has its own settings. Describing the selected route is more useful than treating local execution as a universal account of network behavior.

In issue #5045's package-index exchange, a bot proposed torch 2.6.0 from the cu121 index, but installation returned No matching distribution found for torch==2.6.0. The bot acknowledged that the index lacked that package and changed its advice to cu124. This is a correction to the installation advice in that exchange, rather than a replacement installation recipe or a newly executed command.

Questions people ask

The invoice omission supports checking final Markdown, and the Docling discussion supports an attributed memory comparison; broader rankings are covered in the assessment boundaries below. For getting started, the README supplies a Python requirement and a stateless parsing command. The answers here distinguish those documented entry points from historical troubleshooting reports, so an old magic-pdf error does not become an instruction for every current MinerU installation.

How does MinerU compare with Docling for extraction quality, Markdown readability, speed and GPU memory?

LowerGears reports less than half MinerU's GPU-memory use for Docling and prefers Granite-Docling's raw Markdown on clean digital documents. The same discussion contains xignaceh's separate description of Docling as slow. These accounts answer different parts of the question: one describes a small service-based comparison, while the other explains a personal choice of GLM OCR after mixed experiences with MinerU.

How does MinerU compare with PaddleOCR?

PaddleOCR-VL was included in LowerGears' six-document comparison alongside MinerU and Granite-Docling on an L4 GPU. The comparison account identifies that particular model as the candidate, rather than every tool in the PaddleOCR project. For selecting an alternative, use the same PDFs and required output fields. The invoice example makes the final export format an important part of that comparison.

How do I get started using MinerU for PDF OCR?

The README requires Python >=3.11,<3.15 and documents installing the stable 4.x line in a virtual environment with uv pip install -U "mineru>=4.0,<5". Its stateless example is mineru-kit parse document.pdf -o document.md --tier standard. The quick start also explains parsing tiers and model engines. These commands are documentation examples; installation and model configuration are separate parts of the workflow.

Will MinerU's Markdown retain invoice footers, IBANs and fine print?

LowerGears reported a transcribed IBAN missing from stock Markdown because the exporter classified it as page furniture. The author rebuilt Markdown from the block list and reran the comparison column. For invoice ingestion, the practical check is the payment field in the original PDF, recognized blocks and final Markdown. That identifies whether the loss occurred during recognition or export.

How does MinerU compare with the newly released XBerg?

LowerGears replied that XBerg results were attached in another comment after a reader asked about it. The visible exchange contains that request and reply. The numerical memory observation in the discussion concerns Docling, while the detailed MinerU observations concern chart extraction, image descriptions and invoice export. The XBerg reply supplies a location the author named rather than another measured result for this review.

Why does enabling table recognition make MinerU so slow?

Issue #724 reports more than half an hour without completing a 4.5M PDF with TableMaster enabled on an H100 deployment. The maintainer considered a separate OCR example's speed normal and requested a sample. The table-recognition discussion therefore separates that slow table path from the OCR example. Issue #667 also contains slow-table reports through a historical LitServe service.

Why does the MinerU service return HTTP 500 with a Layoutlmv3_Predictor parameters error?

BlackMoki-bot reported HTTP 500 with 'Layoutlmv3_Predictor' object has no attribute 'parameters' in #667, and randydl suspected the processing code. That exchange is separate from the thread's multipart dependency and GPU-utilization reports. Retaining the full exception and service configuration helps distinguish the processing failure from a request that starts working after an additional dependency is installed.

Why does pip install an older magic-pdf version instead of the requested release?

Mipple-gxy traced wheel-host access failure to server network policy in #1723, while #556 describes an ARM Linux dependency problem. The network report includes manual transfer of a detectron2 wheel; the ARM discussion identifies unsupported precompiled dependencies. Both conversations involve an older package being selected, but their reported causes point to different environment checks.

Can I install MinerU inside an ARM Linux container or an existing company base image?

For the historical magic-pdf installation in #556, the maintainer said some precompiled dependencies did not support ARM Linux. James-Dao needed an internal base image and proposed trying an AMD image. The container discussion concerns that architecture and installation generation. The current README separately describes engine and hardware choices for the 4.x line, including a default installation with CPU inference support.

Why does MinerU still report a missing dependency after detectron2 is installed?

cyz2453057960 reported success after exposing the underlying import error and updating matplotlib in #233. The dependency discussion also contains separate advice about Linux GL/EGL libraries. The original broad dependency message persisted after detectron2 installation, which explains why the underlying exception was useful. The user's successful matplotlib change and the Linux library suggestion are different pieces of troubleshooting evidence.

What we have not tested yet

Our November 9 run at commit 8cd0842 measured setup and repository checks, not extraction accuracy, throughput, latency, GPU memory or concurrency. Actual runtime versions require raw toolchain logs; the image label identifies configuration. The timeout identifies neither its cause nor a failed assertion. The November 19 deployment summary conflicts with its failed safety step. That attempt contains no known-answer questions or screenshot records.

The August 2026 invoice comparison does not identify its exact MinerU version. Its six-document comparison used the author's service and a modified MinerU export, so it supports attributed observations rather than current 4.x behavior or a universal ranking. Our lab compared none of the alternatives. Marker, MarkItDown, DeepSeek OCR, PyMuPDF and Unstructured have no measured comparison here; the XBerg reply and OXR titles add no scored results.

Does MinerU preserve cross-page tables and mathematical notation consistently in dense research papers?

Consistency across dense research papers is unassessed: our run included no document corpus for table continuity or formula fidelity. hqmank's X demonstration describes Markdown, LaTeX and images, and logbydavid asks about consistency. The demonstration and question do not supply a scored corpus result. Handwriting accuracy, complete long-document processing and critical-field retention in current exports also remain outside our measured findings.

How can I distribute MinerU batch processing evenly across multiple GPUs?

A confirmed balancing fix is absent from the reviewed discussion: #667 records an imbalance and a proposed diagnostic experiment. randydl's suggestion was to disable table recognition and repeat the load check. Our run included no multi-GPU processing. Historical dependency workarounds, Dify uploads, external heading classification and the Markdown workaround likewise require reproduction before becoming results from our own lab.

The 57-vulnerability count needs package-level triage for a deployment-specific security judgment. Historical issues span multiple magic-pdf and MinerU generations and do not form a current compatibility matrix. Network traffic, code security, commercial license suitability, rendering, related links, recommendation modules, responsive behavior and accessibility are outside this assessment. MinerU's LICENSE.md is the linked license document; the README extracts used here omit its license section.

Alternatives

ProjectWhat it isPick it when
Docling gh↗The document-processing project associated with Granite-Docling in LowerGears' comparison.Include Granite-Docling when raw Markdown readability or GPU-memory use determines your choice; LowerGears preferred those aspects in their setup.
PaddleOCR gh↗The broader OCR toolkit whose PaddleOCR-VL model appeared in LowerGears' comparison.Include PaddleOCR-VL when comparing the same PDFs and required fields; it was a named candidate in the six-document comparison.

Sources

  1. MinerU README and documented commands
  2. LowerGears' document comparison
  3. MinerU 2.5 with vLLM tutorial
  4. Dify integration issue #2006
  5. Pipeline and package-index issue #5045
  6. November 9 sandbox measurements

More data reviews