ToolsEdit PDFArticlesPricingContact
TryPDFKit
Spreadsheets tool

Delete Blank Excel Rows

Strip empty rows out of a sheet or CSV in one go. No macros or Go To Special needed, and your file never leaves your browser.

  • 3 free uses, no sign-up
  • Files stay on your device
  • No macros or formulas
  • Excel and CSV

Drop your spreadsheet files here

or click to browse your device

  • XLSX
  • XLS
  • ODS
  • CSV
  • XLSM
  • XLSB
Files never leave your device
  • Files stay on your device
  • 3 free uses, no account needed
  • Works offline once loaded
How was Delete blank Excel rows?
Be the first to rate this tool.
1How it works

Delete blank Excel rows in three steps

  1. 01

    Add your file

    Open an Excel, ODS or CSV file by dropping it here. Keep the sheet box empty if the whole workbook needs it.

  2. 02

    Decide on spaces

    Keep the option on to treat rows with only spaces as blank, or turn it off to remove truly empty rows only.

  3. 03

    Download

    A note tells you how many blank rows were deleted.

2The details

What you get, and what to know

What you get

  • Whole sheet at onceEvery blank row is found, wherever it sits in the data.
  • Space-only rows caughtRows that look empty but contain spaces are removed too, by default.
  • All sheets or oneName a sheet to limit the clean-up, or leave it empty for the whole workbook.
  • CSV friendlyCSV keeps its separator, quoting and line endings.
  • Private by designCleaning happens in your browser.

Good to know

  • Formulas become valuesWhen rows are removed, formulas on that sheet are kept as their results, because cell references would shift. Merged cells are unmerged.
  • Styling is lostColors, fonts, borders, charts and pictures are not retained.
  • Only fully blank rowsA row with even one value stays. To remove empty columns, use Delete empty columns.
3Use cases

When people use Delete blank Excel rows

Tidy a pasted report

Remove the gaps left by copying from PDFs or web pages.

Prepare for a pivot table

Blank rows can stop a table range from being detected correctly.

Clean data before import

Many importers choke on empty lines.

Shorten a printout

Fewer empty rows means fewer pages.

What counts as blank

A row is blank when every cell in it is empty. With the spaces option on, cells that hold only spaces or tabs count as empty too. That catches rows that look empty on screen but are not.

Typical workflow

Paste or merge your data, then delete blank rows, then trim stray spaces with Trim Excel whitespace and remove repeats with Remove duplicate Excel rows.

To see how many rows you have before and after, use the Excel row counter. If you had blank columns as well, Delete empty columns takes care of them.

Large exports from accounting or inventory systems often have a blank row between every group of records. Removing them in a single pass makes the sheet continuous, which is what filters, sorting and pivot tables expect.

4FAQ

Questions, answered

How do I delete all blank rows in Excel?+

Add your file and save the cleaned copy. All empty rows are removed in one pass.

Is my file uploaded for cleaning?+

No. It is cleaned in your browser.

Why are rows with spaces counted as blank?+

They look empty to a person. Turn the option off if you want to keep them.

Does it work on CSV?+

Yes, and the file keeps its separator and line endings.

Can I clean only one sheet?+

Yes, type its name or number in the sheet box.

Will it work on a phone or tablet?+

Yes, in current mobile browsers. Files with many thousands of rows are faster on a computer.

+Keep going

Related tools