Notepad++ Unix to DOS line endings

When using Unix files on Windows it is useful to convert the line endings to display text files correclty in other Windows-based editors. Notepad++ offers a very simple way to do this. Just go into:

Edit > EOL Conversion > Windows (CR LF)

Once you have done that, you just have to save the file.

File > Save


History of this post

For over 5 years this post was on my blog and gathered over 100'000 views. By early 2019 I removed all coding related content from my blog. But I did not want to remove something that was that helpful from the internet entirely. This is why I created this page.



Notepad++ has been around since 2003 and is one the most used editors for Windows users. It is easy to use, supports many programming languages and it is free.

Get Notepad++


About me

I have been coding since 1998 and still do today. Java, Perl, Python and most of the webstack is what I do for a living. I am also a big video game nerd.

Find me on
Still working on that LinkedIn