Sign in Start free

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

  1. Type or paste your text into the input box – or drop a text file on it.
  2. Adjust the options. The result updates instantly.
  3. 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.