CSV Transpose
Flip rows and columns in a CSV table
5 rows × 4 cols
Name,Alice,Bob,Carol,Dave Age,30,25,35,28 City,New York,London,Tokyo,Berlin Role,Engineer,Designer,Manager,Developer
How CSV transposition works
Transposing a CSV swaps its rows and columns: the first column becomes the first row, the second column becomes the second row, and so on. This is the CSV equivalent of the matrix transpose operation. It is useful when your data is in wide format (many columns) and you need it in long format (many rows), or vice versa — a common step when reshaping data for APIs, spreadsheets, or databases. The converter handles quoted fields containing commas correctly (RFC 4180 compliant), and pads shorter rows with empty cells to produce a rectangular result.
Private & free — this tool runs entirely in your browser.
Recommended: IndieKit — Ship your Next.js startup in days.affiliate
Related Converters tools
JSON to YAML
Convert JSON into clean, readable YAML instantly.
YAML to JSON
Convert YAML configuration into valid JSON.
JSON to CSV
Flatten a JSON array of objects into CSV rows.
CSV to JSON
Parse CSV with headers into a JSON array of objects.
JSON to XML
Convert JSON structures into nested XML markup.
JSON to SQL
Turn a JSON array of objects into SQL INSERT statements.
CSV to XML
Convert CSV rows into structured XML records.
XML to CSV
Flatten repeated XML records into CSV rows.