PDF to EPUB
pdf_to_epubConvert PDF text into EPUB 3 e-books, splitting chapters by headings or pages so PDFs read well on e-readers.
Instructions
Convert a PDF's text into an EPUB 3 e-book, split into chapters at headings (or every few pages).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to a PDF inside an allowed folder (absolute, or relative to the first allowed folder). | |
| split | No | headings | |
| title | No | ||
| author | No | ||
| output | Yes | Path for the new e-book (ending in .epub), inside an allowed folder. Must not exist yet. | |
| language | No | Language tag, such as en or pt-BR. | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| output | Yes | ||
| chapters | Yes |