I use
Notepad ++, click menu Edit, select Line Operations, then select:
- Remove Empty Lines, or
- Remove Empty Lines (Containing blank characters)
Also you can use
Notepad2 (portable version is available, ):
- Select the text
- Press Alt+R (or via menu Edit|Block|Remove Blank Lines)