pdf_to_markdown
Convert a text-based PDF into clean Markdown with reflowed paragraphs and resolved hyphenation, ideal for summarising, RAG ingestion, or further processing. Scanned PDFs require OCR first.
Instructions
Extract the text of a PDF (local path) as clean Markdown: paragraphs reflowed, hyphenation resolved, pages separated by rules. The standard way to read a text-based PDF for summarising, RAG ingestion or further processing. Scanned PDFs need ocr first. $0.01 PER PAGE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| layout | No | Keep column layout instead of reflowing paragraphs | |
| output | No | json → {markdown, pages}; md → .md file | json |
| last_page | No | ||
| first_page | No | ||
| output_path | No | ||
| idempotency_key | No |