Notepad++

How to Wrap Text in Notepad++ in Seconds

How to Wrap Text in Notepad++ in Seconds

To wrap text in Notepad++, open the View menu and click Word wrap. A checkmark appears next to the entry and long lines fit to the window width.

It’s a display setting only. Notepad++ inserts no newline at the wrap point, so the saved file keeps its original line endings (Notepad++ User Manual).

One documented behavior resets the setting without warning. If “Deactivate Word Wrap globally” is checked in Preferences > Performance, opening a file above the Large File Restriction threshold turns word wrap off for every tab, and it stays off after the file closes.

How to Turn On Word Wrap in Notepad++

YouTube player

Open the View menu and click Word wrap. Notepad++ uses that name instead of “wrap text”, and the entry gets a checkmark once the setting is active.

Before you toggle it, long lines run past the window edge and the horizontal scrollbar is the only way to read them (Notepad++ User Manual).

Using the View menu

YouTube player
  1. Open the file in Notepad++.
  2. Click View in the menu bar.
  3. Click Word wrap.
  4. Drag the window edge to check it. Lines rewrap to the new width as you resize.

Lines break at whole words when they can. A single word longer than the window, such as a long URL, breaks in the middle.

Using the toolbar button

According to Notepad++ Community threads, the toolbar has a word wrap icon just left of the paragraph mark icon. Clicking it flips the same setting as the menu entry.

If you can’t see the icon, the toolbar is probably hidden. Clear the Hide checkbox in the Toolbar section of Preferences to bring it back.

Turning word wrap off

Click Word wrap again. The checkmark disappears and the horizontal scrollbar takes over.

Does Word Wrap Change the Saved File?

No. Word wrap only changes how lines are drawn on screen, and the file on disk stays as it was. Soft wrap is the general term for this kind of display-only wrapping, and word wrap is simply what Notepad++ calls it.

The wrap point carries no newline, so the same file opened in another editor won’t break at that character (Notepad++ User Manual). A wrapped line also keeps a single line number, because the wrap is purely visual (Technipages). Where the breaks land depends on the current editor width, which means resizing the window moves them.

The toggle applies to all tabs in both views, and Notepad++ remembers it between runs.

To confirm it yourself, turn on View > Show Symbol > Show End of Line. The CR and LF markers appear only where a real line ends, never at a wrap point.

Hard wrapping is the opposite operation. It inserts actual line breaks into the text and needs separate tools.

Setting a Keyboard Shortcut for Word Wrap

YouTube player

You have to assign one yourself in the Shortcut Mapper. Notepad++ Community threads show an empty Shortcut column on the Word wrap row, so there is no default to look up.

New to Notepad++ or just need a quick reference? Essential shortcuts, regex for Find & Replace, and advanced editing - including Ctrl+H, Column Mode, and Macro Recorder - is on one page in the Notepad++ Cheat Sheet.

  1. Click Settings, then Shortcut Mapper.
  2. Stay on the Main menu tab and type “word wrap” in the filter field at the bottom of the dialog.
  3. Two rows remain, Word wrap and Show Wrap Symbol. Select Word wrap and click Modify (double-clicking the empty Shortcut cell works too).
  4. Press a key combination no other command uses, then click OK.

The Notepad++ User Manual notes that changes made in its dialogs reach the configuration files only when Notepad++ exits. The new shortcut is saved once the program closes normally.

One third-party tutorial gives Alt + Z as the default word wrap shortcut. Notepad++ Community threads show the Shortcut Mapper with nothing on that row, and the manual’s Views page lists none.

Your own Shortcut Mapper settles it. Filter for word wrap and read the column.

A macro is the other route. Candid.technology describes recording a click on View > Word wrap, saving the macro and binding it to a key combination.

Direct assignment beats the macro here, since the command already sits in the mapper.

Changing Wrap Indentation and Showing the Wrap Symbol

Wrap modes sit under Settings > Preferences > Editing, in the Editing 1 tab, in the Line Wrap group. They only apply while View > Word wrap is checked (Notepad++ User Manual).

Choosing a wrap mode

ModeWrapped part starts atTypical use
DefaultFirst visible columnProse, logs
AlignedSame indent as the start of the unwrapped lineIndented code, nested lists
IndentOne indent level deeper than the line startCode where continuations should stand apart

