← All posts

July 2, 2026

This FREE Tool Turns ANY PDF into Perfect Markdown (MinerU Live Test)

open-sourceragocrpdflocal-llm

Every RAG pipeline dies at the same spot: PDF parsing. Tables turn to mush, formulas vanish, two-column layouts get scrambled — and then everyone wonders why retrieval quality is bad. In this video I install MinerU — the open-source document parsing engine with 73,000+ GitHub stars — on my own Windows laptop and put it through a real test: parsing Attention Is All You Need into clean, LLM-ready Markdown.

What MinerU is

MinerU (from OpenDataLab) is a document parsing pipeline, not just an OCR tool. It runs four stages:

  1. Layout analysis — detect columns, headers, figures, reading order
  2. OCR — extract text where needed
  3. Formula recognition — math comes out as LaTeX, not garbled Unicode
  4. Table extraction — real tables with structure intact

Multiple backends, and it fits consumer hardware: everything here ran on an RTX 4060 laptop, 8 GB VRAM.

Install

One line with uv, shown live in the video. Real terminal output, real parse times — no faked numbers.

The test: a genuinely hard paper

Attention Is All You Need is the perfect stress test: two-column layout, dense equations, multi-part tables. MinerU's output:

There's also a built-in Gradio Web UI if you'd rather drag-and-drop than script it.

Pros and cons

Pros

Cons

Verdict

If your documents feed an LLM, garbage parsing caps everything downstream. MinerU is the best free answer I've tested: one install, and PDFs — even equation-heavy academic ones — come out as Markdown your pipeline can actually use. Full live parse in the video. Docs: opendatalab.github.io/MinerU.

▶ Subscribe on YouTube