Repair Excel Files

This REST API allows you to repair Excel files.

  • Repair XLS, XLSX, XLSM, XLSB, ODS and other spreadsheet formats.
  • Supports uploading multiple files in a single request.

Aspose.Cells Cloud Excel Repair recovers data from corrupt Excel files online without any installation. Corrupted Excel files are problematic because they cannot be opened. You can try the Aspose.Cells Cloud Excel Repair app to recover data from such files.

REST API

The Repair Excel Files endpoint repairs corrupted spreadsheet files and returns the repaired content.

Prerequisites – You must obtain a JWT access token from Aspose Cloud (OAuth 2.0 client‑credentials flow) before invoking the API.

Authentication – Include the token in the request header:

Authorization: Bearer <access_token>
POST https://api.aspose.cloud/v3.0/cells/repair

The request parameters are:

Parameter Name Type Location Description
file file formData (multipart) File to upload
format string query Desired output format. If omitted (null), the output format defaults to the same format as the input file.

The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out 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.

On success the service returns HTTP 200 with a JSON payload containing a Files array. In error situations the API uses standard HTTP status codes:

  • 400 Bad Request – Invalid parameters or unrecoverable file.
  • 401 Unauthorized – Missing or invalid JWT token.
  • 413 Payload Too Large – Uploaded file exceeds the allowed size.
  • 500 Internal Server Error – Unexpected server‑side failure.

Cloud SDK Family

Using an SDK is the best way to speed up development. An SDK handles low‑level details and lets you focus on your project tasks. 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: