How to use Dataset Unpivot Tool
- Paste the wide table or choose a CSV file with one row per subject and one column per measurement.
- List the identifier columns to repeat, such as region and year.
- List the value columns to turn into rows, or leave the list empty to use every column that is not an identifier.
- Name the two new columns, press Unpivot dataset, and download the long table.
Example: Dataset Unpivot Tool
Turn monthly figures into one row per region and month.
Options
- Identifier columns
- These columns are copied onto every output row, so the row still says which subject the value belongs to. Leave the list empty to unpivot the whole table into pairs of a name and a value.
- Value columns
- One output row is written for each listed column, in the order you list them. Leaving the list empty uses every column that is not an identifier, in the order the table already has them.
- Leave out empty value cells
- On by default, so a blank measurement produces no row at all. Turn it off when a row per field matters more than a compact result, and blanks are written as empty values.
Supported inputs and limits
Where your input is processed
This tool processes your input in this browser. Your text and files are not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.
Reading a long table next to the wide one
A wide table is easy to read across and awkward for a pivot table or a chart, because each month is its own column. The long shape puts the month in a name column and the number in a value column, so grouping, filtering and charting treat every month the same way.
Questions about Dataset Unpivot Tool
What does unpivoting actually change?
Each value column becomes a row of its own. The identifier values are copied onto that row, the source heading is written into the name column, and the cell itself goes into the value column.
Why is one region missing from my result?
The default leaves out rows whose value cell is blank. Turn off Leave out empty value cells and that region appears again with an empty value.
Which order do the rows come in?
Source rows keep their order. Explicit value columns follow the order you list them; when the list is empty, the remaining columns follow source-table order.
Does my table leave my computer?
It does not. The rows are read and reshaped inside this page, and the CSV you download is created from that same data on your device.