Copying text between apps often brings hidden mess along: two spaces after every full stop, tabs where there should be spaces, indentation that makes no sense outside the original document, and five blank lines between paragraphs. It’s hard to spot and tedious to fix by hand.
Good for
- Writers and editors: clean drafts pasted from email or Google Docs before publishing.
- Web content: remove stray spaces that cause odd gaps or failed searches in a CMS.
- Data entry: trim values before pasting them into spreadsheets or forms.
- Developers: normalise whitespace in config values or test fixtures.
If your text also has line breaks in the middle of sentences, run it through Remove Line Breaks afterwards.
How to use the Remove Extra Spaces
- Paste your text into the left box.
- Choose what to clean: double spaces, spaces at line ends, tabs, and empty lines.
- Check the result on the right — the summary shows how many characters were removed.
- Copy or download the clean text.
Features
- Collapses runs of spaces into one, and multiple blank lines into a single paragraph break.
- Converts invisible non-breaking and thin spaces from Word and web pages into normal spaces.
- Trims leading and trailing spaces on every line.
- Optional removal of all empty lines for compact lists.
Frequently asked questions
Why does text from Word or a PDF have so many odd spaces?
Word uses non-breaking spaces to keep words together, PDFs often store spacing as separate characters, and justified text can be exported with several spaces between words. They look normal on screen but cause gaps and broken searches when pasted elsewhere.
Will this remove spaces between words?
No. Words always keep one space between them. Only extra spaces are removed.
Can I keep my paragraph breaks?
Yes. With the default settings, several blank lines become one blank line, so paragraphs stay separated. Turn on Remove all empty lines only if you want a compact list.
Written by Dewan Razib