Add Blank Lines Between Each Lines in Notepad++


If you want to add a blank i.e. new line after each line in a text file, you can do it with Notepad++ find and replace option,

  1. Go to Find and Replace
  2. Search mode type : /n
  3. Find what : /n
  4. Replace with : /n/n
  5. Select mode : Extended

1. Open text file in Notepad++

Load your text fine with Notepad++. Now press Ctrl+F to open Find and Replace box. Select the Replace box.

How to add a blank line after every line Notepad++
How to add a blank line after every line Notepad++

2. Find and Replace tab

Now, Select Select Mode: Extended, and in the Find field add /n and in Replace field add \n\n (i.e. two new lines characters to make one line break to two) and Click on Replace All button.

3. Result

Now blank lines are added after each line to the text file.

Replace All to add blank lines - Notepad++
Replace All to add blank lines - Notepad++

❗️ Remember to select option Extension or else you will not get desired results.






Recent Posts:
Hello there!,

You are using AdBlocker!

I am an independent developer trying to help fellow developers and students to resolve issues faced on a day-to-day basis, we 'Code to Care' . There is a lot of expenses involved in hosting and managing a website that's the reason we have ads.

A humble request to you to disable adBlocker on Code2care.org and support us pay our bills.

Thanks,
Cod2ecare - Line's of code for change.

To see contents reload page after unblocking
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, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.