How to Export the Remote Spreadsheet Worksheet to other formats: Step‑Step Guide
Export a cloud spreadsheet (Excel) to another file format.
Export Spreadsheet as Format API
Web API
GET https://api.aspose.cloud/v4.0/cells/{name}?format={format}&folder={folder}&storageName={storageName}&outPath={outPath}&outStorageName={outStorageName}&fontsLocation={fontsLocation}®ion={region}&password={password}
Security and Authentication
The Aspose.Cells Cloud APIs are secure and require JWT token-based authentication.
Request Parameters:
| Parameter Name | Type | Path/Query String/HTTP Body | Description |
|---|---|---|---|
| name | String | Path | (Required) The name of the workbook file to be retrieved. |
| format | String | Query | (Required) The desired output format (e.g., “Xlsx”, “PDF”, “CSV”). |
| folder | String | Query | (Optional) The folder path where the workbook is stored. The default is null. |
| storageName | String | Query | (Optional) The name of the storage if using custom cloud storage. Use default storage if omitted. |
| outPath | String | Query | (Optional) The folder path where the workbook will be stored. The default is null. |
| outStorageName | String | Query | (Optional) Output file storage name. |
| fontsLocation | String | Query | (Optional) Custom fonts location. |
| region | String | Query | (Optional) Spreadsheet region/language setting (e.g., en-US, fr-FR). Influences number formatting, date parsing, and locale‑specific behavior. |
| password | String | Query | (Optional) The password for opening the spreadsheet file. |
Response
[
{
"Name": "ResponseFile",
"DataType": {
"Identifier": "File",
"Reference": "Stream"
}
}
]
The response contains a single object that represents the converted file stream.
HTTP Status Codes
| Code | Meaning | Description |
|---|---|---|
| 200 | OK | Filter applied successfully; response contains operation details. |
| 400 | Bad Request | Missing or invalid parameters (e.g., unsupported file type). |
| 401 | Unauthorized | Invalid or missing JWT token. |
| 413 | Payload Too Large | Uploaded file exceeds size limit. |
| 500 | Internal Server Error | Unexpected server error. |
Where should you use the Export Spreadsheet as another format API?
- Legacy System Migration: Convert thousands of legacy XLS files to XLSX for modern systems.
- Archive Standardization: Normalize various spreadsheet formats (XLS, XLSM, ODS, CSV) to a single format for archival.
- Office Suite Interoperability: Convert Excel files to formats compatible with LibreOffice, Google Sheets, or Apple Numbers.
- Data Source Normalization: Convert various spreadsheet formats to CSV or JSON for database ingestion.
- Web Publishing: Convert financial models to HTML for web display.
Why should you use the Export Spreadsheet as another format API?
- Developer‑Friendly: Aspose.Cells Cloud offers SDK libraries in multiple languages, enabling quick development and comes with comprehensive documentation. Compared with building custom chart‑rendering solutions, this significantly reduces the development workload.
- Reduced Labor Costs: Reduces the need to dedicate positions to document consolidation.
- Pay‑per‑use: No upfront investment; you only pay for API calls actually used.
- No server‑side maintenance required: No need to maintain servers, update software, or deal with compatibility issues.
- Comprehensive Format Support: Convert between 20+ spreadsheet formats.
- Preserve Data Fidelity & Formatting: Maintains the original layout, formulas, and styling during conversion.
How to Use the Export Spreadsheet as Format API with SDKs?
Export Spreadsheet as Format API Specification
Export Spreadsheet as Format API Specification provides a publicly accessible programming interface to perform REST interactions seamlessly.
You can use the cURL command‑line tool to access Aspose.Cells web services easily. The following example shows how to make calls to the Cloud API with cURL.
Use Aspose.Cells Cloud SDKs
Using an SDK is the fastest way to develop, as it abstracts away low‑level details, allowing you to export a spreadsheet to a format file with short code.
Before calling the API, obtain an OAuth 2.0 access token and include it in the Authorization: Bearer <token> header.
Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples illustrate how to interact with Aspose.Cells web services via various SDKs: