AZ Tools

CSV Transpose — Swap Rows and Columns

Text

Paste CSV data and flip it diagonally: the first row becomes the first column and vice versa. Quoted fields containing commas, quotes or newlines are parsed correctly and re-quoted in the output, ragged rows are padded with empty cells, and you can pick comma, semicolon or tab as the delimiter. Everything runs locally in your browser — nothing is uploaded.

Transposed CSV

Input: 3×3 · Output: 3×3

How to use

  1. Paste your CSV into the input box.
  2. Choose the delimiter that matches your data.
  3. Copy the transposed CSV from the output box.

Frequently asked questions

Does it handle quoted fields?
Yes. Fields wrapped in double quotes are parsed per RFC 4180, including commas, line breaks and escaped double quotes ("") inside them, and are re-quoted as needed in the output.
What happens with rows of different lengths?
The grid is squared off to the widest row. Missing cells in shorter rows become empty fields after transposing.
Which delimiters are supported?
Comma, semicolon and tab. The same delimiter is used to parse the input and to write the transposed output.
Is my data sent anywhere?
No. The transpose happens entirely in your browser; nothing is uploaded.

Related tools