This question already has an answer here:

Often (but not always) when I open a text file using Windows Notepad, it does not recognize the line breaks.

If I open the file using Windows Wordpad, and then save it as a text file, and then open it with Notepad, the line breaks are recognized.

What causes this, and what is the easiest way to view/edit the file using Notepad?

marked as duplicate by and31415, Heptite, Tog, Raystafarian, Kevin Panko Mar 25 '14 at 16:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Notepad doesn't recognise carriage returns (CR), but only newlines (LF). – Jerry Mar 24 '14 at 19:27
  • 1
    Actually Windows standard line breaks are CRLF and not just CR or LF. – tumchaaditya Mar 24 '14 at 19:59
  • Interesting description that explains the history behind the conventions and why it causes problems. – Nattgew Mar 24 '14 at 20:29

This is caused by this phenomenon http://en.wikipedia.org/wiki/Newline

Notepad only understands the windows newline format, so you will have to use another program. Notepad++ is quite popular on Windows (and opensource). Notepad++ is also much better at handling large files.

Not the answer you're looking for? Browse other questions tagged or ask your own question.