Unpivot Table

Turn wide columns into long rows for analysis.

Unpivot Table

.csv · .xlsx

Runs in your browser — your file is not uploaded

What it does

Turns a wide table, with one column per month or per item, into a long table with one row per value. Many charts, databases and analysis tools need data in this long form. You get a CSV with key columns, a name column and a value column.

How to use the Unpivot Table

  1. In Columns to keep, type the columns that identify a row, for example id, name.
  2. Every other column becomes rows with the column name and its value.
  3. Name the two new columns in Name for the column names and Name for the values.
  4. Press Unpivot and download the long table as CSV.

About the .csv format

.CSV file extension
File Type
Comma Separated Values File
Category
Data Files
MIME
text/comma-separated-values

A CSV file is a file that is saved in a comma-separated values format. Data in the CSV file is saved as separate columns of data - one per line. It can have multiple rows of data, but each row should have one value per column.

Also works with

Unpivot Table questions

How do I use the Unpivot Table?

Drop the file on the box or choose it from your device, set the options and download the result.

Which files can I use?

.csv and .xlsx files.

Is my file uploaded?

No. The tool runs in your browser, so your file stays on your device.

Does renaming a file to .csv change its format?

No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .csv page lists programs and converters for it.