Back to public tools
All tools
CSV and TSV matrices

CSV Transposer

Swap rows and columns in a CSV table. Turn a row of labels into a column, then preview and download the result.

CSV processing stays in a local browser worker. Inputs are not uploaded or saved; refreshing clears memory-only drafts.

Paste a table or open a file. To turn rows into columns, choose Transpose. Preview transformation lets you check the layout before you generate a file.

Source matrix

Up to 5 files, 5 MiB each / 15 MiB combined; 5,000 rows or columns and 100,000 rectangular cells per matrix. XLSX archives: at most 20 MB expanded content and 20 sheets. Only values are imported; dates become ISO timestamps, numbers use stored values, formulas/error cells are rejected. Formatting, merged layout and links are not retained.

Region and transformation

Ranges are inclusive logical rows/columns, including any headers. Only the selected rectangle is exported. Reversals happen before the chosen operation. Fixed labels stay in their original cells while only the data block changes; dimension-changing operations require a square data block when labels are fixed. Padding fills absent cells, leaving existing empty strings untouched.

Recipes contain dimensions and transformation settings, including padding and worksheet name, without source cells. Import requires matching source dimensions.

How to use CSV Transposer

Paste or import your table

Paste CSV or TSV, or import a UTF-8 CSV, TSV or TXT file. Import loads the text without changing it. Choose the input separator to match your table: comma, semicolon or tab. Choose the output separator independently.

Transform a region or batch

Use inclusive row and column ranges; end 0 means last. Only this rectangle is exported. Choose transpose, keep axes or a rotation; row and column reversals run first. Fixed first-row or first-column labels stay in place while the data block transforms. Dimension-changing operations require a square block when labels are fixed.

Custom padding fills absent cells in short CSV rows without replacing existing empty strings. Preview transformation shows dimensions, table excerpts and a numeric heatmap. Up to five CSV/TSV/XLSX files can be transformed with the same settings; successful files and failed-input explanations are available in the ZIP manifest. XLSX imports the first worksheet by default; preview exposes sheet choices. Only values are imported; formulas and error cells are rejected. Dates become ISO timestamps, numeric cells use stored values, and styles, links and merged layout are omitted.

Values-only XLSX exports all cells as text. CSV remains literal text, including formula-like values; quoting does not prevent a spreadsheet from interpreting them. Copy is limited to 2 MiB; full downloads contain every accepted cell. Recipes store dimensions and transformation settings, without source cells; import requires matching dimensions. Normal limits remain 5 MiB input, 5,000 rows or columns and 100,000 rectangular cells per matrix; batch input is 15 MiB and CSV output 40 MiB combined, with 10 MiB per file. XLSX input allows 20 MB expanded content and 20 sheets; output cells must fit 32,767 characters.

Swap rows and columns

Choose Preview transformation to compare dimensions and cell previews. Choose Transform matrix for complete output. With full ranges and no fixed labels, every row participates, including headings. Enable Pad short CSV rows to fill absent positions with the chosen padding value.

Save or start again

Copy full output or download CSV (TSV for tab output). Previews are shortened for large tables; exports include the complete result. If copying is blocked, select the complete output and copy manually. Changing text or settings hides the previous result until you transpose again.

Clear empties the sources and retains settings. Reset transformation restores full ranges and the transpose operation while retaining parsing and padding choices. Try an example loads a small table. Undo restores the previous draft and result. Cancel stops work in progress while keeping your input.

Example: turn a contact list sideways

You have names across one row and cities across another. Paste this comma-separated table and choose Transform matrix:

name,Alice,Bob
city,Paris,Oslo

The two rows and three columns become three rows and two columns. Each name is now beside its city:

"name","city"
"Alice","Paris"
"Bob","Oslo"

Transpose the result again to restore the same cells in their original positions.

About transposing tables

Transposing turns rows into columns and columns into rows. It helps rearrange survey answers, contact lists and spreadsheet tables. It does not group entries, add totals or create a pivot table.

Text, leading zeros, spaces, quoted commas, line breaks inside quoted cells and empty cells are preserved. Blank records count as one empty cell. A final line break does not add another row. Exports quote every cell and use UTF-8 with no added encoding marker.

Processing runs in your browser. Drafts and one-step Undo stay in memory and disappear on refresh. Spreadsheet apps may treat cells starting with =, +, - or @ as formulas when you open an export. This tool preserves those strings and does not run or sanitize formulas.

Stars and feedback

Loading…

Tool reference #107