Text Tools

Remove Extra Spaces

Clean up spacing: trim spaces at the start and end of each line, turn repeated spaces into one, replace tabs with spaces or remove every space.

Your text stays in this browser. It is never sent anywhere, saved or included in analytics.

How to use

  1. Paste your text.
  2. Tick the cleanups you want. Trim and collapse are on by default.
  3. Copy the cleaned text.

Frequently asked questions

Are line breaks removed too?

No. Every option keeps your lines. Use Remove Line Breaks to join lines.

Which spaces are found?

Normal spaces, tabs, non-breaking spaces and the wide spaces used in Chinese and Japanese text.