How to Replace with New Line in Notepad++

Notepad++ is a popular text editor that allows you to replace text with new line characters. This can be useful when you want to insert a new line in a long block of text or when you need to replace a specific character with a line break. Here’s how you can replace text with a new line character in Notepad++:

Step 1: Open the Replace Dialog Box

Open the Replace dialog box by pressing Ctrl+H or by going to the Edit menu and selecting Replace.

Step 2: Enter the Search and Replace Text

In the Find what field, enter the text that you want to replace. In the Replace with field, enter the new line character by pressing Ctrl+Enter or by typing \n.

Step 3: Enable Extended Search Mode

Click the Search Mode dropdown menu and select Extended.

Step 4: Perform the Replacement

Click the Replace All button to replace all instances of the text with a new line character.


Replacing text with a new line character in Notepad++ is a simple process that can save you time and improve the readability of your text. By following the steps above, you can easily replace text with a new line character and modify your text to better suit your needs.

  • Open the Replace dialog box
  • Enter the search and replace text
  • Enable extended search mode
  • Perform the replacement