★

Remove Extra Spaces

Remove double spaces, tabs and spaces at the start and end of each line.

Updated · Free · No sign-up

Send on WhatsApp

How to use the Remove Extra Spaces

Type or paste your text into the first box. The result appears immediately in the second box, ready to copy or download. Replace the sample text with your own.

Worked example

Input:

  This   text has    too many   spaces.  

Output:

This text has too many spaces.

Frequently asked questions

What does the Remove Extra Spaces do?

Remove double spaces, tabs and spaces at the start and end of each line.

Is the Remove Extra Spaces free to use?

Yes. It is free, needs no sign-up and works on phones, tablets and computers. Everything is calculated in your browser, so what you enter is not sent to or stored on a server.

Related online tools