How to use Remove Leading Trailing Spaces
Paste text. Leading and trailing spaces and tabs are removed from each line; spaces inside lines are kept.
Examples
- With the default values
first line second line third line
Limitations and assumptions
Confirm assumptions, units and applicable local rules before relying on results. Detailed content, accessibility and edge-case review remains ongoing.
Frequently asked questions
What does the Remove Leading Trailing Spaces do?
Trim spaces from the start and end of every line.
How does the Remove Leading Trailing Spaces work?
Paste text. Leading and trailing spaces and tabs are removed from each line; spaces inside lines are kept.
What should I keep in mind when using the Remove Leading Trailing Spaces?
Confirm assumptions, units and applicable local rules before relying on results.
Can I see an example of the Remove Leading Trailing Spaces?
“ first line ” becomes “first line”, and the same happens on every other line.
Is the Remove Leading Trailing Spaces free to use?
Yes. It is free, needs no account and runs in your browser.