Spreadsheet Convert
Convert between spreadsheet formats (CSV, XLSX, JSON, ODS, PDF).
/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
Binary spreadsheet file streamed as a download (Content-Type depends on to_format)
Try It Live
Description
How to Use
1. Host your source file or point to it with a public URL.
2. Call this endpoint with `url`, `from_format`, and `to_format`.
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
- ODS → XLSX migration — Normalize mixed spreadsheet archives
- XLSX → PDF reports — Generate shareable, read-only reports
- CSV → JSON — Feed tabular data into APIs and document stores
- JSON → XLSX — Render API responses as downloadable workbooks
Frequently Asked Questions
Are formulas preserved?
What about charts and pivot tables?
Is PDF a supported target?
Start using Spreadsheet Convert now
Get your free API key and make your first request in under a minute.