XLS to JSON API – Convert XLS File to JSON with PDF.co
Why Use XLS to JSON API?
Preserves Layout
Using our XLS to JSON API, you can convert XLS to JSON while preserving the layout of your XLS file.
No Licenses Required
Here at PDF.co Web API platform, there’s no need to purchase any license to use our APIs. You only need to get either a subscription plan or top-up non-expiring credits.
For enterprise customers, there is a Dedicated API Server that runs as a dedicated private server with dedicated private cloud storage in the hosting region of your choice.
XLS to JSON API Sample & Demo
We prepare this sample XLS file for this demo.
Screenshot of Sample XLS
The code snippets below are in different programming languages. Using those code snippets, you can convert the sample XLS file above into a JSON file.
optional. Output link expiration in minutes. Default is 60 (i.e. 60 minutes or 1 hour). After this delay generated output file(s) (if any) will be auto-removed from PDF.co temporary files storage. Max allowed expiration period depends on your current subscription plan. To store permanent input files (e.g. re-usable images, pdf, documents), please use PDF.co built-in Files Storage instead.
inline
optional. Must be one of: true to return data as inline or false to return link to the output file (default).
worksheetIndex
optional. index of worksheet to use.
encrypt
optional. Enable encryption for the output file: true or false
async
optional. Runs processing asynchronously. Returns jobId to use with job/check: true or false
name
optional. Output file name.
profiles
optional. Must be a String. Set custom configuration. See profiles examples here