Skip to the main content

JupyterLab keyboard shortcuts

Notebook cells, command mode, running code, and the workspace in JupyterLab.

57 shortcuts Mac and Windows checked September 14, 2026

Print all 57 shortcuts One sheet with every shortcut in this app, ready for the printer or a PDF.

37 actions and 72 key variants match.

Search all apps

Matching shortcuts
Action Keys Row actions
Show or hide line numbers Notebook, command mode Mac ShiftL 1 more variant Source
Select every cell Notebook, command mode Mac CmdA 1 more variant Source
Split the cell at the cursor Notebook, edit mode Mac CtrlShift- 1 more variant Source
Render Markdown side by side Notebook, command mode Mac ShiftR 1 more variant Source
Move the cell up Notebook, command mode Mac CtrlShiftUp arrow 1 more variant Source
Move the cell down Notebook, command mode Mac CtrlShiftDown arrow 1 more variant Source
Recall the previous history entry Notebook, edit mode Windows AltUp arrow Source

About JupyterLab and its shortcuts

JupyterLab has two keyboard worlds, and most confusion about it comes from not knowing which one you are in. In command mode the keys act on cells: adding, deleting, moving, changing type. In edit mode they act on the text inside a cell. Running a cell is the bridge between them, and almost everything else follows from that split.

JupyterLab runs in a browser, so the browser takes some combinations first, and the classic Notebook interface does not share every binding. Extensions can add and rebind commands.

Where the JupyterLab keys came from

Read from 1 documentation page published by the makers of JupyterLab. Report a key that is wrong

To see how one action is done in other apps as well as JupyterLab, browse the shortcuts by task. Shortcuts by task