Remove extra spaces in Excel

If extra spaces in your Excel worksheet don't let process your data correctly, use Trim Spaces, one of the 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.

Before you start

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

How to trim spaces in the range

To run the 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 select 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 ( ) 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 this worksheet option to keep your original table intact.

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

Tip. Alternatively, you can run the tool by clicking the arrow below the add-in icon and picking one of the 3 most popular options from the dropdown menu:
Trim spaces directly from the Excel ribbon.

Post a comment

Seen by everyone, do not publish license keys and sensitive personal info!

If you have any questions or issues with this add-in, please feel free to post your concerns in the comments area. As soon as we answer, a notification message will be sent to your e-mail. If you do not want to share your thoughts in public, please contact us at support@ablebits.com.