---
title: Convert CSV to Excel API
slug: convert-csv-to-xlsx
url: https://apyhub.com/apyhub/service/convert-csv-to-xlsx
provider: ApyHub
categories: [File Conversion]
auth: api_key
---

# Convert CSV to Excel API

Convert uploaded CSV files or CSV URLs into XLSX. Get either a streamed download or a signed link for spreadsheet workflows.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/convert/csv-file/excel-file` | What it does Converts an uploaded CSV file into an XLSX file and streams the resulting spreadsheet… | 50 |
| POST | `/convert/csv-file/excel-url` | What it does Converts an uploaded CSV file into an XLSX file and returns a signed link to the conve… | 50 |
| POST | `/convert/csv-url/excel-file` | What it does Converts a remote CSV file referenced by a URL into an XLSX file and returns the resul… | 50 |
| POST | `/convert/csv-url/excel-url` | What it does Converts a CSV file available at a remote URL into an XLSX file, then returns a signed… | 50 |

## About

## What it does
CSV to XLSX Converter turns a CSV file or CSV URL into an Excel workbook. Send the file in the request body, or provide a remote `url`, and get back either a streamed `.xlsx` download or a signed link to the generated workbook.

Use `POST /file/download` when you want the converted spreadsheet returned directly as binary data. Use `POST /file/link` when you prefer a JSON response containing a signed download `data` URI. The same pattern is available for remote files through `POST /url/download` and `POST /url/link`.

This is useful when you need to hand off tabular data to Excel users, generate reports from CSV exports, or move data from a download endpoint into an internal workflow. The service only accepts the fields defined in the schemas: `file` for uploaded CSVs, or `url` for remote CSVs, plus the optional `output` query parameter on the file download route.

The result is an `.xlsx` file ready for spreadsheet tooling, whether you stream it to a client or store the signed link for later retrieval.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/convert-csv-to-xlsx
