Skip to content
TabKiwiTabKiwi

Remove Extra Spaces

Collapse double spaces and tabs into single spaces and tidy up gaps between paragraphs.

TextRuns in your browser. Your files never leave this device.
Loading tool…

About this tool

Turn messy spacing into clean text: runs of spaces become one space, tabs can be converted too, and stacks of blank lines shrink to a single paragraph break. It's ideal for text pasted from PDFs or old documents that were justified with extra spaces. The cleanup happens locally in your browser.

How to use Remove Extra Spaces

  1. Paste text with irregular spacing.
  2. Choose whether to convert tabs, trim lines and collapse blank lines.
  3. Copy the cleaned text.

Frequently asked questions

Will it join my paragraphs together?

No. Line breaks are kept. With the blank-line option on, three or more empty lines in a row are reduced to one, but paragraphs stay separate.

Are non-breaking spaces handled?

Yes, runs that include non-breaking spaces are collapsed into a normal single space.

More Text tools

View all 60 →