Strip, collapse, or convert whitespace from text. Remove all spaces, collapse extras, convert tabs, or clear blank lines.
Seven modes, and the gap between two of them is a single character class. Remove All Spaces deletes the literal space and leaves your tabs and newlines standing. Strip All Whitespace takes everything, newlines included, and hands back one unbroken run. The Whitespace Remover keeps them apart because flattening a document into a single word is seldom what anyone meant.
The default is Collapse Spaces, which rewrites any run of 2 or more spaces as one and touches nothing else. Beside it sits a matched pair: Tabs → Spaces turns each tab into 2 spaces, and Spaces → Tabs turns any run of 2 or more spaces into a single tab. They are not exact inverses, which is worth knowing before you run one after the other.
A character count sits above the input and a green -56 chars removed badge over the output, so the size of the edit is visible before you copy it. One mode applies at a time and the tool never chains them. Your text stays in the page and no request is made.
U+0020 and nothing else, so indentation built from tabs survives it completely.\r only under Strip All Whitespace, which removes the \n beside it too.