Change the default Line Encoding Notepad++ (CR LF)

You may want to change the default line encoding of Notepad++ if you most often work with Unix/Mac file systems. To achieve this you can change the setting for line encoding in Notepad++ with the following steps,

  1. Go to Menu: Settings,
  2. Now Select Preferences...,
  3. Now Select Now Document from the side menu,
  4. Here you can change the default setting from Windows (CR LF) to either Unix (LF) or Machintosh (CR)
  5. Click Close
Notepad++ Change Default Line Encoding Setting

Have Questions? Post them here!
Try Out Code2care Dev Tools:


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.