🧩

Spreadsheet Convert

Convert between spreadsheet formats (CSV, XLSX, JSON, ODS, PDF).

GET 10 credits /v1/convert/spreadsheet
curl -OJ "https://convert.toolkitapi.io/v1/convert/spreadsheet?url=https://toolkitapi.io/data.csv&from_format=csv&to_format=xlsx"
import httpx

resp = httpx.get(
    "https://convert.toolkitapi.io/v1/convert/spreadsheet?url=https://toolkitapi.io/data.csv&from_format=csv&to_format=xlsx",
)
print(resp.json())
const resp = await fetch("https://convert.toolkitapi.io/v1/convert/spreadsheet?url=https://toolkitapi.io/data.csv&from_format=csv&to_format=xlsx", {
});
const data = await resp.json();
console.log(data);
# See curl example
Response 200 OK
Binary spreadsheet file streamed as a download (Content-Type depends on to_format)

Try It Live

Live Demo

Description

Convert between spreadsheet formats (CSV, XLSX, JSON, ODS, PDF).

How to Use

1

1. Host your source file or point to it with a public URL.

2

2. Call this endpoint with `url`, `from_format`, and `to_format`.

3

3. Save the streamed file using the `Content-Disposition` filename.

About This Tool

Spreadsheet Convert is the unified endpoint for moving tabular data between supported spreadsheet formats: `csv`, `xlsx`, `xls`, `xlsm`, `ods`, `json`, and `pdf`. Pass a source URL (or inline data via POST) plus the source and target formats, and the endpoint returns the converted file as a download.

Internally, the service normalizes all inputs to an intermediate tabular representation, so format-specific features (formulas, merged cells, styles) are preserved where possible and gracefully flattened where not.

Why Use This Tool

Frequently Asked Questions

Are formulas preserved?
When converting between Excel-compatible formats (xlsx ↔ ods ↔ xlsm), formulas are preserved. Converting to CSV, JSON, or PDF evaluates formulas to their cached values.
What about charts and pivot tables?
Charts and pivot tables are dropped on formats that don't support them (CSV, JSON). XLSX-to-ODS preserves charts where compatible.
Is PDF a supported target?
Yes — `to_format=pdf` renders the workbook's print layout as a PDF.

Start using Spreadsheet Convert now

Get your free API key and make your first request in under a minute.