Excel2Pdf REST API

The API for converting Excel documents to PDF files and Images. These file formats csv, xls, xlsb, xlsx, xlt, xltx can be converted to pdf, pdfa, png, jpg, tif.

Sign In

Endpoints

POST http://do.convertapi.com/Excel2Pdf

Authentication Parameters

Parameter Description Value
ApiKey

Required

Number

API Key should be passed if you purchased membership with credits. Please login to your control panel to find out your API Key http://www.convertapi.com/a

Input Parameters

Parameter Description Value
File

Required

Binary

Supported source file formats: csv, xls, xlsb, xlsx, xlt, xltx

Parameters

Parameter Description Value
AlternativeParser

Optional

Boolean

If some objects are missing in converted Pdf files from original source files this option can be enabled to improve conversion. The option process files much slower and should be disabled by default.

Default: false

WorksheetIndex

Optional

Number

Set worksheet index(number) to convert. If value is not set all worksheet will be converted.

WorksheetName

Optional

String

Set worksheet name to convert. If value is not set all worksheet will be converted.

WorksheetActive

Optional

Boolean

Set to convert active worksheet. If value is not set all worksheet will be converted.

DocumentTitle

Optional

String

Set the title of the generated Pdf file. If value is not set a source document title is used instead.

DocumentSubject

Optional

String

Set the subject of the generated Pdf file. If value is not set a source document subject is used instead.

DocumentAuthor

Optional

String

Set the author of the generated Pdf file. If value is not set a source document author is used instead.

DocumentKeywords

Optional

String

Set the keywords of the generated Pdf file. If value is not set a source document keywords is used instead.

OutputFormat

Optional

Collection

Supported output file formats pdf, pdfa, png, jpg, tif. If output format is set to png or jpg a image file will be created for every converted document page and returned as zip file.

Default: pdf

StoreFile

Optional

Boolean

Store file on server and return url to file instead of file stream response. File will be available for 24 hours.

Default: false

Timeout

Optional

Number

Conversion timeout in seconds.

Default: 300 (5 ... 600)

Output Headers

Output Response