Jupyter Notebook

Jupyter Notebook Keyboard Shortcuts

Complete Jupyter Notebook keyboard shortcuts. Cell execution, mode switching, and kernel management shortcuts.

15
Shortcuts
3
Categories
Free
100% Free

Cell Execution 3

Shift+Enter
Run & Select Next
Run cell and select next
Ctrl+Enter
Run Cell
Run current cell
Alt+Enter
Run & Insert
Run cell and insert new cell below

Cell Management 8

A
Insert Above
Insert new cell above current
B
Insert Below
Insert new cell below current
DD
Delete Cell
Delete current cell
M
Markdown Cell
Convert to markdown cell
Y
Code Cell
Convert to code cell
C
Copy Cell
Copy current cell
X
Cut Cell
Cut current cell
V
Paste Cell
Paste copied cell

Editing 4

Enter
Edit Mode
Enter edit mode for cell
Esc
Command Mode
Enter command mode
Ctrl+/
Toggle Comment
Comment/uncomment selected lines
Tab
Autocomplete
Show code autocomplete
📄 View Printable Cheat Sheet — Download as PDF or print

→ Related guide: Keyboard shortcuts every data scientist should know

No shortcuts found

Frequently Asked Questions

What Cell Management shortcuts does Jupyter Notebook have?

Jupyter Notebook includes 8 Cell Management shortcuts, including A (Insert Above) and B (Insert Below). See the full list in the Cell Management section above.

What Editing shortcuts does Jupyter Notebook have?

Jupyter Notebook includes 4 Editing shortcuts, including Enter (Edit Mode) and Esc (Command Mode). See the full list in the Editing section above.

Can I combine Jupyter Notebook shortcuts with other tools?

Yes — use My Stack to combine Jupyter Notebook shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.

Do Jupyter Notebook shortcuts differ between Windows and Mac?

Most do not — the underlying key is the same, but Jupyter Notebook (like most software) maps Ctrl on Windows/Linux to Cmd on Mac for standard operations. Where a shortcut is platform-specific, this page notes the Mac variant next to the Windows one.

Copied!
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.

🤖 Ask AI about Jupyter Notebook shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok