About this tool
CSV Transpose is a free, in-browser tool that swaps the rows and columns of a CSV grid: the first column becomes the header row, each original row becomes a column, and the whole table is rotated. It is the quick fix when a spreadsheet came out the wrong way round, or when a chart or import expects series along rows instead of columns.
Everything runs locally in your browser using JavaScript — your data is never uploaded or stored. The parser respects quoted fields and escaped quotes, ragged rows are padded so nothing is lost, and the transposed CSV re-quotes any field that needs it. The result updates live as you edit, and you can copy or download it.
Frequently asked questions
What exactly does transposing do?
The cell at row i, column j moves to row j, column i. So a 3-row by 2-column table becomes 2 rows by 3 columns, and what was the first column reads left-to-right as the new top row.
What happens with rows of different lengths?
The grid is treated as being as wide as its longest row; shorter rows are padded with empty cells during transposition so every column is accounted for and no data shifts into the wrong place.
Are quoted fields and delimiters preserved?
Yes. The parser honours double-quoted fields, embedded delimiters and newlines, and doubled quotes; on output any field containing the delimiter, a quote or a newline is re-quoted so the CSV stays valid.
What CSV conventions are assumed?
Fields are separated by the selected delimiter (comma, semicolon, tab or pipe), there is no special header handling — every row including the first is transposed — and a literal double quote inside a field is written as two double quotes.
More tools