Trim Lines
Trim leading and trailing whitespace from every line without merging them. Interior spacing is left untouched. Handy for cleaning copied tables and indented text.
Try it now
Worked example
hello
world
Frequently asked
Does it collapse inner spaces?
No — use Squeeze Spaces for that; this only trims each line's ends.
Are blank lines removed?
No, a line that becomes empty stays as an empty line.