Remove leading and trailing spaces from each line. Trim Lines is a free online tool from the ToolsRift Text Tools collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.
Trimming removes spaces, tabs, and other whitespace at the start or end of each line.
No — only the very beginning and end of each line are trimmed.
Yes — trimming targets line edges only. Removing extra spaces targets all spaces within lines.