If you have a text file or any programming language file and you want to remove all the blank lines that are there in the file you can make use of Notepad++ Text Editor to make this task easier (imagine doing that manually).
Note : You need to download a plugin called TextFX for Notepad++.Features of this Plugin :
- Text sorting
- Text rewrap
- Column Lineup
- Fill Text Down
- Interactive Brace Matching
- Quote handling
- Character case alternation
- Insert counter text down
- Text to code conversion
- Ascii Chart
- Leading whitespace repair
- Autoclose HTML & braces
- Numeric Conversion
- URI & HTML encoding
- HTML to text conversion
- Submit text to W3C
Plugin Homepage: http://textfx.no-ip.com/textfx/
To download the plugin goto Menu -> Plugins → Plugin Manager → Show Plugin Manager and under Available tab look for TextFX, check the checkbox next to it, and install it. Once the plugin is downloaded your notepad++ editor will restart and you must be able to see TextFX on Menu Options.
Steps to remove blank lines- Open the file using Notepad++
- Select the text in the file from which you want to remove the blank lines (select all if you want to remove blank lines from the complete file)
- Now go-to Menu -> TextFX → TextFX Edit → Delete Blank Lines
- That's all!! All blanks lines are now being removed!

- Notepad++ hex editor Examples
- Are Windows Notepad files recoverable?
- How to add or remove bookmark on a line in Notepad++
- How to rename a tab in Notepad++
- Go to Line Number option in Windows Notepad
- How to Apply Themes to Notepad++
- Notepad++ Save Failed - Please check if this file is opened in another program.
- Encode/Decode URL Query String in Notepad++
- Remove duplicate lines using Notepad++
- Add comma or semicolon at end of each line Notepad++
- How to open Notepad?
- Where are Notepad++ macros stored?
- How to check about details of Notepad++ text editor
- Notepad++ Export file as HTML
- Indent/Prettify HTML File in Notepad++
- Notepad++ Reload - This file has been modified by another program. Do you want to reload it?
- List of Programming Languages Supported by Notepad++
- Notepad++ Editor alternatives for Mac OS X
- Add Custom header and footer to Windows Notepad file
- How to un-hide tab bar in notepad++
- Notepad++ is about to exit prompt message
- Launch Notepad++ html document in any web browser
- Word wrap text in Notepad++
- Disable Control Scroll Zoom-in and Zoom-out in Notepad++
- Word count in Notepad++
- Add HTML to Android Activity or TextView - Android
- Exception in thread main java.nio.file.NoSuchFileException - Java
- Java + Spring JDBC Template + Gradle Example - Java
- 12 August - International Youth Day celebrated worldwide - News
- How to make div or text in html unselectable using CSS - CSS
- Copy file from a remote server to current local directory system using SCP command - HowTos
- Save webpage as pdf in Google Chrome for Mac OS X - Mac-OS-X
- Maven : java.lang.ClassNotFoundException: Xmx512m - Android