Keyboard Shortcuts

In Notepad3 you can use a combination of keys to do things that typically need a mouse, track-pad or other input devices. These key combinations are keyboard shortcuts and help provide an easier and usually quicker method of navigating and executing commands in Notepad3.

Contribute

If you think we made a mistake or you discovered a keyboard shortcut not mentioned in the table, contact us and tell us about it. We will make sure to fix it as soon as possible.

Notepad3’s Keyboard Shortcuts

Rather than reaching for your mouse to click on the menu, you can use the following keyboard shortcuts:

File

ShortcutFunction
Ctrl+NNew file.
Ctrl+F4Close file (identical to Ctrl+N).
Ctrl+OOpen file…
F5Reload file.
Ctrl+SSave file.
F6Save file as…
Ctrl+F6Save file copy…
Ctrl+Alt+F6Save with original file “Date/Time”.
Ctrl+PPrint file…
Ctrl+MRun MiniPath file Browser plugin…
Ctrl+Alt+HOpen Recent file (History)…
Alt+F4Exit Notepad3.
EscCancel current state (AutoCompletion or Selection)
EscMinimize or Exit Notepad3 (optionally, if no state).
Shift+Esc

Path to Clipboard

ShortcutFunction
Ctrl+F9Copy Filename Only to Clipboard.
Ctrl+Shift+F9Copy Full Path to Clipboard.

Launch

ShortcutFunction
Ctrl+Shift+FSearch in Files.
Alt+NOpen Document in New Window.
Alt+Shift+NDuplicate Current Document in New Window (If Not “Only One Instance”).
Ctrl+LLaunch Document.
Alt+LOpen With…
Ctrl+RRun Command…
Ctrl+Shift+1Web Template 1
Ctrl+Shift+2Web Template 2

Encoding

ShortcutFunction
Shift+F8Select UTF-8 as Default.
F9Open Select Current file Encoding…
Ctrl+Shift+ARecode to ANSI.
Ctrl+Shift+ORecode to OEM.
Ctrl+Shift+10Recode to GB18030.
Ctrl+Shift+F8Reload an ASCII file as UTF-8 file.
Alt+F8Ignore Encoding Tags.
F8Open Select Source Encoding to Reload file…

Favorites

ShortcutFunction
Alt+IOpen Favorites…
Alt+KAdd Current File to Favorites…
Alt+F9Manage Favorites…

Edit

ShortcutFunction
Ctrl+ZUndo.
Alt+BackspaceUndo.
Ctrl+Shift+YUndo.
Ctrl+YRedo.
Ctrl+Shift+ZRedo.
Ctrl+XCut.
Shift+DelCut.
Ctrl+CCopy.
Alt+CCopy All.
Ctrl+ECopy Add.
Ctrl+VPaste.
Shift+InsPaste.
Ctrl+KSwap.
DelDelete.
Ctrl+ASelect All.

Words

ShortcutFunction
Ctrl+Alt+EnterComplete Word.
Ctrl+ ←Cursor Word Left.
Ctrl+ →Cursor Word Right.
Ctrl+BackspaceDelete Word Before/Left.
Ctrl+DelDelete Word After/Right.

Lines

ShortcutFunction
Alt+ ↑Move Line (Block) Up.
Alt+ ↓Move Line (Block) Down.
Ctrl+XCut Selection or Current Line, if No Selection.
Ctrl+Shift+XCut Selection Whole Line(s).
Ctrl+CCopy Selection or Current Line, if No Selection.
Ctrl+Shift+CCopy Selection Whole Line(s).
Ctrl+DDuplicate Line or Selection.
Alt+DTranspose Lines.
Ctrl+Shift+DDelete Line.
Ctrl+Shift+BackspaceDelete Line Left.
Ctrl+Shift+DelDelete Line Right.
Ctrl+Shift+WColumn Wrap…
Ctrl+ISplit Lines.
Ctrl+JJoin Lines.
Ctrl+Alt+JFuse Lines.
Ctrl+Shift+JPreserve Paragraphs.
Alt+YMerge Empty Lines.
Ctrl+Alt+YMerge Blank Lines.
Alt+RRemove Empty Lines.
Ctrl+Alt+BRemove Blank Lines.
Ctrl+Alt+DRemove Duplicate Lines.

Selection

ShortcutFunction
Ctrl+Shift+QStream Comment.
Ctrl+DDuplicate Selection or Line.
Alt+BPad with Blanks.
Alt+ZStrip First Character.
Alt+UStrip Last Character.
Alt+WStrip Trailing Blanks.
Ctrl+Alt+PCompress Blanks.
Alt+MModify Lines…
Alt+JAlign Lines…
Alt+OSort Lines…
Ctrl+,Jump to Selection Start.
Ctrl+.Jump to Selection End.
TabIndent Selected Block.
Shift+TabUnindent Selected Block.
Ctrl+TabInsert Tabulator.

Line Comment

ShortcutFunction
Ctrl+QToggle.
Ctrl+Alt+QAdd.
Ctrl+Alt+Shift+QRemove.
Alt+Shift+QBlock Edit.

Enclose Selection

ShortcutFunction
Ctrl+1Enclose within ” (Single Quotes).
Ctrl+2Enclose within “” (Double Quotes).
Ctrl+3Enclose within ().
Ctrl+4Enclose within [].
Ctrl+5Enclose within {}.
Ctrl+6Enclose within “ (Backticks).
Alt+QEnclose With… (Enclose Before/After Selection).

