Jupyter Notebook shortcuts
- 33 shortcuts
- 2 sections
- Development
- Also on: Windows
- Verified against official docs
Your answer helps keep this page right.
Do these shortcuts work for you?
Most Command Mode shortcuts in the Jupyter Notebook list are a single key, and none needs more than Shift. Among the single letters are Insert cell above, Insert cell below, Change cell to Code, Change cell to Markdown and Copy selected cells. The shortcut named Enter edit mode is listed in Command Mode, and the one named Enter command mode is listed in Edit Mode. Edit Mode also has three shortcuts that run a cell.
Start with these
- Enter edit mode
- Enter command mode
- Run cell
- Run cell and select below
- Insert cell below
- Save notebook
Tips for Jupyter Notebook
- Run cell ⌃↩, Run cell and select below ⇧↩ and Run cell and insert below ⌥↩ use the same key, each with a different modifier.
- Paste cells above ⇧V is Paste cells below V with Shift added.
- Delete selected cell D D, Interrupt kernel I I and Restart kernel 0 0 show one key twice.
Jump to section
Command Mode22
| Action | Shortcut |
|---|---|
| Enter edit mode | |
| Insert cell above | |
| Insert cell below | |
| Delete selected cell | |
| Undo cell deletion | |
| Change cell to Code | |
| Change cell to Markdown | |
| Select cell above | |
| Select cell below | |
| Extend selection above | |
| Extend selection below | |
| Cut selected cells | |
| Copy selected cells | |
| Paste cells below | |
| Paste cells above | |
| Merge selected cells | |
| Show shortcuts | |
| Save notebook | |
| Toggle line numbers | |
| Toggle output | |
| Interrupt kernel | |
| Restart kernel |
Edit Mode11
| Action | Shortcut |
|---|---|
| Enter command mode | |
| Run cell | |
| Run cell and select below | |
| Run cell and insert below | |
| Undo | |
| Redo | |
| Code completion / indent | |
| Tooltip / dedent | |
| Select all | |
| Delete line | |
| Toggle comment |
Report a problem
GitHub is public. Email is private.
Related resources
More Development shortcuts
Explore more macOS apps
Frequently Asked Questions
How many keyboard shortcuts does Jupyter Notebook have on macOS?
Jupyter Notebook has 33 keyboard shortcuts on macOS, organized into 2 sections: Command Mode, Edit Mode. This page lists all of them with searchable, organized shortcut tables.
Which Jupyter Notebook shortcuts should I learn first?
Start with Enter edit mode (↩), Enter command mode (Esc), Run cell (⌃↩), Run cell and select below (⇧↩), Insert cell below (B), Save notebook (S). The sections on this page list the rest.
Can I download Jupyter Notebook shortcuts as a PDF?
Yes. Click the download button at the top of this page to generate a printable PDF cheat sheet with all 33 Jupyter Notebook shortcuts. The PDF includes organized sections, keycap-style key labels, and space for your own notes.
Where is the official Jupyter Notebook keyboard shortcuts documentation?
The official Jupyter Notebook keyboard shortcuts documentation is available on their website. Every shortcut on this page is sourced from and verified against the official documentation to ensure accuracy.
Do these Jupyter Notebook shortcuts work on all Mac keyboards?
Yes. These shortcuts work on all Mac keyboards, including MacBook built-in keyboards and external Apple keyboards. The modifier keys are Command (⌘), Option (⌥), Control (⌃), and Shift (⇧). On keyboards without a Function row, some F-key shortcuts may require holding the Fn key.
Maintained by Vladik Didyk
Access Jupyter Notebook shortcuts from your menu bar
KeyShortcut detects the active app and shows its shortcuts instantly. Switch it on in Settings. No memorization needed.
