Skip to main content

Jupyter Notebook shortcuts

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 CtrlEnter, Run cell and select below ShiftEnter and Run cell and insert below AltEnter use the same key, each with a different modifier.
  • Paste cells above ShiftV 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

ActionShortcut
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

ActionShortcut
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.

Frequently Asked Questions

How many keyboard shortcuts does Jupyter Notebook have on Windows?

Jupyter Notebook has 33 keyboard shortcuts on Windows, 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), Enter command mode (Esc), Run cell (Ctrl+Enter), Run cell and select below (Shift+Enter), 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 Windows keyboards?

Yes. These shortcuts work on standard Windows keyboards. The modifier keys are Ctrl, Alt, Shift, and the Windows key (⊞). Some laptop keyboards may have compact layouts where certain keys require an Fn modifier to access.

Maintained by