CSV Column Renamer: Fix Headers Before You Import
CSV exports from different systems use different naming conventions — snake_case, camelCase, abbreviations, or inconsistent capitalization. Before importing into a database or another tool, use this renamer to map old column names to new ones without touching a single data row.
Blank Means Keep
Each column header gets an editable input field. Leave a field blank to keep the original column name — you only need to fill in the columns you want to rename. This is faster than renaming every column when you only need to fix a few headers.
Naming Convention Alignment
Common use cases: converting 'First Name' to 'first_name' for database import, converting 'userId' to 'user_id' for a Python script, or expanding abbreviations like 'qty' to 'quantity' for human readability. The renamer handles all of these as simple text replacements on the header row.
Data Rows Are Untouched
The rename operation modifies only the first (header) row. Every data row is passed through unchanged. This means there is zero risk of accidentally modifying values — the operation is purely a header transformation.
Practical Examples
Normalizing a Salesforce Export for Database Import
Map Salesforce field names to snake_case for a PostgreSQL import.
- 1.Paste the Salesforce CSV export
- 2.Rename 'First Name' → 'first_name', 'Last Name' → 'last_name', 'Account Name' → 'account_name'
- 3.Leave numeric or already-correct columns blank
- 4.Copy the renamed CSV and use in your database import script
How It Works
- Parse header row and render one input field per column
- Leave blank to preserve original name
- Data rows passed through unchanged
- Output updates instantly as you type
Good Use Cases
- Converting space-separated headers to snake_case for databases
- Expanding abbreviations for human-readable exports
- Aligning column names to an API's expected field names
- Standardizing headers when merging CSVs from different sources
Frequently Asked Questions
Will renaming a column affect the data?
No. Only the header row is changed. All data rows remain exactly as they are.
What if I leave a rename field blank?
Leaving a rename field blank keeps the original column name. You only need to fill in the columns you want to rename.
Can I rename to a name that already exists?
Yes, but this may create duplicate column names in the output, which can cause issues in tools that expect unique headers. Use with care.