CR and LF characters shown at the end of each line in Notepad++
I use Notepad++ as a text editor. Whenever I open any text file, Notepad++ shows two virtual characters CR
and LF
at the end of each line. These characters are annoying in some cases, e.g. when reading application logs.
How do I remove or configure the display of these characters?
Solution 1:
Toggle the setting View > Show Symbol > Show End of Line
As Xenorose notes, Show All Characters should also be unchecked.
Click for full size
Solution 2:
In the menu go to :
view > Show Symbols
You probably have one of these checked: "Show end of line" or "show all characters" .
Uncheck them (only one can be selected, deselect the one you have checked).
Solution 3:
If you are seeing something like this (Block carriage return (CR) and linefeed (LF) characters after pressing 'Return' or 'Enter' key on the keyboard):
You can fix it by clicking the ¶ icon on the toolbar.
Solution 4:
Just to add to the answer, there is also an Icon on Main Notepad++ interface to disable/enable these special characters.
Disabled
Enabled
It saves about two mouse clicks!
Here is a quick one minute video of how to Show All Characters in Notepad++.
Disclaimer: This video is from my YouTube channel, which demonstrates all steps required to answer this question.