Use Remove Empty Lines without a complicated workflow.
Remove Empty Lines is made for quick text cleaners tasks where opening a heavy app would slow you down. Paste the input, choose the option that matches your work, and use the clean result in your next step.