Skip to content

Transpose CSV: Swap Rows and Columns

Drop a CSV or Excel file and flip its rows and columns in one step; nothing is uploaded.

Processed on your device. Nothing is uploadedHow to check

Try a sample file:

You can also paste CSV or JSON text with Ctrl+V (⌘+V on a Mac).

Your file is opened in this browser tab only: it is never uploaded or stored anywhere, and it is gone when you close the tab.

  • CSVView and edit.csv.tsv.tab.xlsx.xls.xlsm.ods
Paste text instead

Pasted text stays in this tab and is never sent anywhere.

Transpose a CSV file in your browser: the file opens with the transpose dialog, and one click turns its rows into columns and its columns into rows. Transpose the whole table, or only the rows your filters show. Undo puts it back, and download saves the result. Excel files open their first sheet. Nothing is uploaded.

Why use Transpose

  • Private

    Your file is opened by your own browser and never sent to a server, so nobody else sees it.

  • Filtered rows only

    Transpose just the rows your filters show, or the whole table.

  • Works offline

    Once this page has loaded, it keeps working without an internet connection.

How it works: transpose a CSV file

  1. Open your file

    Drop a CSV or Excel file, choose it, paste CSV into the paste box, or try one of the samples.

  2. Transpose it

    In the transpose dialog, choose the whole table or only the shown rows, then confirm.

  3. Check the result

    Rows are now columns and columns rows. Undo restores the original layout.

  4. Download

    Save the result as CSV, or as Excel, Markdown, HTML or SQL.

What the transpose tool handles

  • Input: CSV files, and Excel .xlsx and .xls files (the first sheet).
  • Transpose: rows become columns and columns become rows.
  • Scope: the whole table, or only the filtered rows.
  • Undo: restores the table as it was.

Transpose: what it can't do

  • Excel files: only the first sheet is opened.
  • The result is plain data; formulas and formatting from an Excel file are not carried over.

Transpose CSV: questions and answers

Is my file uploaded?
No. Your browser transposes the table on your device; nothing is sent to a server.
What does transposing do?
It turns the table on its side: the first row becomes the first column, the second row the second column, and so on.
Can I transpose only some rows?
Yes. Filter the table, then choose to transpose only the shown rows.
Can I undo a transpose?
Yes. Undo puts the rows and columns back as they were.
Can I transpose an Excel file?
Yes, its first sheet. Other sheets are not opened, so save them as separate files to transpose them.
How do I swap rows and columns in a CSV file?
Swap rows and columns by transposing the table, so the first row becomes the first column; in Excel the same is done with Paste Special and Transpose. In OpenAnyDoc, open the CSV and press Transpose; it runs in your browser without uploading the file, and Undo puts the table back.

Why it's private: your files never leave your browser

Most online viewers upload your file to a server, so a copy of it leaves your device. OpenAnyDoc works the other way round: your browser reads the file and draws it on your screen. Nothing is uploaded, there is no account, and the file is gone from memory when you close the tab, so there is nothing for us to store, see or lose.

How we tell you about new features

Announcements are based on the release date shown to everyone, and nothing is stored on your device or sent anywhere.