{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "opendatalab-mineru--parse-a-pdf-into-markdown-with-mineru",
 "repo": "opendatalab/MinerU",
 "repo_url": "https://github.com/opendatalab/MinerU",
 "repo_slug": "opendatalab-mineru",
 "title": "Parse a hard PDF into Markdown on your own machine",
 "page_title": "How to parse a hard PDF into Markdown on your own machine with MinerU",
 "summary": "Install MinerU 4, check which tier your hardware suits and convert a document locally.",
 "who": "A researcher with scanned papers, reports and slide decks that ordinary extractors mangle.",
 "problem": "Complex layouts, scans and formulas need OCR and layout models, which are hard to set up by hand.",
 "outcome": "A parsed document in Markdown or JSON, produced locally at the quality tier your machine can handle.",
 "steps": [
  "Install MinerU 4.x in a Python 3.11 to 3.14 virtual environment with uv, as the Install Manually section of the README shows",
  "Run `mineru-kit hardware detect` to see your devices and get a tier recommendation",
  "For a quick read of a document, run `mineru parse document.pdf --json`, which defaults to the first 10 PDF pages",
  "For a full conversion of all pages, use the stateless `mineru-kit parse` command",
  "Choose Flash for fast previews, Basic for OCR, or Standard and Advanced for demanding layouts"
 ],
 "agent_prompt": "Install opendatalab/MinerU 4 in a uv virtual environment, run `mineru-kit hardware detect`, then convert <file> with mineru-kit parse at the tier it recommends. Tell me how long it took and whether tables and formulas survived.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Version 4.1 requires Python 3.11 to 3.14 and changed the HTTP APIs, so older deployments must upgrade servers, Routers, SDKs and clients together.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11 to 3.14 in a virtual environment",
  "Windows, Linux or macOS; CPU works, compatible GPUs are used automatically",
  "Model downloads for the tier you choose",
  "Optional: Node.js for npx to install the agent skill"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/opendatalab-mineru/parse-a-pdf-into-markdown-with-mineru/",
 "md": "https://dedupedai.com/use-cases/opendatalab-mineru/parse-a-pdf-into-markdown-with-mineru/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/opendatalab-mineru--parse-a-pdf-into-markdown-with-mineru.json",
 "api_version": "v1"
}
