Remove extra spaces in Excel

If extra spaces in your Excel worksheet don't let process your data correctly, use text tools from Ultimate Suite for Excel. It will help you remove leading and trailing spaces or get rid of excess blanks between words. Here you will learn how to remove spaces in Excel 2019 - 2010.

Before you start

We care about your data. The add-in will back up your file if you select the corresponding option.

How to trim spaces in the range

To run the needed tool, click the Trim Spaces icon in the Text group on the Ablebits Data tab:
Remove spaces in Excel.

Then simply pick the needed options:
How to trim spaces in Excel.

  1. Select the range where you want to remove extra spaces in your Excel worksheet.
  2. If you want to highlight the whole table quickly, click the Expand selection icon.
  3. If you pick Trim leading/trailing spaces, the spaces before and after cell values will be deleted.
  4. By ticking Trim spaces between words to 1, you'll have extra spaces between words within a cell removed.
  5. The Trim ' ' option means that non-breaking spaces that look like   in your worksheet will be deleted from the selected range.
  6. Opt for Remove extra line breaks to delete extra line breaks.
  7. Tick Remove all line breaks to get rid of absolutely all line breaks.
  8. We always recommend selecting the Back up the worksheet option to keep your original table intact.

Click the Trim button to remove all extra spaces in one click.

Tip. You click the down arrow below the add-in's icon and pick the necessary option from the drop-down menu:
Trim spaces directly from the Excel ribbon.