Remove Duplicate Spaces

Replace multiple consecutive spaces with single spaces throughout text.

Replace runs of two or more spaces with a single space, and optionally trim spaces from the start and end of each line. It fixes text with double spaces between sentences, gaps left by deleting words, and spacing copied from PDFs or old documents, without joining your lines together. Tabs and line breaks are kept.

Common use cases

  • Fix double spaces between sentences
  • Clean up text copied from a PDF
  • Tidy spacing before publishing or printing

How to use

  1. Paste the text.
  2. Leave Also trim each line ticked to remove spaces at line ends.
  3. Copy the cleaned text.

FAQ

Should there be one space or two between sentences?

One. Two spaces was a typewriter habit; modern style guides use a single space.

Will it remove line breaks?

No. Only spaces within lines change. For more cleanup at once, use the clipboard cleaner.