← All skills

Document Converter

Your agent can't convert document formats itself; this turns Markdown, DOCX, HTML, PDF, and more into each other.

Documents

Converts documents between formats: Word to PDF, HTML to PDF, PDF to Word, Markdown to EPUB, and moves files between authoring formats like reStructuredText, LaTeX, and plain text. Provide the source file and the target format, and get back a download link to the converted document.

Use when

You have one file in one format and need it in another, e.g. Markdown to Word, HTML to PDF, or a Word doc back to clean Markdown.

Not for

Reading text or tables out of a PDF, OCR of scanned pages, math or citations rendered into a PDF, branded or templated Word from a corporate reference doc, spreadsheets or slide decks, or merging several files into one.

What you can do

Each is a sub-skill of Document Converter; the router picks the right one for your request.

What you get back

file

Returns a download link to the converted file with a time-limited validity, not the file bytes inline.

When it checks with you first

The request names no clear target format and the source format does not imply one obvious destination.

Run it

Skills run through one gateway with your Faro token. Hand it an intent in plain language; Faro routes to the right sub-skill, runs it, and bills per call.

curl -X POST "https://skill.askfaro.com/skills/document-converter/run" \
  -H "Authorization: Bearer $FARO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"intent":{"prompt":"Convert this Markdown file to a Word document"}}'

Example requests

  • Convert this Markdown file to a Word document
  • Convert this HTML page to a PDF
  • Convert this Word doc to Markdown so I can put it in the repo
  • Package my Markdown guide as an EPUB ebook