This page is a complete keyboard shortcut reference for Jupyter Notebook on Windows, covering all 33 shortcuts organized into 2 sections. Whether you’re new to Jupyter Notebook or looking to master advanced features, this cheat sheet has every key combination you need — from basic editing and navigation to app-specific power-user actions.
Keyboard shortcuts are the fastest way to work in Jupyter Notebook. Every time you use a shortcut instead of reaching for the mouse, you save a few seconds — and those seconds compound into hours over weeks and months. Start with the shortcuts you use most (copy, paste, undo, save), then gradually add app-specific ones as they become relevant to your workflow. Bookmark this page or download the PDF cheat sheet for quick reference.
Using keyboard shortcuts in Jupyter Notebook reduces context switching between keyboard and mouse, helping you maintain focus and work more efficiently. Research shows that shortcut-driven workflows can save up to 8 working days per year compared to menu-driven navigation. On Windows, most Jupyter Notebook shortcuts follow standard conventions — once you learn the modifier key patterns, new shortcuts become intuitive.
Tips for Learning Shortcuts
- Practice one new Jupyter Notebook shortcut each day. Muscle memory builds faster when you focus on a single combination at a time rather than trying to learn them all at once.
- Print or bookmark this page for quick reference while working in Jupyter Notebook. Having shortcuts visible nearby helps bridge the gap between looking them up and recalling them from memory.
- Start with the shortcuts you use most. In Jupyter Notebook, common actions like copy, paste, undo, and save are worth learning first since they apply across nearly every workflow.
Command Mode22
| Action | Shortcut |
|---|---|
| Enter edit mode | Enter |
| Insert cell above | A |
| Insert cell below | B |
| Delete selected cell | D D |
| Undo cell deletion | Z |
| Change cell to Code | Y |
| Change cell to Markdown | M |
| Select cell above | ↑ |
| Select cell below | ↓ |
| Extend selection above | Shift↑ |
| Extend selection below | Shift↓ |
| Cut selected cells | X |
| Copy selected cells | C |
| Paste cells below | V |
| Paste cells above | ShiftV |
| Merge selected cells | ShiftM |
| Show shortcuts | H |
| Save notebook | S |
| Toggle line numbers | L |
| Toggle output | O |
| Interrupt kernel | I I |
| Restart kernel | 0 0 |
Edit Mode11
| Action | Shortcut |
|---|---|
| Enter command mode | Esc |
| Run cell | CtrlEnter |
| Run cell and select below | ShiftEnter |
| Run cell and insert below | AltEnter |
| Undo | CtrlZ |
| Redo | ShiftCtrlZ |
| Code completion / indent | Tab |
| Tooltip / dedent | ShiftTab |
| Select all | CtrlA |
| Delete line | CtrlD |
| Toggle comment | Ctrl/ |
Frequently Asked Questions
Access Jupyter Notebook shortcuts from your menu bar
KeyShortcut detects the active app and shows its shortcuts instantly. No memorization needed.