# Transpose CSV

> Swap rows and columns in a CSV. Runs entirely in your browser — nothing is uploaded.

Source: https://toffeekit.com/tools/csv-transpose

**Category:** [Data](https://toffeekit.com/category/data) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/csv-transpose

**Also useful for:** transpose csv, swap rows and columns, pivot, rotate table, flip csv

## How it works

1. Paste your CSV, drop a file or click Open.
2. Leave Input delimiter on Auto, or pick the one your file uses.
3. Choose an Output delimiter, or keep Same.
4. Check the Preview, then Copy or Save the transposed CSV.

## FAQ

### What does transposing a CSV do?

It flips the table along its diagonal: the first row becomes the first column, the second row becomes the second column, and so on. A 3 by 10 table becomes 10 by 3.

### How do I transpose a CSV without Excel?

Paste it here and the transposed version appears instantly. In Excel you'd copy the range and use Paste Special with Transpose.

### What happens to the header row?

It becomes the first column, so each original column name now labels a row.

### What if rows have different lengths?

Missing cells are filled with empty values so the result is a proper rectangle.

### Are quoted cells with commas kept intact?

Yes. Cells are parsed with full CSV quoting rules and written back with quotes wherever they're needed.

### Is Transpose CSV free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so your files are processed on your device and never uploaded. It works on phones and computers alike.

## Privacy

Transpose CSV runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [CSV to JSON](https://toffeekit.com/tools/csv-to-json) — Turn CSV rows into JSON objects.
- [JSON to CSV](https://toffeekit.com/tools/json-to-csv) — Flatten JSON into a CSV you can open in Excel.
- [XML ⇄ JSON](https://toffeekit.com/tools/xml-json-converter) — Convert XML to JSON and back.
- [CSV Cleaner](https://toffeekit.com/tools/csv-cleaner) — Trim cells, drop empty rows, remove duplicates.
- [Delimiter Converter](https://toffeekit.com/tools/csv-delimiter-converter) — Switch between comma, semicolon, tab and pipe.
- [CSV Viewer](https://toffeekit.com/tools/csv-viewer) — Open a CSV as a sortable, searchable table.