The manual’s current version splits the old Editing page into Editing 1 and Editing 2, a change that began in v8.6.3. Older screenshots show a single Editing tab.

One tutorial places a “Word Wrap Indent Mode” dropdown under Margins/Border/Edge, with No Indent and Same as Previous Line options. That doesn’t match the manual, which lists Line Wrap in Editing 1 with Default, Aligned and Indent, and keeps Margins/Border/Edge for fold margin, border, vertical edge, line numbers and padding. Follow the manual.

Showing the wrap symbol

Click View > Show Symbol > Show Wrap Symbol. With Word wrap also checked, a small colored arrow appears at the far edge of each line that has wrapped.

The color comes from the White Space Symbol style in the Style Configurator (Notepad++ User Manual).

The arrow separates a wrapped line from a real line break at a glance, which helps when you tidy text before a hard wrap.

Can Notepad++ Wrap Text at a Set Column?

YouTube player

Not natively. Soft wrap breaks at the editor width, and Notepad++ has no built-in setting for a fixed column. A community plugin, Marginalize, now adds one (see below).

The project’s own answer is the clearest. In the closed GitHub request for a wrap-at-column option, Notepad++ author Don Ho replied that the feature depends on Scintilla, the editing component Notepad++ is built on, so it will not be implemented in Notepad++. The EditorConfig wiki lists a column wrap as not possible in Notepad++ too, and a Notepad++ Community thread on v8.9 asking for a soft wrap at column 80 got workarounds and a new plugin as answers, not a built-in setting.

Reading at a set width without changing the file

  • Open Settings > Preferences > Margins/Border/Edge and type your column number into the Vertical Edge Settings box.
  • Turn on word wrap, then drag the window edge until lines break at the vertical edge line.
  • To leave other tabs at normal width, run View > Move/Clone Current Document > Move to New Instance on a file with no unsaved changes.

The resizing trick comes from a Notepad++ Community reply, and the manual’s Views page documents Move to New Instance. Dragging is by eye, so the break point is approximate.

Marginalize, written by the Community member Coises and released in February 2026, is the plugin route. It sets padding so that soft wrap breaks at a width you choose, 80 characters by default. Its release page says to unzip it into a folder named Marginalize inside the Notepad++ plugins folder. One toggle applies to all documents in both views, and the file itself is not changed.

Older Community threads describe a single Show Vertical Edge checkbox with a Number of columns box under Preferences > Editing, so if your screenshots don’t match what you see, that’s the reason. The current manual describes one box under Margins/Border/Edge that takes zero or more numbers.

When real line breaks are the better choice

A v8.9 user wanted 80-column readability for song lyrics while keeping the file free of hard breaks for later processing. Hard wrapping doesn’t fit that case. The window-resizing trick or the Marginalize plugin does.

A README, or a message format with a line limit, needs the breaks saved in the file. One Community thread about a 69-character message format ended with a TextFX rewrap at width 69.

Hard Wrap Methods Compared: TextFX, Split Lines and Find and Replace

YouTube player

Real line breaks at a chosen width come from the TextFX plugin, the built-in Split Lines command, or a regular expression in Find and Replace.

MethodChanges the fileWidth comes fromPlugin needed
Word wrapNoWindow widthNo
TextFX ReWrapYesClipboard number, or 72Yes
Split LinesYesRight-most vertical edge, or window widthNo
Find and ReplaceYesThe number inside the patternNo

TextFX ReWrap Text

YouTube player

Install it through Plugins > Plugins Admin and search for TextFX. The list shows TextFX or TextFX2 depending on the Notepad++ version (MSPoweruser).

To run it, select the text, then go to TextFX > TextFX Edit > ReWrap Text to (Clipboard or 72) width. Only the selection changes. Copy a number to the clipboard first and ReWrap uses it instead of 72 (Notepad++ Community).

The catch is age. A Community reply describes the original TextFX as unmaintained and 32-bit only. In a 2022 thread on v8.4.2 (32-bit), ReWrap threw an access violation, and a reply put the fault on the plugin rather than on Notepad++.

Split Lines

Split Lines sits under Edit > Line Operations and needs no plugin. According to the Notepad++ User Manual, it inserts a line ending into long lines at the right-most Vertical Edge value, or at the current window width when no edge is set.

It acts on the lines in the stream selection, or on the caret’s line when nothing is selected.

