What can you do with it?
Convert between file formats and extract text content. Supports Excel to CSV, PDF/Word/PowerPoint to text, Markdown to Word/PDF, and HTML to PDF conversions.
How to use it?
Basic Command Structure
/file-convert-extract
file: the file to convert or extract from
convert to: desired output format
Parameters
- file: URL of the file to convert or extract
- convert to: Target format (csv, txt, docx, pdf)
- validate (optional): Validate CSV structure and data quality
- pdf format (optional): Page size for PDF output (a4, letter)
- pdf orientation (optional): Page orientation (portrait, landscape)
Returns converted file URLs with metadata including file size, mime type, and filename.
Examples
Basic Usage
Convert Excel to CSV:
/file-convert-extract
file: https://example.com/data.xlsx
convert to: csv
Advanced Usage
Extract text from PDF with validation:
/file-convert-extract
file: https://example.com/report.pdf
convert to: txt
Specific Use Case
Convert Markdown to PDF with formatting:
/file-convert-extract
file: https://example.com/document.md
convert to: pdf
pdf format: a4
pdf orientation: portrait
Notes
Supported conversions:
- Excel (.xlsx) → CSV (.csv) - single or multi-sheet
- PDF/Word/PowerPoint → Text (.txt)
- Markdown (.md) → Word (.docx) or PDF
- HTML → PDF
- CSV validation available with validate parameter