Tested behavior
Which whitespace characters are removed?
This tool targets horizontal whitespace while deliberately leaving stored line endings in place. That distinction matters when text comes from PDFs, spreadsheets, web pages, or publishing systems that use visually similar but technically different characters.
| Character group | Examples | Multiple Spaces mode | All Spaces mode |
|---|---|---|---|
| Regular spacing | Space U+0020, Tab U+0009 | Collapse each run to one space | Remove |
| Non-breaking spacing | NBSP U+00A0, figure space U+2007, narrow NBSP U+202F | Convert each run to one regular space | Remove |
| Other Unicode spacing | En/em spaces and ideographic space U+3000 | Convert each run to one regular space | Remove |
| Line endings | LF, CRLF, and CR | Preserve | Preserve |
Example: copied product text
Input: Blue[NBSP][NBSP]shirt[TAB]Large
Multiple Spaces: Blue shirt Large
All Spaces: BlueshirtLargeThe audit above counts the hidden character types before the transformation, so the result is explainable instead of being a blind replacement.
Important limits
- Zero-width space U+200B and zero-width joiners are not treated as whitespace by this tool.
- Line endings are preserved, including mixed Windows, Unix, and classic Mac endings.
- All Spaces mode can join words and change meaning; review the output before publishing it.
- For tab-stop alignment or paragraph-aware line joining, use the dedicated tools below.