Convert

ShortcutFunction
Ctrl+Shift+USelection in Uppercase.
Ctrl+USelection in Lowercase.
Ctrl+Alt+USelection in Invert Case.
Ctrl+Alt+ISelection in Title Case./td>
Ctrl+Alt+OSelection in Sentence Case.
Ctrl+Shift+TConvert in Selection Spaces to Tabs.
Ctrl+Shift+SConvert in Selection Tabs to Spaces.
Ctrl+Alt+TConvert in Selection Indent to Tabs.
Ctrl+Alt+SConvert in Selection Indent to Spaces.
Ctrl+Shift+EURL Encode.
Ctrl+Shift+RURL Decode.
Ctrl+Alt+XChar To HEX.
Ctrl+Alt+CHex To Char.

Insert

ShortcutFunction
Ctrl+EnterNew Line Above.
Ctrl+Shift+EnterNew Line with Toggled Auto Indent Option. (orig-NP2: Ctrl+Enter)
Alt+XHTML/XML Tag…
Ctrl+F8Encoding Identifier.
Ctrl+F5Time/Date (Short Form).
Ctrl+Shift+F5Time/Date (Long Form).
Shift+F5Update Timestamps.

Miscellaneous

ShortcutFunction
Ctrl+Shift+.Copy GUID to Clipboard.
Ctrl+Alt+EEscape C Special Chars.
Ctrl+Alt+RUnescape C Special Chars.
Ctrl+Alt+Num.keypad+Increase Number.
Ctrl+Alt+Num.keypad-Decrease Number.
Ctrl+BFind Matching Brace.
Ctrl+Shift+BSelect to Matching Brace.
Ctrl+Alt+F2Expand Selection to Next Match. (orig-NP2: F2)
Ctrl+Alt+Shift+F2Expand Selection to Previous Match. (orig-NP2: Shift+F2)
Ctrl+SpaceSelect Word or Lines.
Ctrl+Shift+SpaceMulti-Select All Matches.
Alt+Shift+ArrowsRectangular Selection.
Alt+Left MouseRectangular Selection.
Ctrl+Left MouseOn hovering color indicator → Open color selection.

Bookmarks

ShortcutFunction
Ctrl+F2Toggle.
F2Goto Next.
Shift+F2Goto Previous.
Alt+F2Clear All.

Search

ShortcutFunction
Ctrl+FFind…
Alt+F3Save Find Text.
F3Find Next.
Shift+F3Find Previous.
Ctrl+F3Find Next Selected.
Ctrl+Shift+F3Find Previous Selected.
Ctrl+HReplace…
F4Replace Next.
Ctrl+GGoto…
Ctrl+Shift+FSearch in Files.

View

ShortcutFunction
Ctrl+WWord Wrap.
Ctrl+Alt+LLong Line Marker.
Ctrl+Shift+GIndentation Guides.
Ctrl+Shift+7Show Wrap Symbols.
Ctrl+Shift+8Show Blanks.
Ctrl+Shift+9Show Line Endings.
Ctrl+Alt+WHyperlink Hotspots.
Ctrl+Shift+VVisual Brace Matching.
Ctrl+Shift+IHighlight Current Line.
Ctrl+Shift+NShow Line Numbers.
Ctrl+Shift+MBookmark Margin.

Mark Occurrences

ShortcutFunction
Alt+AActive.

Folding

ShortcutFunction
Ctrl+Alt+FToggle Folds.
Alt+ +Jump Next Fold.
Alt+ –Jump Prev Fold.
Alt+ ←Collapse Fold.
Alt+ →Expand Fold.

Display

ShortcutFunction
Ctrl+Alt+VFocused View.
Ctrl+PgUp/PgDnGoto Previous/Next.
Ctrl+Shift+PgUp/PgDnSelect to Previous/Next.
Alt+PageUpParagraph navigation Up.
Alt+PageDownParagraph navigation Down.

Zoom

ShortcutFunction
Ctrl+ +Zoom In.
Ctrl+ –Zoom Out.
Ctrl+0Reset Zoom.

Position

ShortcutFunction
Ctrl+Shift+KCopy Window Position to Clipboard.
Ctrl+Shift+PSnap to Window Default Position.
Ctrl+F11Snap to Initial Default Position.
F11Toggle To Full Area Window Position.

Appearance

ShortcutFunction
Ctrl+F12Customize Syntax Schemes…
F12Syntax Scheme…
Shift+F12Select 2nd Common Base.
Alt+F12Global Default Font…
Ctrl+Alt+F12Current Scheme’s Default Font…

Settings

ShortcutFunction
Ctrl+TTab Settings…
Ctrl+Shift+HAuto Close HTML/XML.
Ctrl+Alt+AAccelerated Word Navigation.
Alt+F5File Change Notification…

Windows

ShortcutFunction
Ctrl+Shift+LReuse Window.
Alt+TAlways On Top.
Ctrl+GTransparent Mode.

Window Title Display

ShortcutFunction
Ctrl+9Display Text Excerpt in Title.

Advanced Configuration

ShortcutFunction
F7Save Settings Now.
Ctrl+F7Open Settings File “Notepad3.ini”.

Help

ShortcutFunction
F1Online Documentation.
Shift+F1About…

🙂

Scroll to Top