/install pdftomd
PDF to Markdown - Extract Text, Tables, Formulas from PDF
Convert PDF files to clean Markdown using MinerU Open API. No API key required.
Quick Start
# Convert a local PDF to Markdown
mineru-open-api flash-extract report.pdf
# Convert a PDF from URL (no download needed)
mineru-open-api flash-extract https://cdn-mineru.openxlab.org.cn/demo/example.pdf
# Save to file
mineru-open-api flash-extract report.pdf -o ./output/
# Convert specific pages
mineru-open-api flash-extract report.pdf --pages 1-10
Language Rule
You MUST reply to the user in the SAME language they use. This is non-negotiable.
Capabilities
- Extracts text, tables, and formulas from PDF
- Supports both local files and URLs directly
- Page range selection with
--pages - Language hint with
--language(default:ch, useenfor English) - No API key, no signup, no authentication
- Max 10MB / 20 pages per document
When to Use
- User asks to "read", "extract", "convert", or "parse" a PDF
- User shares a PDF file or PDF link and asks for its content
- User wants to summarize or analyze a PDF document
- User needs PDF content in Markdown format
CLI Reference
Run mineru-open-api flash-extract --help for all available options.
Data Flow
flash-extract sends the document to the MinerU API (mineru.net) for processing and returns Markdown. This is a stateless API call — no account, no persistent storage. MinerU is an open-source project by OpenDataLab (Shanghai AI Lab): https://github.com/opendatalab/MinerU
Notes
- Output is Markdown only; images/tables/formulas may be replaced with placeholders
- For larger files (up to 200MB/600 pages) or precision extraction with full assets, use
mineru-open-api extract(requires auth viamineru-open-api auth) - If the CLI cannot be installed via npm/uv/go, download it from https://mineru.net/ecosystem?tab=cli
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install pdftomd - After installation, invoke the skill by name or use
/pdftomd - Provide required inputs per the skill's parameter spec and get structured output
What is PDF to Markdown - Extract Text, Tables, Formulas from PDF?
PDF to Markdown converter - extract text, tables and formulas from PDF files to clean Markdown. Use when converting PDF documents, extracting PDF content, pa... It is an AI Agent Skill for Claude Code / OpenClaw, with 365 downloads so far.
How do I install PDF to Markdown - Extract Text, Tables, Formulas from PDF?
Run "/install pdftomd" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is PDF to Markdown - Extract Text, Tables, Formulas from PDF free?
Yes, PDF to Markdown - Extract Text, Tables, Formulas from PDF is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does PDF to Markdown - Extract Text, Tables, Formulas from PDF support?
PDF to Markdown - Extract Text, Tables, Formulas from PDF is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created PDF to Markdown - Extract Text, Tables, Formulas from PDF?
It is built and maintained by tanis90 (@tanis90); the current version is v1.0.4.