How to Save a Spreadsheet as Another Format File on Remote Storage: Step‑by‑Step Guide

Save a cloud spreadsheet or Excel file as a different format in cloud storage.

Save Spreadsheet as API

The API requires a valid OAuth 2.0 access token. Obtain the token by registering an application in the Aspose Cloud dashboard, then request a token using your client ID and client secret. Include the token in the Authorization: Bearer {access_token} header for every request.

Web API

PUT https://api.aspose.cloud/v4.0/cells/{name}/saveas

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 Location Description
name String Path Required. The name of the workbook file to be converted.
format String Query Required. The desired output format (e.g., Xlsx, PDF, CSV).
saveOptionsData Class Body Optional save‑options data. If omitted, defaults to null.
folder String Query Optional folder path where the source workbook is stored. If omitted, defaults to null.
storageName String Query Optional name of a custom storage. If omitted, the default storage is used.
outPath String Query Optional output path for the converted file. If omitted, defaults to null.
outStorageName String Query Optional storage name for the output file.
fontsLocation String Query Optional custom fonts location.
region String Query Optional spreadsheet region setting.
password String Query Optional password for opening the spreadsheet file.

Supported output formats

Format Extension
Xlsx .xlsx
Pdf .pdf
Csv .csv
Html .html
Ods .ods
Xls .xls
Txt .txt
Mhtml .mhtml
Tiff .tiff
Pptx .pptx
… (more) See API spec for the full list (over 20 formats)

Response

{
  "Code": 200,
  "Status": "OK"
}

Sample error response (400 Bad Request)

{
  "Code": 400,
  "Message": "Invalid request parameters."
}

Error Codes

  • 400 Bad Request – Invalid Aspose.Cells Cloud API URI or parameters.
  • 401 Unauthorized – Invalid access token, client ID, or client secret.
  • 404 Not Found – The spreadsheet file is not accessible.
  • 500 Server Error – The spreadsheet encountered an anomaly while obtaining calculation data.

Where should you use the Save Spreadsheet API?

Enterprise Document Management System

  • Automatically save financial reports as PDF archives.
  • Regularly back up sales data in CSV format.
  • Save project plans as read‑only files to prevent accidental changes.

Data Integration and ETL Processes

  • Export CRM system data and save it as a standard Excel template.
  • Convert ERP data to CSV for import into other systems.
  • Save raw data as JSON for API transmission.

Development and Automation Scenarios

  • Backend processing for web applications.
  • Automated report‑generation systems.
  • Cloud collaboration platforms.
  • Approval‑process integration.
  • Data backup and migration.

Why should you use the Save Spreadsheet API?

  • Developer‑Friendly – Aspose.Cells Cloud provides SDKs in multiple languages, enabling rapid development with comprehensive documentation. This reduces the workload compared with building custom conversion solutions.
  • Reduced Labor Costs – Eliminates the need for dedicated personnel to handle document consolidation.
  • Pay‑per‑Use – No upfront investment; you only pay for the API calls you actually make.
  • Zero Maintenance Costs – No servers to maintain, no software updates, and no compatibility concerns.
  • Comprehensive Format Support – Convert between more than 20 spreadsheet formats.
  • Preserve Data Fidelity & Formatting – Maintains original layout, formulas, and styling.

How to Use the Save Spreadsheet as API with SDKs?

Save Spreadsheet as API Specification

The Save Spreadsheet as API Specification defines a publicly accessible programming interface, allowing you to perform REST interactions directly from a web browser.

Use Aspose.Cells Cloud SDKs

Using an SDK is the fastest way to develop, as it abstracts low‑level details and lets you save a spreadsheet as another format with minimal code. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.

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

Explore other conversion APIs that may complement your workflow:

  • Convert Spreadsheet to PDF – Quickly turn Excel files into PDF documents.
  • Export Table as CSV – Extract tabular data for analytics pipelines.
  • Convert Spreadsheet to HTML – Render workbooks directly in web pages.

These links help developers discover additional functionality within the Aspose.Cells Cloud suite.