Remove extra spaces

Clean up messy spacing in text with one click.

Runs in your browser. Nothing you type is sent anywhere.

How to remove extra spaces

  1. Paste text that has extra spaces, tabs or blank lines.
  2. Choose which cleanup options to apply.
  3. Copy the cleaned text or download it as a file.

Remove extra spaces FAQ

Where do extra spaces usually come from?

They commonly appear after copying text from a PDF, a spreadsheet cell, or an email that used tabs or multiple spaces to line up columns.

Does this remove spaces at the start and end of the whole text, not just each line?

Trimming each line removes leading and trailing spaces from every line, which also clears the very first and last line of the text.

Will this affect a single space between words?

No, single spaces between words are left alone. Only runs of two or more spaces or tabs in a row are collapsed.

Related tools