Convert a Spreadsheet to another format file.

Convert a local spreadsheet/Excel file to other format file with the Aspose.Cells Cloud Web API.

Out Format Description
XLS Excel 95/5.0 - 2003 Workbook.
XLSX The Office Open XML SpreadsheetML File Format.
XLSB Excel Binary Workbook.
XLSM Excel Macro-Enabled Workbook.
XLT Excel 97 - Excel 2003 Template.
XLTX Excel Template.
XLTM Excel Macro-Enabled Template.
XLAM An Excel Macro-Enabled Add-In file that’s used to add new functions to Excel.
CSV CSV (Comma Separated Value) file.
TSV TSV (Tab-separated values) file.
TXT Delimited plain text file.
HTML HTML format.
MHTML MHTML file.
ODS ODS (OpenDocument Spreadsheet).
SpreadsheetML Excel 2003 XML file.
Numbers The document is created by Apple’s “Numbers” application which forms part of Apple’s iWork office suite, a set of applications which run on the Mac OS X and iOS operating systems.
JSON JavaScript Object Notation
DIF Data Interchange Format.
DBF The file with .dbf extension is a database file used by a database management system application called dBASE.
PDF Adobe Portable Document Format.
XPS XML Paper Specification Format.
SVG Scalable Vector Graphics Format.
TIFF Tagged Image File Format
PNG Portable Network Graphics Format
BMP Bitmap Image Format
EMF Enhanced metafile Format
JPEG JPEG is a type of image format that is saved using the method of lossy compression.
GIF Graphical Interchange Format
MARKDOWN Represents a markdown document.
SXC An XML based format used by OpenOffice and StarOffice
FODS This is an Open Document format stored as flat XML.
DOCX A well-known format for Microsoft Word documents that is a combination of XML and binary files.
PPTX The PPTX format is based on the Microsoft PowerPoint open XML presentation file format.
SqlScript Structured Query Language.
XHtml The XHTML is a text based file format with markup in the XML, using a reformulation of HTML 4.0.
Epub Files with .epub extension are an e-book file format that provide a standard digital publication format for publishers and consumers.
Xml XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects.
Ots Open Document Template Sheet(OTS) file.
AZW3 AZW is a digital ebook file format developed by Amazon for its Kindle devices. AZW3, also known as Kindle Format 8 (KF8).

Convert Spreadsheet API

PUT http://api.aspose.cloud/v4.0/cells/convert/spreadsheet

Request Parameters:

Parameter Name Type Path/Query String/HTTPBody Description
Spreadsheet File FormData Upload the spreadsheet file to be converted.
format String Query (Required) The desired output format (e.g., “Xlsx”, “Pdf”, “Csv”).
outPath String Query (Optional) The folder path where the converted workbook will be stored. The default is null.
outStorageName String Query Specify an output file storage name.
fontsLocation String Query Use custom fonts for the spreadsheet.
region String Query Specify the spreadsheet region setting.
password String Query The password for opening the spreadsheet file if it is protected.

Response

[
    {
        "Name": "ResponseFile",
        "DataType": {
            "Identifier": "File",
            "Reference": "Stream"
        }
    }
]

Error Codes

  • 400 Bad Request: Invalid Apose.Cells Cloud API URI.
  • 401 Unauthorized: Invalid access token. Or invalid client id and secret.
  • 404 Not Found: The spreadsheet file not accessible.
  • 500 Server Error: The spreadsheet has encountered an anomaly in obtaining calculation data.

Why should you use the Convert Spreadsheet API?

  • No need for cloud storage, reducing the burden on cloud resources.
  • Development can be quickly completed through the existing SDK.

How to Use the Convert Spreadsheet API with SDKs?

Convert Spreadsheet API Specification

The Convert Spreadsheet 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 the SDK is the fastest way to develop, as it abstracts away the low-level details, allowing you to convert a spreadsheet file to another 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 invoke Aspose.Cells web services using various SDKs: