Remove extra spaces
Trim spaces at line edges and remove empty lines.
Good to know
Which spaces are removed?
Spaces and tabs at the beginning and end of each line are removed. Spaces between words are kept.
Can I keep blank lines?
Turn off the blank-line removal option before copying the result.
Will this join my paragraphs?
No. Retained lines stay on separate lines. Review the result before using it in a document.