Excel to PDF API - spreadsheet or CSV to a clean PDF table
excel_to_pdfTurn an .xlsx or .csv file into a printable PDF table with page orientation and light grid lines. Runs on our server, files are deleted right after the call, nothing stored. Free: 25 calls/day per IP. Paid: $0.005 per call via x402 at https://radarbg.com/x402/excel-to-pdf.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileName": "table.csv",
"fileContent": "SXRlbSxRdHksUHJpY2UKUGVuLDMsMS4yMApCb29rLDEsOS45MAo="
},
"name": "excel_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Or several files: [{fileName, fileContent (base64)}] | |
| fileName | No | File name with extension, e.g. report.pdf | |
| gridLines | No | Light lines between rows | |
| fileContent | No | The file as base64 (a data: URI is fine) | |
| orientation | No | auto, p (portrait) or l (landscape) | auto |