Skip to main content
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.

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:
[
    ["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.