Skills/Document Converter/Convert to PDF

Convert to PDF

~1 credits / MB of input (up to 5)

Renders Markdown, HTML, or plain-text content into a polished, printable PDF. Images referenced by absolute URL are embedded; math equations and LaTeX compilation are not supported on this path.

Use when

You need a final, printable, or archival PDF of Markdown or HTML content.

Not for

A PDF containing math equations, citations, or a bibliography, compiling LaTeX to PDF, or converting an existing PDF.

Cost

~1 credits / MB of input (up to 5)

A 3 MB input costs about 2 credits; image-heavy inputs cost more.

Estimated; the actual charge depends on your input and is shown in the response.

What it accepts

Set these inside the intent when you run it.

source_filerequired

URL of the Markdown, HTML, or plain-text file to convert.

output_filenameoptional

Name for the resulting PDF.

What you get back

A download link to a .pdf file suitable for printing or archival.

Run it

Run this sub-skill directly: pin it with operation and pass its inputs in the intent. (Omit operation and the Document Converter skill will route from your intent instead.)

curl -X POST "https://skill.askfaro.com/skills/document-converter/run" \
  -H "Authorization: Bearer $FARO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"intent":{"operation":"to_pdf","source_file":"https://example.com/article.html","output_filename":"invoice.pdf"}}'

Example requests

  • Convert this HTML page to a PDF
  • Turn my Markdown file into a PDF I can send to a client
  • Save this plain-text document as a PDF