Remove Extra Spaces

Text copied from a PDF, email or website often comes with double spaces, broken lines and empty lines. Clean it up in one step.

Result

Characters removed —

How to use

  1. Paste your text.
  2. Choose what to clean using the options.
  3. Copy the cleaned text from the result box.

How it works

Tabs and repeated spaces become a single space. With "Join all lines" on, line breaks inside the text are replaced by spaces.

Frequently asked questions

Why does text from a PDF have broken lines?

PDFs store each printed line separately, so copying adds a line break at the end of every line. Turn on "Join all lines" to fix it.

Will it change my words?

No. Only spaces, tabs and line breaks are changed.

Is my text safe?

Yes. Everything happens in your browser and nothing is uploaded.

More tools