Select rectangular (column) text in Notepad++

Use Notepad++’s rectangular selection to pick a vertical column of characters across lines: hold Alt while dragging with the left mouse button to select a column, then copy or edit it.

What the video covers

Show how to make a rectangular/column selection in Notepad++ so you can copy, cut, or edit a vertical block of text.

Watch the video on YouTube

Step-by-step instructions

  1. Open your file in Notepad++
    Load the text file or paste the text you want to edit into Notepad++ so the lines you need to select are visible.
  2. Make a rectangular (column) selection
    Press and hold the Alt key on your keyboard. While still holding Alt, press and hold the left mouse button and drag vertically to select the column of characters across the lines you want.
  3. Copy, cut, or edit the selected column
    With the column selected, use copy (Ctrl+C), cut (Ctrl+X), or type to replace the selected column. You can also paste a previously copied column into the same rectangular selection area.

Watch the video

Video thumbnail for Select rectangular (column) text in Notepad++ Play tutorial

Watch on YouTube

Why it matters

When editing structured or aligned text, you may need to select just the characters in a vertical column across several lines rather than full lines. Notepad++ supports a rectangular (column) selection to do this quickly.

Check your result

You should be able to highlight a vertical block of text (one character wide or wider) across multiple lines; copying and pasting should move only that column.

Troubleshooting

If the selection still highlights entire lines, ensure you are holding the Alt key while pressing and dragging with the left mouse button. Some OS or keyboard utilities may remap Alt — verify the Alt key is functioning. If mouse dragging fails, try clicking at the start point, hold Alt, then drag; release mouse before releasing Alt.