# Trim spaces from multiple lines in a text: Online string converter

Paste your text in the left form to trim the leading and trailing spaces. This program trims those spaces from each line so all the leading spaces in lines are removed.

    I have a pen.
Who am I?

I have a pen.
Who am I?


The spaces before I have and Who are removed. The extra spaces except leading and trailing spaces are not removed in this page, that is all spaces between words are not deleted.

I have a book.
I  have  a  pen.

I have a book.
I  have  a  pen.