Remove Extra Spaces
Squeeze double spaces and trim every line.
About this tool
Replace runs of spaces and tabs with a single space, trim the start and end of every line, or remove all whitespace.
How to use
- Type or paste your text into the input box – or drop a text file on it.
- Adjust the options. The result updates instantly.
- Copy or download the result, or send it to another tool with "Use in…".
Your text never leaves this device: the tool runs entirely in your browser and nothing is uploaded or stored.