Remove Extra Spaces & Clean Text

Collapse spaces, strip line breaks, remove blank lines and tidy pasted text.

Runs entirely in your browser. Your text is never sent to a server or saved.

About the remove extra spaces & clean text

Pasted text from PDFs and emails is often messy. Switch on exactly the clean-up steps you want: collapse repeated spaces, trim each line, remove blank lines, join broken lines, convert curly quotes and delete zero-width characters.

How to use it

  1. Paste your text.
  2. Tick the clean-up options you need.
  3. Copy or download the tidy text.

Frequently asked questions

What are zero-width characters?

Invisible Unicode characters that can sneak into copied text and break searches or code. The cleaner can remove them.

Will it remove paragraph breaks?

Only if you choose to. Join lines keeps blank-line paragraph breaks unless you also remove blank lines.

Related tools