The useful answer

A row is blank only when every field is empty or whitespace. The number 0 is a value. Keep it unless your data definition explicitly says otherwise.

Before you start

Blank lines can appear when a worksheet is exported with formatting far below the actual data. They make a file look larger and can complicate imports. A tempting shortcut is to delete any row that looks unimportant, but that can remove valid zero quantities or records with only a status.

The sample contains two completely empty records and three meaningful records, including a quantity of zero. Table Tidy checks every cell after considering whitespace. It removes a row only if all cells are blank. It does not treat the string 0 as false or missing.

Your practice file

blank-rows.csv · Original Deskcraft example · Reusable for practice

Download source ↓

The walkthrough

Inspect the small source

Load blank-rows.csv. It contains five data rows: three populated records and two rows made only of empty fields or spaces. Use the header to confirm the expected three-column shape.

Run the unchanged comparison

Keep all cleanup options off and click Clean table. The preview includes the blank rows. Notice that the first record has a real ID and a quantity of 0; it is not an empty row.

Remove only blank records

Enable Remove blank rows, leaving duplicate removal off. Run the tool again. The row count should fall from five to three while the record with quantity 0 remains.

Review partial records separately

A row with an ID but no quantity is not blank and will survive. That behavior protects incomplete records from silent deletion, but it does not make them complete. Investigate missing required fields using your own data rules.

Save and reconcile the count

Download the cleaned file and compare its three data records with the source. Record the two removed blank rows so the change can be explained if someone compares file lengths later.

Before & after, in practice

What we checkedStarting comparisonAfter the change
Data rows53
Columns33
ResultParsed successfullyParsed successfully

Recorded in Chrome 153.0.8010.54. These are measurements of this practice file, not guaranteed results for every file or browser.

Table Tidy: Starting comparison for Remove blank rows, keep the meaningful zeros
Starting comparison. Actual Table Tidy operation captured with the supplied practice file. Select the image to inspect the settings at full size.
Table Tidy: After the change for Remove blank rows, keep the meaningful zeros
After the change. Actual Table Tidy operation captured with the supplied practice file. Select the image to inspect the settings at full size.
Inspect the demonstrated result

Download the actual output recorded for this walkthrough.

Download result ↓

When it goes wrong

Rows with one empty cell remain

The tool removes completely blank rows, not every incomplete row. Decide which fields are required before filtering partial records.

The number zero disappeared in another tool

That tool may have confused a false-like value with an empty value. Restore the record and use an explicit blank test.

A malformed blank line triggers a shape error

Enable blank-row removal before checking rectangular data. If a nonblank row has the wrong field count, repair its delimiter or quotes instead of deleting it blindly.

The final check

The cleaned file should contain IDs 001, 002 and 003. Quantity 0 must remain on the first record. Both completely blank rows should be absent, and no populated row should have changed order.

Keep one clean original. The tools create a new copy. They do not overwrite your source. For important work, verify the downloaded result in the application that will actually use it.

Further reading & method

These links explain the underlying formats or browser behavior. The steps, examples, screenshots and measured results above come from the Deskcraft tools. Screenshots do not depict Excel, Photoshop or another commercial application.

See how these guides are made. Found an error? Send a correction with the guide title and the step you tried.