To remove extra spaces, paste your text into the box and click Remove Extra Spaces. The tool turns runs of spaces and tabs into a single space, trims the start and end of every line, and drops empty lines. Tick the box if you want to keep empty lines. The tidied text keeps its line breaks and is ready to copy or download as a text file.
Limit: Max 1,000,000 characters.
Yes, it is free and needs no sign-up.
Any run of two or more spaces, or tabs, is turned into a single space.
Yes. Tick the box to keep empty lines; otherwise they are removed.
No. The cleanup runs in your browser and your text never leaves your device.
Paste your text into the box and click Remove Extra Spaces. The tool turns every run of two or more spaces, or tabs, into a single space, and trims the start and end of every line.
Not directly — it does not open Excel files. Copy the text from your Excel cell, paste it here, clean it, then copy the result back into Excel.
Not directly — it does not open Word files. Copy the text from your Word document, paste it here, clean it, then copy the cleaned text back into Word.