AnyConvert
← All docs

Excel to PDF

Send a .xlsx or .xls file, get back a PDF using the workbook's own print layout. Conversion runs on LibreOffice headless, so layout may differ slightly from Microsoft Excel, especially with fonts that aren't installed on our servers.

See the Excel to PDF tool page, or the docs index for authentication, the shared request/webhook contract, and the generic error table.

Request

POST /webhooks/trigger — same endpoint and fields as every tool, with tool="excel-to-pdf" set explicitly (it's not the default).

curl
curl -X POST https://api.anyconvert.app/webhooks/trigger \
  -H "x-api-key: your_api_key_here" \
  -F "file=@budget.xlsx" \
  -F "fileId=document-001" \
  -F "referenceId=reference-001" \
  -F "tool=excel-to-pdf"

Options

An optional options multipart field carrying a JSON object, validated synchronously before a credit is charged — a bad value is rejected with 400, not charged and not queued.

sheetsstring, optional"all" (default) or "first" — convert only the first sheet.
passwordstring, optionalReserved for a future release — v1 does not support opening a password-protected workbook.

Pricing

Billed per document — $1 (1 credit) per conversion, regardless of page count.

Failure reasons

Delivered via the webhook as outcome=failure with a reason below — see the docs index for the full delivery shape.

encrypted_fileThe workbook is password protected — not supported in v1.
invalid_fileThe file could not be read, or was not the format this tool expects.
render_failedSomething failed during conversion that wasn’t a problem with the input itself.
timeoutThe job did not finish within its time budget.
internal_errorAn unexpected error on our side.
AnyConvert
A simple conversion API for teams that need documents turned into the right format, automatically.
Tools
PDF to WordMerge PDFJPG to PDFSign PDFEdit PDFCompress PDFExtract Text with CoordinatesView all tools →
Product
DocsPricing
Legal
Terms of ServicePrivacy PolicyRefund Policy
Support
support@anyconvert.app
© 2026 AnyConvert. All rights reserved.