Remove Extra Spaces
Collapse double spaces, trim lines and tidy blank lines.
Loading tool…
Runs entirely in your browser — nothing you enter is uploaded or stored on a server.
How to use it
Collapse runs of spaces into one, turn tabs into spaces, trim the start and end of every line, and keep, collapse or remove blank lines — with a count of every fix.
- Paste your text.
- Choose which spaces and blank lines to tidy.
- Copy the result.
WritersDevelopersStudents
Questions
Does it remove no-break spaces too?
No — those look like spaces but are different characters. Use the Invisible Character Remover or the Text Cleaner to turn them into ordinary spaces first.
Will it break my paragraphs?
Not with the default “Max one” setting for blank lines: paragraphs stay separated by a single empty line.