Remove Extra Spaces

Remove double spaces, leading and trailing spaces and tabs from text.

Tool

Was this tool useful?

About this tool

About Remove Extra Spaces

Tidy up text pasted from documents and web pages with one click.

How it works

Runs of spaces and tabs become a single space; spaces at the start and end of lines are trimmed.

Example

“Hello␣␣␣world␣” → “Hello world”.

How to use this tool

  1. Paste your text.
  2. Choose which spaces to remove.
  3. Copy the cleaned text.

Frequently asked questions

Will it remove line breaks?

Only if you tick that option; otherwise lines stay as they are.

What about non-breaking spaces?

They are converted to normal spaces too.

Is my text stored when I use the Remove Extra Spaces?

No. The Remove Extra Spaces processes your text in your browser. Nothing you type or paste is sent to our server, so it is safe for drafts and private notes.