How to Export a Remote Spreadsheet Worksheet to Another Format: Step‑by‑Step Guide

Export a cloud spreadsheet/Excel worksheet to another format file using the Aspose.Cells Cloud Web API.

Export Worksheet as Format API

Web API

GET https://api.aspose.cloud/v4.0/cells/{name}/worksheets/{worksheet}

Security and Authentication

The Aspose.Cells Cloud APIs are secure and require JWT token-based authentication.

-H "Authorization: Bearer {access_token}"

Request Parameters

Parameter Name Type Path/Query String/HTTPBody Description
name String Path (Required) The name of the workbook file to be retrieved.
worksheet String Path (Required) The specific worksheet to convert.
format String Query (Required) The desired output format (e.g., png, pdf, svg).
folder String Query (Optional) The folder path where the workbook is stored. The default is null.
storageName String Query (Optional) The name of the custom cloud storage. Use default storage if omitted.
outPath String Query (Optional) The output folder path. The default is null.
outStorageName String Query (Optional) Output file storage name.
fontsLocation String Query (Optional) Specify custom fonts if needed.
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 accessing the spreadsheet file.

Response

[
  {
    "Name": "ResponseFile",
    "DataType": {
      "Identifier": "File",
      "Reference": "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 Worksheet to 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 Use the Export Worksheet to Another Format API?

  • Multi‑language SDK support – Provides client libraries for several programming languages, allowing developers to call the API directly from their preferred environment.
  • Direct conversion without intermediate upload – Enables conversion of a worksheet stored in cloud storage to the requested format without the need to download and re‑upload the file.
  • Data‑only extraction – Returns the worksheet content in the selected format without preserving visual styling.

How to Use the Export Spreadsheet Worksheet as Format API with SDKs?

Export Worksheet as Format API Specification

The Export Worksheet as Format API Specification provides a publicly accessible programming interface for performing REST interactions directly from a web browser.

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 the SDK is the fastest way to develop, as it abstracts away the low‑level details, allowing you to export a spreadsheet worksheet to a format file with short code.
Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.

The following code examples demonstrate how to make calls to Aspose.Cells web services using various SDKs: