Remove Empty Columns from CSV
Drop unused CSV columns whose data cells are all empty or whitespace-only.
Workspace
Input data
or drop a CSV or TSV file here
Options
Excel cells are saved as text to keep every digit.
Cleanup options
Advanced options
Use column numbers starting at 1. Omitted columns are deleted.
Enter comma-separated names in output order. Leave positions blank to keep their names.
Preview
Your rows and columns will appear here.
Change report
How to use Remove Empty Columns
- Load the CSV and confirm which row contains column names.
- Check the report and preview to see which unused columns are gone.
- Export the result. Use the column-order field in Advanced options if you also want to remove populated columns.
Example
Order,Unused,Status,Note
1001,,Open,
1002,,Pending,Call back
1003, ,Closed,The Unused column disappears. Note stays because one row contains “Call back”.
Frequently asked questions
What is a CSV file in Excel?
A CSV is a text table that Excel can open in cells. A column may have a heading while its data cells are all empty. Confirm the first-row setting in the preview so the heading identifies the column without counting as a populated data cell.
What type of CSV to use?
Use a UTF-8 CSV with consistent field positions. Keep separators that represent empty fields, so the parser can distinguish a blank column in the middle from a missing field. If rows have inconsistent widths, check the preview before dropping any column your downstream import expects.
Does the tool remove a column when it has a heading but no data?
Yes, when the first row is used as the header and the data rows in the column are all blank or whitespace-only. A header-only file keeps its columns. Confirm the removed-column count before downloading, especially if your destination still expects named empty placeholders.
Will a column containing zeros be removed?
No. A zero is a value, so a column containing it stays. A column is eligible only when its data cells have no non-whitespace characters. If you need to remove a populated column intentionally, list the columns you want to keep under Advanced options.
Can I change the order of the remaining columns?
Yes. Enter the original column numbers in the desired order under Keep columns in this order. Omit the fields you want to drop and review the resulting header. The tool applies the selection in your browser, and FormatMyCSV never uploads your CSV file.