Remove Empty Rows and Columns from CSV

Remove rows with empty cells, rows that are completely empty, or columns with no values from a CSV or Excel file. Free, in your browser.

Quick answer: Join files on a key, trim, concatenate, fix dates, filter and more, in the order you choose.

Related: Data Transformation: Join, Trim, Concatenate · Delete Columns from a CSV File · Reorder Columns in a CSV File · Find and Replace in a CSV File · CSV Guides and Free CSV Tools

How to use the Remove Empty Rows and Columns from CSV

Join files on a key, trim, concatenate, fix dates, filter and more, in the order you choose.

Data Transformation lets you reshape a file with a list of steps instead of formulas. Join two files on a key with an inner, left, right or full join, trim spaces, concatenate or split columns, change date formats, change case, find and replace, filter, sort, remove duplicates and fill empty cells. See the result straight away, then download it or send it to another tool. Every step is recorded in Data Lineage.

  1. Load a file (and a second one to join)
  2. Add the transformations you want
  3. Check the result and download

Tips

Example

Input: 4 rows, 2 with blank cells

Output: 2 complete rows

Browse by topic

Who uses Data Utility

Frequently asked questions · Data format benchmark

Frequently asked questions

How do I remove rows with blank values from a CSV?

Add a Remove empty values step, choose rows where any selected column is empty, pick the columns to check and download the result.

What counts as empty?

Blank cells and cells with only spaces. You can also count the text null, NaN, N/A and none as empty. A zero is never treated as empty.

Can I remove only the columns that have no values?

Yes. Choose the option for columns that are completely empty.

Can I join two files or combine columns?

Yes. Data Transformation lets you join two CSV or Excel files on a key (inner, left, right or full), and trim spaces, concatenate columns, change case, find and replace, split, rename, filter, sort, remove duplicates and fill empty cells. You choose the steps, check the result and download it. Your files stay in your browser.

Which transformations are available?

Join with a second file (inner, left, right or full), trim spaces, concatenate columns, change date formats, change text case, find and replace, split a column, rename or remove columns, filter rows, remove duplicates, sort and fill empty cells. Steps run from top to bottom and you can reorder them.

Can I change the date format of a column?

Yes. Add a Change date format step, pick the column and the new format, such as 2026-03-09, 09/03/2026 or March 9, 2026. It reads many layouts, Excel date numbers and unix timestamps, and can also give only the year, month, weekday or quarter. If 03/04/2026 is unclear, you choose day first or month first.

Is Data Transformation a VLOOKUP alternative?

For lookups between two files, yes. A join adds the matching columns from the second file to every row of the first, with no formulas. Keys are matched ignoring case and extra spaces.

Related pages

Topic guides

Guides