Swap rows and columns in selected XLSX table data locally. Preview the transposed result and download a new workbook.
Start with your workbook
XLSX · 128 MiB combined limit · Files stay in your browser
1.
Choose an XLSX workbook
2.
Select a sheet and review rows turned into columns
3.
Download a values-only XLSX workbook
Turn rows into columns
Transpose a selected worksheet table and review the changed dimensions before downloading.
For example, turn a vertical list of categories into columns for a different reporting layout.
How it works
Choose an XLSX workbook.
Select the worksheet and whether to include its original first row, then review the transpose.
Download a new values-only XLSX workbook.
Output and limitations
Transpose creates a rectangular values-only workbook. It preserves blank positions with padding but does not retarget source formula dependencies.
Keep a copy of your original workbook and review downloaded results before using them.
Other ways to work with this Excel task
Run these examples on your own computer with copies of your files. The commands are separate alternatives to the browser tool; their type handling and workbook preservation can differ.
Transpose Excel data with Python
Swap row and column positions in one rectangular values-only worksheet.
Before you start
Install Python 3. Create the environment below, save the Python example as task.py, then run .venv/bin/python task.py in the folder containing input.xlsx. On Windows, use py -m venv .venv and .venv\Scripts\python.exe in place of .venv/bin/python. Replace Inventory with your worksheet name.
from openpyxl import Workbook
from openpyxl import load_workbook
workbook = load_workbook("input.xlsx", read_only=True, data_only=True)
sheet = workbook["Inventory"]
rows = list(sheet.iter_rows(values_only=True))
workbook.close()
output = Workbook()
target = output.active
target.title = "Transposed"
for column in zip(*rows):
target.append(column)
output.save("transposed.xlsx")
Run the saved example
.venv/bin/python task.py
Limits and output
These data recipes use saved cell results, not recalculated formulas. They do not copy charts, styles, macros or workbook relationships. Keep the original file.
The entire selected sheet is held in memory. Excel row/column limits still apply after transposing. This does not adjust formula dependencies. Review formula-looking source text before writing it.
The transposed output uses stored cell values. It does not preserve formulas or rewrite their references.
Can I include the first row?
Yes. Choose whether the original first row participates in the transpose and review the result before downloading.
Is my workbook uploaded to a server?
The anonymous browser file tools process workbook contents locally. The website still makes ordinary requests for pages and sample files. Read the privacy page for details.
Which Excel files can I open?
Choose XLSX files with a combined size of 128 MiB or less for the editor and workbook transformations. Legacy XLS files and password-protected or encrypted workbooks are not supported.