PDF转Markdown转换器 - 从PDF文件中提取文本、表格和公式,转换为干净的Markdown格式。用于转换PDF文档、提取PDF内容等场景。
Convert PDF files to clean Markdown using MinerU Open API. No API key required.
bash
# 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
You MUST reply to the user in the SAME language they use. This is non-negotiable.
--pages--language (default: ch, use en for English)Run mineru-open-api flash-extract --help for all available options.
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
mineru-open-api extract (requires auth via mineru-open-api auth)