Strip extra spaces, tabs, and blank lines from text.
This cleans up messy whitespace in pasted text — trailing spaces at the end of each line, multiple consecutive spaces collapsed to one, and empty lines removed entirely — common cleanup needed after copying text from a PDF, a spreadsheet cell, or an email that adds inconsistent spacing.
Each option applies independently, so you can choose exactly which kind of cleanup you need, or run all three at once. This is a straightforward text transformation, not a smart content editor — it doesn't try to detect or preserve any specific structure like code indentation, so avoid using "Collapse Multiple Spaces" on code where leading whitespace is meaningful (like Python).
Collapsing multiple spaces will flatten meaningful leading whitespace, which matters for code where indentation is significant (like Python). Skip that option for code, or use Trim Each Line and Remove Blank Lines only.
No — line breaks between non-blank lines are preserved. Only fully empty lines are removed by the Remove Blank Lines option.
A line that’s empty or contains only whitespace (spaces or tabs) after trimming.