JupyterLab keyboard shortcuts cheat sheet
Project Jupyter · 73 shortcuts73 JupyterLab shortcuts grouped by task, with Windows and Mac keys side by side. Click any row for the full answer page.
Essentials
| Action | Windows | Mac |
|---|---|---|
| Run selected cell and advance | Shift+EnterShift↵ | Shift+Enter⇧↵ |
| Run selected cell and stay | Ctrl+EnterCtrl↵ | Cmd+Enter⌘↵ |
| Run selected cell and insert below | Alt+EnterAlt↵ | — |
| Save | Ctrl+SCtrlS | Cmd+S⌘S |
| Open command palette | Ctrl+Shift+CCtrlShiftC | Cmd+Shift+C⌘⇧C |
| Undo | Ctrl+ZCtrlZ | Cmd+Z⌘Z |
| Redo | Ctrl+Shift+ZCtrlShiftZ | Cmd+Shift+Z⌘⇧Z |
| Find | Ctrl+FCtrlF | Cmd+F⌘F |
| Find and replace | Ctrl+HCtrlH | Cmd+H⌘H |
| Enter command mode | EscEsc | EscEsc |
| Enter edit mode | Enter↵ | Enter↵ |
| Toggle comment | Ctrl+/Ctrl/ | Cmd+/⌘/ |
| Select all cells | Ctrl+ACtrlA | Cmd+A⌘A |
Notebook command mode
| Action | Windows | Mac |
|---|---|---|
| Insert cell above | AA | AA |
| Insert cell below | BB | BB |
| Delete cell | D then DDthenD | D then DDthenD |
| Copy cell | CC | CC |
| Cut cell | XX | XX |
| Paste cell below | VV | VV |
| Undo cell operation | ZZ | ZZ |
| Redo cell operation | Shift+ZShiftZ | Shift+Z⇧Z |
| Change to code cell | YY | YY |
| Change to Markdown cell | MM | MM |
| Change to raw cell | RR | RR |
| Change to heading 1 | 11 | 11 |
| Change to heading 2 | 22 | 22 |
| Change to heading 3 | 33 | 33 |
| Change to heading 4 | 44 | 44 |
| Change to heading 5 | 55 | 55 |
| Change to heading 6 | 66 | 66 |
| Select cell above | Up↑ | Up↑ |
| Select cell below | Down↓ | Down↓ |
| Extend selection above | Shift+UpShift↑ | Shift+Up⇧↑ |
| Extend selection below | Shift+DownShift↓ | Shift+Down⇧↓ |
| Extend selection to top | Shift+HomeShiftHome | Shift+Home⇧Home |
| Extend selection to bottom | Shift+EndShiftEnd | Shift+End⇧End |
| Merge selected cells | Shift+MShiftM | Shift+M⇧M |
| Interrupt kernel | I then IIthenI | I then IIthenI |
| Restart kernel | 0 then 00then0 | 0 then 00then0 |
| Show line numbers | Shift+LShiftL | Shift+L⇧L |
| Render side by side | Shift+RShiftR | Shift+R⇧R |
Cell editing
| Action | Windows | Mac |
|---|---|---|
| Split cell | Ctrl+Shift+-CtrlShift- | Cmd+Shift+-⌘⇧- |
| Move cell up | Ctrl+Shift+UpCtrlShift↑ | Cmd+Shift+Up⌘⇧↑ |
| Move cell down | Ctrl+Shift+DownCtrlShift↓ | Cmd+Shift+Down⌘⇧↓ |
| Merge cell above | Ctrl+BackspaceCtrl⌫ | Cmd+Backspace⌘⌫ |
| Merge cell below | Ctrl+Shift+MCtrlShiftM | Cmd+Shift+M⌘⇧M |
| Collapse all headings | Ctrl+Shift+LeftCtrlShift← | Cmd+Shift+Left⌘⇧← |
| Expand all headings | Ctrl+Shift+RightCtrlShift→ | Cmd+Shift+Right⌘⇧→ |
| Delete current line | Ctrl+DCtrlD | Cmd+D⌘D |
| Toggle bold in Markdown | Ctrl+BCtrlB | Cmd+B⌘B |
| Show contextual help | Ctrl+ICtrlI | Cmd+I⌘I |
| Show completion helper | Tab⇥ | Tab⇥ |
| Open tooltip | Shift+TabShift⇥ | Shift+Tab⇧⇥ |
Interface and files
| Action | Windows | Mac |
|---|---|---|
| Toggle left sidebar | Ctrl+BCtrlB | Cmd+B⌘B |
| Toggle right sidebar | Ctrl+JCtrlJ | Cmd+J⌘J |
| Toggle simple interface | Ctrl+Shift+DCtrlShiftD | Cmd+Shift+D⌘⇧D |
| Toggle fullscreen mode | F11F11 | F11F11 |
| Activate next tab | Ctrl+Shift+]CtrlShift] | Cmd+Shift+]⌘⇧] |
| Activate previous tab | Ctrl+Shift+[CtrlShift[ | Cmd+Shift+[⌘⇧[ |
| Reopen closed document | Ctrl+Shift+TCtrlShiftT | Cmd+Shift+T⌘⇧T |
| Save as | Ctrl+Shift+SCtrlShiftS | Cmd+Shift+S⌘⇧S |
| Open settings editor | Ctrl+,Ctrl, | Cmd+,⌘, |
| Show keyboard shortcuts | Ctrl+Shift+HCtrlShiftH | Cmd+Shift+H⌘⇧H |
| Open file browser | Ctrl+Shift+FCtrlShiftF | Cmd+Shift+F⌘⇧F |
| Open new launcher | Ctrl+Shift+LCtrlShiftL | Cmd+Shift+L⌘⇧L |
| Ctrl+PCtrlP | Cmd+P⌘P | |
| Rename file | F2F2 | F2F2 |
Debugger
| Action | Windows | Mac |
|---|---|---|
| Continue debugger | F9F9 | F9F9 |
| Next debugger step | F10F10 | F10F10 |
| Step in | F11F11 | F11F11 |
| Step out | Shift+F11ShiftF11 | Shift+F11⇧F11 |
| Terminate debugger | Shift+F9ShiftF9 | Shift+F9⇧F9 |
| Open debugger panel | Ctrl+Shift+ECtrlShiftE | Cmd+Shift+E⌘⇧E |
More developer tools shortcuts
Ask your agent
Prompt
Make me a one-page JupyterLab cheat sheet from the 73 shortcuts at https://keyflowhub.com/shortcuts/jupyterlab, ordered by what I'm most likely to use, and point out any that clash with my current keybindings.
Paste into Claude Code and it will do the rest.
Questions
Windows: Ctrl + Z. Mac: Cmd + Z.
Windows: Ctrl + Shift + Z. Mac: Cmd + Shift + Z.
Windows: Ctrl + S. Mac: Cmd + S.
Windows: Ctrl + F. Mac: Cmd + F.
Sources: jupyterlab.readthedocs.io