Workspace Files stay on your device
text · clean
Whitespace Normaliser
Trims each line, collapses runs of spaces/tabs to one space, converts CRLF to LF, removes trailing whitespace and collapses 3+ blank lines to one. Words and line order are never changed.
A little guidance. A better result.
How to use Whitespace Normaliser
Trim lines, collapse runs, CRLF → LF, collapse blank lines — words never change.
Prepare your input
Paste text with inconsistent spaces and blank lines.
Use the workspace
Inspect the normalized lines.
Check your result
Check indentation and deliberate spacing before saving.
Know the limits
Whitespace may carry meaning in code, poetry or fixed-width data; use the output only after review.
Where does my input go?
This browser tool processes your input on your device. Optional analytics is a separate choice; it is not needed to use the tool. Keep your original until you have checked the result.
Read the privacy details →Made for the work in front of you.Report a problem ↗