Structured data
CSV Pivot and Unpivot
Reshape a CSV export for a report or downstream import without uploading it.
Processed locally. Your input and output are never uploaded.
Tool overview
How CSV Pivot and Unpivot works
CSV Pivot and Unpivot changes a table between long and wide forms while keeping grouping and aggregation choices visible. It keeps input and output separate, runs locally, and documents boundaries instead of making unsupported guarantees.
Wide and long table workflows
- changes a table between long and wide forms while keeping grouping and aggregation choices visible. for a repeatable local workflow
- Review pasted or locally opened data before copying it
- Prepare output for a related PasteTidy tool
Select the shape and measure
- Paste the source or open a supported local file.
- Choose the documented options and review the separate result.
- Copy or download only after checking the visible output.
Aggregation rules and identifiers
- Mode: Choose a wide pivot or long unpivot.
- Row / ID columns: Comma-separated output row identifiers.
- Pivot column: Values become output columns.
- Value column: Values to aggregate.
- Aggregation: How duplicate pivot cells are reduced.
- Output delimiter: Separator for the result.
Turn events into a matrix
Before
id,month,amount A,Jan,2 A,Feb,3
After
id,Jan,Feb A,2,3
Lossy aggregation and empty values
- Ambiguous or malformed input is reported instead of silently repaired.
- Large input is bounded by the documented local worker limits.
- Input, options, and output are not sent to analytics or placed in URLs.
Browse all structured data tools โ
Questions
CSV Pivot and Unpivot FAQ
Does CSV Pivot and Unpivot upload my input?
No. Processing stays in the current browser tab or its local Web Worker.
Is the result authoritative?
No. Review the output and the documented limitations before using it in a production workflow.