Set the vertical edge first. Without one, the result depends on how wide the window happens to be. It’s built in, which is the good part, but the width stays tied to the edge setting or the window.

Find and Replace with a regular expression

Switch the search mode to Regular expression, then run Replace All. Notepad++ Community replies offer two patterns.

  • To break at a space near column 80, put ^(?=.{80,})(.{1,79})\s in Find what and $1\r\n in Replace with. The capture ends on a space at or just under the limit, lines shorter than 80 stay untouched, and a line whose first space falls after column 80 does not match.
  • To break every 500 characters, use (?-s).{500} and ${0}\r\n with Wrap around ticked. It cuts mid-word.

Any width works and nothing needs installing. The price is that you write and test the pattern yourself, and a fixed-count pattern splits words.

Split Lines is fine for a quick break at an existing edge. For a custom width on a selection, TextFX is the easier one. The regular expression only earns its keep when you want control over the break rule.

Why Word Wrap Turns Off and When It Does Not Work

Opening a large file is the usual cause. With “Deactivate Word Wrap globally” checked in Preferences > Performance, a file above the size threshold turns word wrap off for every tab (Notepad++ User Manual).

Closing the large file doesn’t turn it back on, and restarting Notepad++ doesn’t either, because the wrap state is saved at exit.

As of the 2025 Community thread (Notepad++ v8.7.8), the checkbox is on by default. One user who kept finding wrap switched off traced it to a backup job that opened a log file over 200 MB every week or so.

The manual leaves the default size blank in its Define Large File Size field. A GitHub issue on v8.4.9 shows the field falling back to 200 after a restart, which points to 200 MB as the default.

When a large file is the cause, switch wrap back on from the toolbar button or View > Word wrap. To stop the resets, clear the checkbox or raise the threshold.

Running several Notepad++ windows is another way to lose the setting. The last one to close writes its wrap state to the config files, so a window with wrap off can undo your choice (Notepad++ Community). A click on the toolbar icon or an assigned shortcut can also flip the state without any warning.

Text rewrapped with TextFX, Split Lines or a regular expression keeps its breaks even with word wrap off, because those breaks are real characters.

For anyone who opens big logs regularly with wrap on, unchecking the global option beats re-toggling after every large file.

Word Wrap in Notepad++ FAQ

How do you remove the line breaks after a hard wrap?

Select the lines and run Edit > Line Operations > Join Lines, which replaces each line ending with a single space. It needs a selection that spans two or more lines.

For the whole file, Edit > Blank Operations > EOL to Space does the same and removes paragraph breaks too (Notepad++ User Manual).

Does Windows Notepad have the same word wrap option?

YouTube player

Yes, under a different menu. Classic Notepad on Windows 10 keeps Word Wrap under Format, while the redesigned Windows 11 Notepad moved it to View, according to Thurrott.

Notepad++ also uses View.

Which keys jump to the start or end of a wrapped line?

Press Alt+Home or Alt+End. With word wrap on, the Notepad++ User Manual says they move the caret to the start or end of the wrapped portion of the line.

Without wrap, they go to the ends of the full line. Both appear in the Shortcut Mapper under Scintilla commands.

Can Distraction Free Mode narrow the width of wrapped text?

Yes. Distraction Free Mode adds wide margins inside the editor so text does not run across the full-screen window.

Under Preferences > Margins/Border/Edge > Padding, a smaller Distraction Free value gives the text less of the screen width (Notepad++ User Manual).

Choosing a Default Word Wrap Setup

YouTube player

Word wrap in Notepad++ should stay on for prose and notes, and off for code and tabular data where line position matters. The setting is global, so one default serves every tab.

Whichever default you pick, you’ll toggle it whenever a file of the other type opens. A default tuned for prose costs one toggle when a wide data file arrives, and a default tuned for code costs one when a long paragraph does.

Start with Deactivate Word Wrap globally, since it can switch wrap off without warning and make every later choice look broken. Assign a toggle shortcut next, because toggling per file matters more than indentation. Wrap mode can wait.

Verified against the Notepad++ User Manual on 4 November 2026, this advice changes only if Notepad++ gains a built-in soft wrap at a fixed column. The project declined that request in its GitHub tracker.

Bogdan Sandu

Stay sharp. Ship better code.

Every week: one curated article, one tool worth knowing, one tip you can use tomorrow. No noise, no padding.