Skip to main content
Glama

document.convert.to_pdf

Convert documents and images to PDF format from a URL. Supports Word, Excel, PowerPoint, HTML, Markdown, RTF, ODT, JPG, PNG, and SVG files with customizable page size and orientation.

Instructions

Convert Word (DOCX), Excel (XLSX), PowerPoint (PPTX), HTML, Markdown, RTF, ODT, or images (JPG/PNG/SVG) to PDF. Provide source file as URL. Custom page size and orientation. 200+ format pairs supported (ConvertAPI)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_urlYesPublicly accessible URL of the source file to convert (e.g. "https://example.com/report.docx")
from_formatYesSource file format
page_sizeNoPDF page size (default "a4")
orientationNoPage orientation (default "portrait")
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/whiteknightonhorse/APIbase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server