PDF to Word
pdf_to_docxConvert PDF files into editable Word .docx documents with headings, paragraphs, lists, and tables. Scanned pages are processed with OCR; layout and images are not reconstructed.
Instructions
Convert a PDF to an editable Word document (.docx): headings, paragraphs with bold and italic, lists and tables. Scanned pages are read with OCR. Page layout and images are not reconstructed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to a PDF inside an allowed folder (absolute, or relative to the first allowed folder). | |
| pages | No | Page numbers or ranges, such as "1, 3-5". Omit for every page. | |
| output | Yes | Path for the new Word document (ending in .docx), inside an allowed folder. Must not exist yet. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| pages | Yes | ||
| output | Yes | ||
| tables | Yes | ||
| paragraphs | Yes |