Remove Extra Spaces
Collapse repeated spaces and tabs into one space, and trim the edges of each line.
Input: 0 characters, 0 words
Output: 0 characters
How to use it
- Paste the text with extra spaces.
- The cleaned text appears below. Line breaks stay where they were.
- Copy the result.
Examples
| Input | Settings | Output |
|---|---|---|
Hello world this is a test | Default settings | Hello world this is a test |
Common uses
- Tidying text copied from a web page with odd spacing
- Fixing a document where two spaces were typed after each sentence
- Cleaning up data before it goes into a spreadsheet
Frequently asked questions
Are line breaks kept?
Yes. Only spaces and tabs change. Use Remove Line Breaks if you also want to join the lines.
Does it remove tabs?
Yes. A tab is treated as a space, so runs of tabs and spaces become one space.