Remove Extra Spaces

Turns double spaces and tabs into a single space. Line breaks and paragraphs stay where they are.

Result

The converted text appears here as you type.

For example
This  text  has   too many    spaces.
The line  break stays.
This text has too many spaces.
The line break stays.

How to use

  1. Paste or type your text in the box.
  2. Check the result. Every change is highlighted, so you can see exactly what will be different.
  3. Press Copy Result, or Open in Editor to keep working with more tools, undo and saved drafts.

Example

Before
This  text  has   too many    spaces.
The line  break stays.
After
This text has too many spaces.
The line break stays.

What it's for

  • Cleaning text copied from a PDF with uneven spacing
  • Fixing the two spaces after a full stop that some people still type

Questions

Will it join my paragraphs?

No. Line breaks are kept. Use Remove Line Breaks if you want everything on one line.

Are tabs removed too?

Yes. Tabs are replaced with a single space.

Related tools