Transpose CSV
Swap CSV rows and columns with correct quoting for multiline cells, empty values and embedded delimiters.
Start with your input
Edit the example or replace it with your own text.
Choose your options
These settings are optional. Keep the defaults to get started.
How to use Transpose CSV
- Paste a rectangular CSV table and select its delimiter.
- Transpose to exchange every row index with its column index.
- Copy or download the resulting comma-separated table.
Treat the whole input as a matrix
Every cell participates in transposition, including the first row. The tool does not assume that headers should be removed or treated as a special data type. A three-row, four-column input becomes four rows and three columns. Empty cells are retained and quoted content is parsed before rows and columns are exchanged.
Review dimensions and import behavior
Rows must have equal width; irregular input is rejected instead of padded silently. The tool caps work at 50,000 cells to keep browser processing manageable. Output uses commas and quotes cells when necessary. Transposing twice restores the cell matrix, although newline style and quoting may be normalized. Spreadsheet applications may still apply their own type conversion when importing the result.
Example input
metric,Ada,Grace score,98,99 city,London,New York
Does the first row stay at the top?
No. The first row becomes the first column. Header cells are transposed like any other cells.
Is input uploaded?
Processing takes place in your browser. This tool does not send your input or selected files to a conversion API.