cleantext

Free. No sign-up. Nothing uploaded.

Remove extra spaces from text

Double spaces between words. Tabs that came from a spreadsheet. Trailing spaces you cannot see. Stacks of blank lines. Paste it in and it comes back tidy, and your text never leaves this browser.

The tool

Your original stays here.

You can edit this.

Options

Where does your text go?

Nowhere. It stays in your browser.

There is no server doing the work here. Open your browser's network tab and watch while you paste. Nothing goes out. Or turn off your wifi and use the page anyway. It still works.

Questions

Does it touch anything except the spacing?

No. It squeezes spaces, replaces tabs, trims line ends and handles blank lines. That is all. It does not rejoin your sentences, strip email headers or rebuild your formatting. If you want that, use the full cleaner instead.

Why does it keep my indentation?

Because indentation at the start of a line is usually deliberate. Spaces between words are the damage. If you do want the indentation gone, there is a checkbox for it under Options.

What are invisible characters?

Zero-width spaces and formatting marks that Word, Google Docs and AI tools leave behind. They look like nothing on screen and then break the paste somewhere else later.

Is it really free?

Yes. Nothing to buy, no account. Your browser does all the work, so the page costs nothing to run and there is nothing to charge you for.

Paste yours in and see.

Back to the tool