How to Wrap Text in Notepad ++

A comprehensive guide on the Word wrap option

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
Reviewed by Vlad Turiceanu
Vlad Turiceanu
Vlad Turiceanu
Editor-in-Chief
Passionate about technology, Windows, and everything that has a power button, he spent most of his time developing new skills and learning more about the tech world. Coming... read more
Affiliate Disclosure
  • Notepad++ is a third-party texteditorforWindows that includes a handyWordwrap option.
  • You need to enable text wrapping in Notepad ++ before you can use the Word wrap option on your files.
  • Users can give this feature a hotkey, for fast access in the future.

XINSTALL BY CLICKING THE DOWNLOAD FILE
To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

Notepad++ is one of the best text editors for Windows that’s packed with handy options, which users worldwide very much like.

One of the best is the 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 wrap lines in Notepad ++?

1. Enable text wrapping in Notepad ++

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

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


2. Wrap text in Notepad ++

1. Launch Notepad ++.

2. Click on File > Open, then select a text document to open from your PC.

3. To add a line wrap, click the View menu.

4. Select the Word wrap option on the menu. Thereafter, all the lines will be wrapped so they fit within the window.

how to wrap text in notepad ++ option

5. Alternatively, you can click the Word wrap button on Notepad++’s toolbar to add line wrap to a text document.

After you enable text wrapping in Notepad ++, you can begin using the feature to your liking. All you need to do is open the file you want to edit text in and apply the wrapping feature to it.


3. 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.

4. 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.

5. Get the file to wrap the line at 70+ characters

  1. Make sure to back up 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.

Let us know what you think about our article in the comments section below.

idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on TrustPilot.com (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.

This article covers:Topics: