Skip to main content
CSV & Spreadsheet Data

How to Select, Drop, Rename, and Reorder CSV Columns Without Writing Code

Four essential column operations — selecting, dropping, renaming, and reordering — that every data worker needs, done without a single line of code.

Key Takeaways
  • Selecting keeps only needed columns, reducing file size and exposure.
  • Dropping removes PII and sensitive fields before sharing externally — a GDPR/CCPA best practice.
  • Renaming standardises column headers to match what downstream systems or partners expect.
  • Reordering improves readability and ensures positional-import systems receive columns in the right sequence.

Every CSV has too many columns, the wrong column names, or both. A CRM export from Salesforce might have 140 columns when your analysis needs 8. A supplier product feed has internal codes that should never be shared externally. A data handoff to a partner requires columns in a specific order with specific names. These are not complex data engineering problems — they're routine column management tasks that shouldn't require writing code.

Selecting: Keep Only the Columns You Need

The first and most common operation is simply choosing which columns to keep and discarding the rest. This makes files smaller, faster to work with, and easier to share. It also reduces the surface area for data quality errors — every column you keep is a column someone might misinterpret.

When selecting columns for a specific recipient, think about what they actually need. A finance partner needs amounts and dates, not product descriptions. A marketing team needs contact fields, not internal account IDs. Give each audience exactly what serves them.

Dropping: Removing Sensitive and Irrelevant Columns

Dropping is the inverse of selecting — you start with everything and remove what you don't want. This is the right approach when most columns are useful but a few should be excluded: PII columns before sharing externally, internal scoring fields before exporting to a partner, or deprecated columns that are always blank.

Sohovi automatically detects PII in your datasets — emails, phone numbers, SSNs — all processed client-side so your data never leaves the browser.

Pay special attention to columns that contain personal data. A standard CRM export often includes birth dates, phone numbers, national IDs, or salary information that should not be in a file sent to a third-party vendor or marketing platform. Dropping these columns before export is a data minimisation best practice under GDPR and CCPA.

Renaming: Standardising Column Headers

Column names from system exports are often system-internal identifiers: Account_Name__c, ContactID__r, custno, FIRST_NM. These mean nothing to the people receiving the data. Renaming maps technical field names to plain-English labels that match what the downstream system or person expects.

Consistent naming also prevents errors. If your file has a column called "email" and the import template expects "Email Address", the import will fail or map incorrectly. Rename before sharing to match the target system's expected headers exactly.

Reordering: Logical Column Sequence

Column order matters for readability. A file where name, email, and phone are in columns 1, 2, and 3 is much easier to review than one where they're in columns 1, 47, and 89. Reordering also matters for systems that process columns positionally rather than by name.

A browser-based CSV column picker handles all four operations in one interface: select which columns to keep, drag to reorder, click to rename, and download the result. No installation, no code, and your data stays in your browser.

Sohovi's free CSV Column Picker supports all four operations and processes your file locally.

Frequently Asked Questions

How do I remove columns from a CSV file without Excel?

Use a browser-based CSV column picker — upload your file, uncheck the columns you want to remove, and download the result. Your data stays in your browser and the process takes under a minute.

How do I rename CSV column headers?

In Excel, just click the header cell and type the new name. In a CSV column picker tool, click the column name and edit it directly. In Python, use the DataFrame.rename() method with a dictionary mapping old names to new names.

Can I reorder columns in a CSV without opening it in Excel?

Yes — a browser-based CSV column picker lets you drag columns into any order and download the reordered file. This avoids Excel's tendency to auto-format values like phone numbers or dates when it opens a CSV.

Selva Santosh

Data quality, for people who ship

Selva writes practical guides on data quality, profiling, and governance to help teams ship better data.

Start for free

Stop guessing. Start knowing your data quality.

Sohovi profiles your datasets in minutes — surfacing completeness gaps, type mismatches, and duplicate patterns before they reach production.

No credit card required · Free forever plan