File Conversion
file-convertConvert documents, web pages, spreadsheets and images between formats. Returns a download URL of the converted file with its name, size and formats. Use to change a file's format, for example Word to PDF or PDF to Markdown. To extract specific fields use documents; to read a web page's text use scrape. Cost: 2 credits, charged only when a call succeeds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | Yes | URL of the file to convert (for source_format web, the page itself). | |
| source_format | Yes | Format of the file: pdf, docx, pptx, xlsx, csv, html, web (a page, from its HTML without JavaScript), txt, epub, svg, png, jpg, webp, gif, bmp, tiff or heic. | |
| target_format | No | Format to convert to. The conversion table's pairs convert in-house; other pairs go to ConvertAPI. |