How to use Notepad++ line wrap

by Matthew Adams
Matthew Adams
Matthew Adams
Windows & Software Expert
Matthew is a freelancer who has produced a variety of articles on various topics related to technology. His main focus is the Windows OS and all the things... read more
Affiliate Disclosure
  • Notepad++ is a third-party text editor for Windows that includes a handy Word wrap option.
  • Users can record a line wrap macro in Notepad ++ to have the option available in the future.
  • Check out our comprehensive How-To section for more useful information, guides, and tips.
  • To explore other Notepad-related articles, consider bookmarking our thorough Notepad Hub.

To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

Notepad++ is one of the best text editors for Windows that’s packed with handy options. It includes a handy Word wrap option that adds line wraps to documents. That’s an important option as it wraps lines so that they fit within the Notepad++ window.

How can I use line wrap in Notepad++ efficiently?

Turn On/Off Word Wrap in Notepad++

1. Click the View button from the menu at the top of the window.
2. Choose the Word Wrap option from the dropdown menu.

Note: Clicking the Word Wrap option once will either turn off or turn on the feature, depending on the original state of this setting.

How to Wrap Lines in Notepad++

  1. First, open a file in Notepad++ by clicking File > Open. Then select a text document to open.
  2. To add line wrap, click the View menu.
  3. Select the Word wrap option on the menu. Thereafter, all the lines will be wrapped so they fit within the window.
    Word wrap option notepad++ line wrap
  4. Alternatively, you can click the Word wrap button on Notepad++’s toolbar to add line wrap to a text document.

Give Word wrap a hotkey in Notepad++

  1. You can assign a hotkey to the Word wrap option by recording a macro for it. To do that, click the Start Recording button shown directly below.
  2. Then click the View menu to select Word wrap.
  3. Click the Stop Recording button.
  4. Click the Macro menu.
  5. Select the Save Current Recorded Macro option.
  6. Enter a title for the macro in the text box.
  7. Select the Ctrl and Shift checkboxes. Then choose an additional keyboard key for the hotkey.
  8. Press the OK button.
  9. Then you can press your Ctrl + Shift hotkey to add line wrap to a document.

How do I wrap lines in Notepad++ after N symbols?

  1. You can also wrap lines after a specified number of characters or symbols. To do that, click the Search menu, and choose Find, and click the Replace tab.
  2. Enter (.{10}) in the Find what box. The 10 value specifies a maximum line length of 10 characters for lines, which you can adjust.
  3. Next, input $1rn in the Replace with a text box.
  4. Select the Regular expression radio button.
  5. Click the Replace All button. Then your lines will wrap to a maximum 10 (or whatever value you entered) character length.

How do I get the file to wrap the line at 70+ characters

  1. Make sure to backup your file before attempting this method.
  2. Download and install the TextFX plugin to your Notepad++ (download will start automatically).
  3. Note the number that represents the length you want your text to wrap to (70+ in this case).
  4. Copy the number to your clipboard.
  5. Select the piece of text you want to wrap.
  6. In the top menu, click on TextFX, and choose the TextFX Edit option.
  7. Choose the option ReWrap Text to your desired 70+width.

So, adding line wrap is straightforward in Notepad++. With Word wrap selected, you won’t need to scroll across text documents anymore as all their lines will fit neatly within the Notepad++ window.

idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).

Restoro has been downloaded by 0 readers this month.

Frequently Asked Questions

  • Yes, Notepad++ does work in Windows 10. If you’re finding issues when trying to run the program, check out our thorough Notepad++ not responding guide.

  • The wrap-around feature in Notepad++ enables you to search and replace a specific text/character found in the entire length of the file with just two clicks.

  • To be able to break a line into multiple lines, simply click the View button, and make sure to enable the Word Wrap option.

This article covers:Topics: