Unpivot spreadsheet
Turn wide CSV or XLSX columns, like one column per month, into long ID, Variable and Value rows ready for analysis. Free, runs in your browser – no upload.
Tool guide
How to use Unpivot spreadsheet
Turn selected wide columns into explicit Variable / Value rows.
- Choose CSV/XLSX or paste CSV. XLSX uses the first worksheet’s cached/displayed values. Select distinct identifier columns and value columns by exact name; use a JSON array if a column name contains a comma. Blank selections default to the first identifier and all remaining value columns.
- For example, ID 0012 with Jan 10 and Feb 20 becomes two records: 0012 / Jan / 10 and 0012 / Feb / 20, under ID, Variable and Value. A blank month value still produces a row. Each source row expands once per selected value column.
- Review the expanded row count and order, then download CSV with a BOM and formula-safety apostrophes. Output must fit the selected row/cell budgets before allocation. This is wide-to-long reshaping, without sums, aggregation or a reverse pivot.
- Select distinct identifier/value columns. Blank values stay and row/column order is preserved. Wide-to-long only; no aggregation or reverse pivot. Row expansion must fit the selected row/cell/text budgets before allocation.
- Resource limits: Standard: 100 MiB per file · 500,000 rows · 1,000 columns · 1,000,000 cells · 100 MiB cell text · 256 MiB output. Extended: 500 MiB per file · 2,000,000 rows · 1,000 columns · 3,000,000 cells · 300 MiB cell text · 1024 MiB output. Rectangular cells include blanks; the first reached budget applies. Large jobs need available device memory. The first reached budget applies; previews are excerpts and accepted exports contain the complete supported result.
- Cancel stops local processing. Editing, clearing or leaving discards working results and download URLs; downloaded files remain on your device. Inputs and results are not uploaded or saved to your account.