Every Drawer
All tools

Trim Whitespace

Remove spaces and tabs from the start and end of every line.

How it works

Remove spaces and tabs from the start and end of every line.

  1. Paste or type your text in the box.
  2. Check the lines now start and end with no spaces.
  3. Press Copy.

Good to know

Does Trim Whitespace touch spaces between words?

No. Only spaces and tabs at the start and end of each line go. For spaces inside lines, use Remove Extra Spaces.

More like this