> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alumio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Format to XLSX

> Converts the context data into XLSX binary data.

Turns your data into an Excel spreadsheet (.xlsx) file. Give it a list of rows, where each row is a list of cell values, and it builds a single worksheet with one row per entry. The result is a binary file ready to be written to disk or sent on, exactly as if you had saved it from Excel. This formatter has no settings.

This documentation describes: [Schema](/schemas/serializer/xlsx)

## Sample data

The output of this formatter is a binary Excel file, not readable text, so there is no meaningful before/after to print here. (Running it through the example tool confirms it produces a valid .xlsx file, but the binary content cannot be shown as text.) The input is a list of rows; the first row typically holds your column headers.

Example input:

```json theme={null}
[
    ["sku", "name", "price"],
    ["A1", "Wool scarf", "19.99"],
    ["B2", "Leather belt", "29.50"]
]
```

This produces an .xlsx file whose single worksheet contains those three rows, which opens in Excel as a normal spreadsheet.

```json Configuration theme={null}
{
  "prototype": "xlsx",
  "parameters": {}
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.