ToolsEdit PDFArticlesPricingContact
TryPDFKit
Spreadsheets tool

Rename Spreadsheet Columns

Rewrite the header row of a sheet or CSV without touching the data. List old and new names, or just the new names in order, and your file stays on your device.

  • 3 free uses, no sign-up
  • Files stay on your device
  • Excel and CSV
  • Data cells untouched

Drop your spreadsheet files here

or click to browse your device

  • XLSX
  • XLS
  • ODS
  • CSV
  • XLSM
  • XLSB
Files never leave your device
  • Files stay on your device
  • 3 free uses, no account needed
  • Works offline once loaded
How was Rename spreadsheet columns?
Be the first to rate this tool.
1How it works

Rename spreadsheet columns in three steps

  1. 01

    Add your file

    Select the file to clean, in Excel, ODS or CSV form. Leave the sheet box empty to use the first sheet.

  2. 02

    Write the new names

    Put one mapping per line, like cust_nm => Customer name. Or list new names for the first columns, separated by commas.

  3. 03

    Download

    Only the header row changes. A note tells you how many columns were renamed.

2The details

What you get, and what to know

What you get

  • Map by old name or letterWrite old name => new name, or use a letter such as B => Email.
  • Or list the names in orderType Name, Email, City and the first three headers become exactly that.
  • Arrows of your choice=>, -> and → all work, and so does a tab between old and new names, which makes pasting from a table easy.
  • Layout unchangedNo rows or columns move, so formulas, merged cells and widths stay where they are.
  • Clear errorsIf an old name is not found, the message lists the real headers.

Good to know

  • First row onlyThe tool treats row 1 of the sheet as the header. To rename later rows use Find and replace spreadsheet values.
  • Formatting is lost on saveIn Excel files, colors, fonts and borders are not kept because the workbook is rewritten.
  • One sheet per runOnly the named sheet (or the first) is edited. Other sheets stay as they are.
3Use cases

When people use Rename spreadsheet columns

Make headers code-friendly

Turn Customer Name into customer_name before importing into a database.

Match an import template

Rename columns to the exact titles a system expects.

Clean up exports

Replace cryptic system names with readable ones.

Translate headings

Switch column titles into another language.

Two ways to write the new names

The mapping style changes only the columns you name. Type one pair per line, for example cust_nm => Customer name, then B => Email. Columns you do not mention keep their current headers. The list style simply replaces headers from the left, so the first name goes to column A, the second to column B and so on.

Tips

Header names with commas can be wrapped in quotes in the list style.

If the sheet has no header row at all, add one before using this tool. When your goal is to prepare data for code, follow up with Excel to JSON, where the headers become the keys. To remove columns you do not need first, use Extract selected Excel columns.

4FAQ

Questions, answered

How do I rename columns in Excel without opening it?+

Add the file, enter old and new names and download. Only the header row is changed.

Is my spreadsheet uploaded to change the headers?+

No. The edit happens in your browser.

Can I rename by column letter?+

Yes. Write something like C => Total.

Does it work on CSV?+

Yes, and the CSV keeps its separator and line endings.

What if a name I typed does not exist?+

You get a message listing the real column names so you can fix the spelling.

Does it run on phones and Macs?+

Yes, in current browsers on both.

+Keep going

Related tools