OCRmyPDF vs MinerU

OCRmyPDF and MinerU share 4 technologies: Rich, pillow, pypdfium2, and Pydantic. Both are written in Python.

Read it as markdown

What they share and what sets them apart

ocrmypdf

OCRmyPDF

OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched

Python35.3kRead on November 7, 2026, at commit b457e9eWhat is OCRmyPDF built with?

Only in OCRmyPDF

  • fpdf2
  • pdfminer.six
  • pikepdf
  • uharfbuzz

In common

opendatalab

MinerU

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

Python83.1kRead on November 4, 2026, at commit 8cd0842What is MinerU built with?

Only in MinerU

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
OCRmyPDF50,888 lines written94 code files
MinerU158,109 lines written375 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
OCRmyPDF2% of its commits signed by AIWith Aider and Claude Code
MinerU12.6% of its commits signed by AIWith GitHub Copilot, Claude Code, and Codex
ActivityFrom GitHub and its history, on the day SeeRepo read it.
OCRmyPDFLast push October 25, 20264,300 commits35,254 stars
MinerULast push November 4, 20265,064 commits83,126 stars
TestsThe files that test the code, and the share of code files a test imports.
OCRmyPDF97 test files64.9% of its code files have a test that imports them
MinerU236 test files2.1% of its code files have a test that imports them

Frequently asked questions

Which is bigger, OCRmyPDF or MinerU?
MinerU, with 158,109 lines written; OCRmyPDF has 50,888.

The proof: opendatalab/MinerU's code at commit 8cd0842

Which has more GitHub stars, OCRmyPDF or MinerU?
MinerU, with 83,126 stars; OCRmyPDF has 35,254.

The proof: opendatalab/MinerU on GitHub

Which has more tests, OCRmyPDF or MinerU?
MinerU, with 236 test files; OCRmyPDF has 97.

The proof: opendatalab/MinerU's code at commit 8cd0842

Which was updated more recently, OCRmyPDF or MinerU?
MinerU: its last push was on November 4, 2026, and OCRmyPDF's on October 25, 2026.

The proof: opendatalab/MinerU's commits on GitHub

Which has more commits signed by AI, OCRmyPDF or MinerU?
MinerU: an AI signed 12.6% of its commits, with GitHub Copilot, Claude Code, and Codex; in OCRmyPDF, 2%.

The proof: the commits each tool signed in opendatalab/MinerU

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →