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++ Editor alternatives for macOS
- How to add or remove bookmark on a line in Notepad++
- Notepad++ do not show CRLF characters
- Reduce the size of Tabs on Notepad++
- Delete blank lines in a file using Notepad++
- Fix: Notepad++ bottom status bar not visible
- Notepad++ Hex Editor
- How to show End of Line Characters in File using Notepad++
- [Tutorial] Write And Run Python Code In Notepad++ Editor
- How to install XML Tools Plugin Notepad++
- Customizing Notepad++ New Document Line Encoding: CR/LF/CR LF
- How to remove blank lines from a file using Notepad++
- Column Mode Editing in Notepad++
- Convert text to random case using Notepad++
- How to recover unsaved notepad file Windows 10
- How to delete all text after a character or string in Notepad++
- Setting up Cloud feature with Notepad++
- Install Notepad++ silently using Windows Powershell
- Using Document Map in Notepad++
- Enabling Notepad++ Dark Theme
- [Fix] Notepad++ tab not visible (hidden)
- Where are Notepad++ macros stored?
- Multiple line editing in Notepad++
- Alternatives for Notepad++ on Mac in 2021
- [Nopepad++] How to add text at end of each line
- Fix: Cannot contact reCAPTCHA. Check your connection and try again. - Google
- Java SE JDBC with Prepared Statement Parameterized Select Example - Java
- Comparator with Lambda Examples - Java
- Android read text file from internal storage - Android
- The Date Command and its usage [Linux - Unix - macOS] - Linux
- Are Windows Notepad files recoverable? - NotepadPlusPlus
- TextEdit save file with txt extension - MacOS
- Android Studio : Build Tools 23.0.0 rc1 is deprecated - Android-Studio