MinerU

Turns messy PDFs full of tables, formulas and columns into clean Markdown, locally and with a web UI.

Illustrative image, AI-generated
DifficultySome experience
HardwareCPU is enough (2 GB RAM or more, basic tier) · standard tier needs 8 GB RAM, GPU/Apple Silicon is faster
LicenseMinerU Open Source License (Apache 2.0 with additional terms)
LinksGitHub

MinerU extracts content from PDFs and Office files and turns it into well-structured Markdown you can hand straight to a language model. Tables, formulas, footnotes and multi-column layouts stay intact. Run mineru-kit webui to open a browser interface that shows the PDF and the result side by side. The basic tier runs on an ordinary CPU, and all you need is Python 3.11 to 3.14.

How to try it

Commands from the official guides – just copy them.

Linux

# Install uv and create a Python 3.12 environment
pip install uv
uv venv .mineru --python 3.12
# Activate the environment
source .mineru/bin/activate
# Install MinerU
uv pip install -U "mineru>=4.0,<5"
# Convert a PDF straight to Markdown
mineru-kit parse document.pdf -o document.md --tier standard
# Or launch the web UI in your browser
mineru-kit webui

macOS

# Install uv and create a Python 3.12 environment
pip install uv
uv venv .mineru --python 3.12
# Activate the environment
source .mineru/bin/activate
# Install MinerU
uv pip install -U "mineru>=4.0,<5"
# Convert a PDF straight to Markdown
mineru-kit parse document.pdf -o document.md --tier standard
# Or launch the web UI in your browser
mineru-kit webui

Windows (PowerShell)

# Install uv and create a Python 3.12 environment
pip install uv
uv venv .mineru --python 3.12
# Activate the environment (PowerShell)
.\.mineru\Scripts\Activate.ps1
# Install MinerU
uv pip install -U "mineru>=4.0,<5"
# Convert a PDF straight to Markdown
mineru-kit parse document.pdf -o document.md --tier standard
# Or launch the web UI in your browser
mineru-kit webui

Commands from the official guide. New in the Toolbox since Nov 29, 2026.

Ask the AI assistant

Questions about MinerU, installation or background? Our assistant knows this page and runs on our own machine, not in someone else's cloud.

Connecting …

The Assistant is an AI (Gemma 4) and can make mistakes – please check important details against the source. Questions are used only to generate an answer and are deleted after one hour. Please don't enter any personal data.

Comments

What do you think? Already tried it? Write it here, no sign-up needed.

  1. Loading comments …

Comments are public. Links aren't allowed, and we delete abusive posts. You can delete your own comment at any time in this browser. Learn more in the Privacy Policy.