Whitespace Cleaner
Collapse spaces, trim lines, normalize breaks.
Loading tool
Paste messy copy from a PDF or email and collapse it to one space between words.
How to use this tool
- Paste your text. Put the draft or list into the field at the top of this page. Nothing is uploaded.
- Adjust the options. Pick the mode or flags you need. Results update in this tab.
- Copy the result. Use Copy when the output looks right. Refreshing the page clears the text.
Modes
Collapse runs of spaces, trim every line, drop blank lines, or convert tabs to spaces. Combine them before you copy.
Frequently asked
Will it destroy poetry line breaks?
Only if you enable collapse-all. Line-aware trim keeps breaks.
Are non-breaking spaces removed?
Yes. NBSP and other Unicode spaces become regular spaces first.
Can I convert Windows CRLF?
Yes. Output uses a single newline style you pick.
Does it change the words?
No. Only whitespace.
Is my text uploaded?
No.