excel_to_json
Convert Excel files (XLS, XLSX) to JSON format using URL or uploaded files. Supports Google Drive, Dropbox, and other public links. Ideal for integrating spreadsheet data into JSON-based applications.
Instructions
Convert Excel(XLS, XLSX) to JSON.
Ref: https://developer.pdf.co/api-reference/convert-from-excel/json.md
Input Schema
Name | Required | Description | Default |
---|---|---|---|
api_key | No | PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional) | |
httppassword | No | HTTP auth password if required to access source url. (Optional) | |
httpusername | No | HTTP auth user name if required to access source url. (Optional) | |
name | No | File name for the generated output. (Optional) | |
url | Yes | URL to the source file (XLS, XLSX). Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files. | |
worksheetIndex | No | Index of the worksheet to convert. (Optional) |
Input Schema (JSON Schema)
{
"properties": {
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"title": "Api Key",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"title": "Httppassword",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"title": "Httpusername",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"title": "Name",
"type": "string"
},
"url": {
"description": "URL to the source file (XLS, XLSX). Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"title": "Url",
"type": "string"
},
"worksheetIndex": {
"default": "",
"description": "Index of the worksheet to convert. (Optional)",
"title": "Worksheetindex",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}