Trim Whitespace
Remove leading and trailing spaces or tabs from every line.
Input
0 linesResult
0 linesYour text stays in this browser tab. Nothing is uploaded.
How to use Trim Whitespace
Paste indented or padded text.
Leading and trailing spaces and tabs on each line are removed.
Copy or apply further cleaners.
Frequently asked questions
Are spaces inside a line removed?
No. Only outer leading and trailing spaces/tabs per line are trimmed.