Paste your text and get it back without the spacing that should not be there: runs of spaces, tabs and invisible space characters are normalised, line by line. Your line breaks and paragraphs are never touched, and nothing leaves your browser.
Which spaces can you not see?
This is the whole point of the tool: some spaces are invisible to the eye but different to the machine. The non-breaking space (U+00A0), inserted liberally by Word, looks like an ordinary space — but a string comparison fails, a CSV import shifts, a search finds nothing. The counter tells you how many your text contained.
When does this actually save the day?
- A CSV import that refuses to line up.
- Two texts that look identical but a diff tool flags as different.
- Content copied from Word before publishing to a site.
- Form data with stray trailing spaces.
What does each checkbox do?
| Option | Handles | Leaves alone |
|---|---|---|
| Invisible spaces | U+00A0, U+1680, U+2000 to U+200A, U+202F, U+205F, U+3000 turned into an ordinary space; U+200B and U+FEFF removed | line breaks |
| Tabs | every tab character becomes one ordinary space | alignment made with real spaces |
| Multiple spaces | a run of two or more horizontal spaces becomes one | paragraphs and empty lines |
| Line edges | spaces before the first and after the last character of each line | spaces between words |
Zero-width characters are removed rather than turned into a space: converting them would add a visible blank where your eye saw none, which is what most cleaners get wrong.
Frequently asked questions
What is a non-breaking space?
A space character that prevents a line break between two words. Useful in typography, troublesome in computing because it is not the ordinary space.
Are line breaks affected?
No, this tool only handles horizontal spaces. For line breaks, use the dedicated tool.
Can I choose what gets cleaned?
Yes, each operation has its own checkbox — you can convert only non-breaking spaces, for instance.
Are my paragraphs and empty lines kept?
Yes. The cleaner works line by line and never replaces a line break with a space, so a text in three paragraphs comes back in three paragraphs.
What is a zero-width space?
A character that takes no room at all, often picked up from a web page or a PDF. It breaks searches and comparisons while being completely invisible. This tool deletes it instead of turning it into a space.
Related tools
Published on 15 August 2026, updated on 21 September 2026 by the Snipcove team. The options table is generated from the cleaner itself.