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
- Paste text with irregular spacing.
- Choose whether to convert tabs, trim lines and collapse blank lines.
- 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.