Skip to content

Text tool

Remove Extra Spaces

Turn repeated spaces into one space and trim each line.

Processed in your browser. The text is not sent to our servers.

How to remove extra spaces

  1. Paste the text.
  2. Click Clean spaces.
  3. Copy the tidied text.

Repeated spaces and tabs on a line become one space. Each line is trimmed, and three or more blank lines become one blank line.

Back to Text tools

Frequently asked questions

Are single spaces kept?

Yes. Only repeated spaces and tabs are collapsed, and the ends of each line are trimmed.

Is the text uploaded?

No. Cleaning runs in your browser.